{"action":"created","issue":{"url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/58","repository_url":"https://api.github.com/repos/pygraphviz/pygraphviz","labels_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/58/comments","events_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/58/events","html_url":"https://github.com/pygraphviz/pygraphviz/issues/58","id":90585975,"number":58,"title":"graphviz_wrap.obj : error LNK2019: unresolved external symbols on Windows","user":{"login":"gjwo","id":12109990,"avatar_url":"https://avatars3.githubusercontent.com/u/12109990?v=3","gravatar_id":"","url":"https://api.github.com/users/gjwo","html_url":"https://github.com/gjwo","followers_url":"https://api.github.com/users/gjwo/followers","following_url":"https://api.github.com/users/gjwo/following{/other_user}","gists_url":"https://api.github.com/users/gjwo/gists{/gist_id}","starred_url":"https://api.github.com/users/gjwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjwo/subscriptions","organizations_url":"https://api.github.com/users/gjwo/orgs","repos_url":"https://api.github.com/users/gjwo/repos","events_url":"https://api.github.com/users/gjwo/events{/privacy}","received_events_url":"https://api.github.com/users/gjwo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2015-06-24T06:50:41Z","updated_at":"2017-06-10T14:43:03Z","closed_at":"2016-11-05T18:09:44Z","body":"The build under Windows is now finding graphviz2.38 for header files and lib files  following the addition of lines in setup.py\n\n```\n# Windows\n# Unknown - use command line -I and -L switches to set\nlibrary_dirs='C:/Program Files (x86)/Graphviz2.38/lib/release/lib'\ninclude_dirs='C:/Program Files (x86)/Graphviz2.38/include'\n```\n\nbut still has some unresolved symbols during the link step, see below \n\n```\n$ python setup.py install\nlibrary_dirs=C:/Program Files (x86)/Graphviz2.38/lib/release/lib\ninclude_dirs=C:/Program Files (x86)/Graphviz2.38/include\nrunning install\nrunning bdist_egg\nrunning egg_info\nwriting pygraphviz.egg-info\\PKG-INFO\nwriting top-level names to pygraphviz.egg-info\\top_level.txt\nwriting dependency_links to pygraphviz.egg-info\\dependency_links.txt\nreading manifest file 'pygraphviz.egg-info\\SOURCES.txt'\nreading manifest template 'MANIFEST.in'\nwarning: no previously-included files matching '*~' found anywhere in distribution\nwarning: no previously-included files matching '*.pyc' found anywhere in distribution\nwarning: no previously-included files matching '.svn' found anywhere in distribution\nno previously-included directories found matching 'doc\\build'\nwriting manifest file 'pygraphviz.egg-info\\SOURCES.txt'\ninstalling library code to build\\bdist.win-amd64\\egg\nrunning install_lib\nrunning build_py\nrunning build_ext\nbuilding 'pygraphviz._graphviz' extension\nC:\\Users\\GJWood\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe /c /nologo /Ox /MD\n /W3 /GS- /DNDEBUG -DGVDLL \"-IC:/Program Files (x86)/Graphviz2.38/include\" -Ic:\\Users\\GJWood\\Anaconda\\include -Ic:\\Users\n\\GJWood\\Anaconda\\PC /Tcpygraphviz/graphviz_wrap.c /Fobuild\\temp.win-amd64-2.7\\Release\\pygraphviz/graphviz_wrap.obj\ngraphviz_wrap.c\npygraphviz/graphviz_wrap.c(3295) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data\npygraphviz/graphviz_wrap.c(3313) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data\npygraphviz/graphviz_wrap.c(3321) : warning C4047: 'return' : 'int' differs in levels of indirection from 'Agsym_t *'\npygraphviz/graphviz_wrap.c(3407) : warning C4101: 'mode_byte_obj1' : unreferenced local variable\npygraphviz/graphviz_wrap.c(3406) : warning C4101: 'mode_obj1' : unreferenced local variable\npygraphviz/graphviz_wrap.c(3408) : warning C4101: 'mode1' : unreferenced local variable\npygraphviz/graphviz_wrap.c(3405) : warning C4101: 'fd1' : unreferenced local variable\npygraphviz/graphviz_wrap.c(3466) : warning C4101: 'mode2' : unreferenced local variable\npygraphviz/graphviz_wrap.c(3464) : warning C4101: 'mode_obj2' : unreferenced local variable\npygraphviz/graphviz_wrap.c(3463) : warning C4101: 'fd2' : unreferenced local variable\npygraphviz/graphviz_wrap.c(3465) : warning C4101: 'mode_byte_obj2' : unreferenced local variable\nC:\\Users\\GJWood\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\link.exe /DLL /nologo /IN\nCREMENTAL:NO \"/LIBPATH:C:/Program Files (x86)/Graphviz2.38/lib/release/lib\" /LIBPATH:c:\\Users\\GJWood\\Anaconda\\libs /LIBP\nATH:c:\\Users\\GJWood\\Anaconda\\PCbuild\\amd64 cgraph.lib cdt.lib /EXPORT:init_graphviz build\\temp.win-amd64-2.7\\Release\\pyg\nraphviz/graphviz_wrap.obj /OUT:build\\lib.win-amd64-2.7\\pygraphviz\\_graphviz.pyd /IMPLIB:build\\temp.win-amd64-2.7\\Release\n\\pygraphviz\\_graphviz.lib /MANIFESTFILE:build\\temp.win-amd64-2.7\\Release\\pygraphviz\\_graphviz.pyd.manifest\ngraphviz_wrap.obj : warning LNK4197: export 'init_graphviz' specified multiple times; using first specification\n   Creating library build\\temp.win-amd64-2.7\\Release\\pygraphviz\\_graphviz.lib and object build\\temp.win-amd64-2.7\\Releas\ne\\pygraphviz\\_graphviz.exp\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agsafeset referenced in function agsafeset_label\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agstrdup_html referenced in function agsafeset_label\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agattr referenced in function agattr_label\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agopen referenced in function _wrap_agopen\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agclose referenced in function _wrap_agclose\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agread referenced in function _wrap_agread\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agwrite referenced in function _wrap_agwrite\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agisundirected referenced in function _wrap_agisundirected\n\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agisdirected referenced in function _wrap_agisdirected\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agisstrict referenced in function _wrap_agisstrict\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnode referenced in function _wrap_agnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agidnode referenced in function _wrap_agidnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agsubnode referenced in function _wrap_agsubnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agfstnode referenced in function _wrap_agfstnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnxtnode referenced in function _wrap_agnxtnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol aglstnode referenced in function _wrap_aglstnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agprvnode referenced in function _wrap_agprvnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agedge referenced in function _wrap_agedge\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agidedge referenced in function _wrap_agidedge\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agsubedge referenced in function _wrap_agsubedge\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agfstin referenced in function _wrap_agfstin\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnxtin referenced in function _wrap_agnxtin\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agfstout referenced in function _wrap_agfstout\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnxtout referenced in function _wrap_agnxtout\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agfstedge referenced in function _wrap_agfstedge\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnxtedge referenced in function _wrap_agnxtedge\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agattrsym referenced in function _wrap_agattrsym\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnxtattr referenced in function _wrap_agnxtattr\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agget referenced in function _wrap_agget\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agxget referenced in function _wrap_agxget\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agset referenced in function _wrap_agset\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agxset referenced in function _wrap_agxset\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agsubg referenced in function _wrap_agsubg\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agfstsubg referenced in function _wrap_agfstsubg\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnxtsubg referenced in function _wrap_agnxtsubg\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agparent referenced in function _wrap_agparent\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agroot referenced in function _wrap_agroot\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agdelsubg referenced in function _wrap_agdelsubg\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnnodes referenced in function _wrap_agnnodes\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnedges referenced in function _wrap_agnedges\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agdegree referenced in function _wrap_agdegree\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agraphof referenced in function _wrap_agraphof\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agnameof referenced in function _wrap_agnameof\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agdelnode referenced in function _wrap_agdelnode\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol agdeledge referenced in function _wrap_agdeledge\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol Agdirected referenced in function Swig_var_Agdirected_get\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol Agstrictdirected referenced in function Swig_var_Agstrictd\nirected_get\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol Agundirected referenced in function Swig_var_Agundirected_\nget\ngraphviz_wrap.obj : error LNK2019: unresolved external symbol Agstrictundirected referenced in function Swig_var_Agstric\ntundirected_get\nbuild\\lib.win-amd64-2.7\\pygraphviz\\_graphviz.pyd : fatal error LNK1120: 49 unresolved externals\nerror: command 'C:\\\\Users\\\\GJWood\\\\AppData\\\\Local\\\\Programs\\\\Common\\\\Microsoft\\\\Visual C++ for Python\\\\9.0\\\\VC\\\\Bin\\\\amd\n64\\\\link.exe' failed with exit status 1120\n```\n"},"comment":{"url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/comments/307569258","html_url":"https://github.com/pygraphviz/pygraphviz/issues/58#issuecomment-307569258","issue_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/58","id":307569258,"user":{"login":"fleimgruber","id":7400038,"avatar_url":"https://avatars2.githubusercontent.com/u/7400038?v=3","gravatar_id":"","url":"https://api.github.com/users/fleimgruber","html_url":"https://github.com/fleimgruber","followers_url":"https://api.github.com/users/fleimgruber/followers","following_url":"https://api.github.com/users/fleimgruber/following{/other_user}","gists_url":"https://api.github.com/users/fleimgruber/gists{/gist_id}","starred_url":"https://api.github.com/users/fleimgruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleimgruber/subscriptions","organizations_url":"https://api.github.com/users/fleimgruber/orgs","repos_url":"https://api.github.com/users/fleimgruber/repos","events_url":"https://api.github.com/users/fleimgruber/events{/privacy}","received_events_url":"https://api.github.com/users/fleimgruber/received_events","type":"User","site_admin":false},"created_at":"2017-06-10T14:43:03Z","updated_at":"2017-06-10T14:43:03Z","body":"See the patch mentioned [here](https://github.com/pygraphviz/pygraphviz/issues/74#issuecomment-238323405).  It works over here."}}
{"actor":{"display_login":"fleimgruber"}}