right now I tried to build the msvs pack directly from source (error as above) and then compile via the msvc download. The last resulted right now in:
--
# In igraph-0.6.5-msvc
call "%VS90COMNTOOLS%"\\vsvars32.bat
vcbuild igraph.vcproj "release|win32"
# This succeeds. yay!
--
And the compile the python source:
--
# edit the path in setup.py
python setup.py bdist_wininst
--
This fails with
--
[...]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I..\igraph-0.6.5-msvc\include -I../../build/include:../../include:/usr/local/include/igraph:/usr/include/igraph -IC:\portabel\Python27\include -IC:\portabel\Python27\PC /Tcsrc\vertexseqobject.c /Fobuild\temp.win-amd64-2.7\Release\src\vertexseqobject.obj
vertexseqobject.c
src\vertexseqobject.c(252) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data
src\vertexseqobject.c(354) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data
src\vertexseqobject.c(572) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data
src\vertexseqobject.c(594) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\data\external\igraph-msvc\igraph-0.6.5-msvc\Release /LIBPATH:../../build/src/.libs:../../src/.libs:/usr/local/lib:/usr/lib /LIBPATH:C:\portabel\Python27\libs /LIBPATH:C:\portabel\Python27\PCbuild\amd64 igraph.lib /EXPORT:init_igraph build\temp.win-amd64-2.7\Release\src\arpackobject.obj build\temp.win-amd64-2.7\Release\src\attributes.obj build\temp.win-amd64-2.7\Release\src\bfsiter.obj build\temp.win-amd64-2.7\Release\src\common.obj build\temp.win-amd64-2.7\Release\src\convert.obj build\temp.win-amd64-2.7\Release\src\edgeobject.obj build\temp.win-amd64-2.7\Release\src\edgeseqobject.obj build\temp.win-amd64-2.7\Release\src\error.obj build\temp.win-amd64-2.7\Release\src\filehandle.obj build\temp.win-amd64-2.7\Release\src\graphobject.obj build\temp.win-amd64-2.7\Release\src\igraphmodule.obj build\temp.win-amd64-2.7\Release\src\indexing.obj build\temp.win-amd64-2.7\Release\src\py2compat.obj build\temp.win-amd64-2.7\Release\src\pyhelpers.obj build\temp.win-amd64-2.7\Release\src\random.obj build\temp.win-amd64-2.7\Release\src\vertexobject.obj build\temp.win-amd64-2.7\Release\src\vertexseqobject.obj /OUT:build\lib.win-amd64-2.7\igraph\_igraph.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\src\_igraph.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\src\_igraph.pyd.manifest /MANIFEST
igraphmodule.obj : warning LNK4197: export 'init_igraph' specified multiple times; using first specification
Creating library build\temp.win-amd64-2.7\Release\src\_igraph.lib and object build\temp.win-amd64-2.7\Release\src\_igraph.exp
arpackobject.obj : error LNK2019: unresolved external symbol igraph_arpack_options_init referenced in function igraphmodule_ARPACKOptions_new
graphobject.obj : error LNK2001: unresolved external symbol igraph_ecount
indexing.obj : error LNK2001: unresolved external symbol igraph_ecount
attributes.obj : error LNK2019: unresolved external symbol igraph_ecount referenced in function igraphmodule_create_edge_attribute
convert.obj : error LNK2001: unresolved external symbol igraph_ecount
edgeobject.obj : error LNK2001: unresolved external symbol igraph_ecount
[...]
--
Hacking on igrahh on windows in python seems to be a challenge :-)
What I want is to hack on igraph to include things like https:/ /bugs.launchpad .net/bugs/ 1090728 and plots shown inline in ipython. :-)
right now I tried to build the msvs pack directly from source (error as above) and then compile via the msvc download. The last resulted right now in:
-- %"\\vsvars32. bat BIN\amd64\ cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I..\igraph- 0.6.5-msvc\ include -I../.. /build/ include: ../../include: /usr/local/ include/ igraph: /usr/include/ igraph -IC:\portabel\ Python27\ include -IC:\portabel\ Python27\ PC /Tcsrc\ vertexseqobject .c /Fobuild\ temp.win- amd64-2. 7\Release\ src\vertexseqob ject.obj ject.c( 252) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data ject.c( 354) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data ject.c( 572) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data ject.c( 594) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data BIN\amd64\ link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH: C:\data\ external\ igraph- msvc\igraph- 0.6.5-msvc\ Release /LIBPATH: ../../build/ src/.libs: ../../src/ .libs:/ usr/local/ lib:/usr/ lib /LIBPATH: C:\portabel\ Python27\ libs /LIBPATH: C:\portabel\ Python27\ PCbuild\ amd64 igraph.lib /EXPORT:init_igraph build\temp. win-amd64- 2.7\Release\ src\arpackobjec t.obj build\temp. win-amd64- 2.7\Release\ src\attributes. obj build\temp. win-amd64- 2.7\Release\ src\bfsiter. obj build\temp. win-amd64- 2.7\Release\ src\common. obj build\temp. win-amd64- 2.7\Release\ src\convert. obj build\temp. win-amd64- 2.7\Release\ src\edgeobject. obj build\temp. win-amd64- 2.7\Release\ src\edgeseqobje ct.obj build\temp. win-amd64- 2.7\Release\ src\error. obj build\temp. win-amd64- 2.7\Release\ src\filehandle. obj build\temp. win-amd64- 2.7\Release\ src\graphobject .obj build\temp. win-amd64- 2.7\Release\ src\igraphmodul e.obj build\temp. win-amd64- 2.7\Release\ src\indexing. obj build\temp. win-amd64- 2.7\Release\ src\py2compat. obj build\temp. win-amd64- 2.7\Release\ src\pyhelpers. obj build\temp. win-amd64- 2.7\Release\ src\random. obj build\temp. win-amd64- 2.7\Release\ src\vertexobjec t.obj build\temp. win-amd64- 2.7\Release\ src\vertexseqob ject.obj /OUT:build\ lib.win- amd64-2. 7\igraph\ _igraph. pyd /IMPLIB: build\temp. win-amd64- 2.7\Release\ src\_igraph. lib /MANIFESTFILE: build\temp. win-amd64- 2.7\Release\ src\_igraph. pyd.manifest /MANIFEST win-amd64- 2.7\Release\ src\_igraph. lib and object build\temp. win-amd64- 2.7\Release\ src\_igraph. exp arpack_ options_ init referenced in function igraphmodule_ ARPACKOptions_ new create_ edge_attribute
# In igraph-0.6.5-msvc
call "%VS90COMNTOOLS
vcbuild igraph.vcproj "release|win32"
# This succeeds. yay!
--
And the compile the python source:
--
# edit the path in setup.py
python setup.py bdist_wininst
--
This fails with
--
[...]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
vertexseqobject.c
src\vertexseqob
src\vertexseqob
src\vertexseqob
src\vertexseqob
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
igraphmodule.obj : warning LNK4197: export 'init_igraph' specified multiple times; using first specification
Creating library build\temp.
arpackobject.obj : error LNK2019: unresolved external symbol igraph_
graphobject.obj : error LNK2001: unresolved external symbol igraph_ecount
indexing.obj : error LNK2001: unresolved external symbol igraph_ecount
attributes.obj : error LNK2019: unresolved external symbol igraph_ecount referenced in function igraphmodule_
convert.obj : error LNK2001: unresolved external symbol igraph_ecount
edgeobject.obj : error LNK2001: unresolved external symbol igraph_ecount
[...]
--
Hacking on igrahh on windows in python seems to be a challenge :-)
Re LP to GH: https:/ /github. com/termie/ lp2gh/blob/ master/ docs/moving_ issues. rst ?