Borda / pyGCO

A python wrapper for gco-v3.0 package, used for graph cuts based MRF optimization.
http://vision.csd.uwo.ca/code
61 stars 18 forks source link

CI (appveyor) fails, update configs #1

Closed Borda closed 3 years ago

Borda commented 7 years ago

Some difficulty with building the code on travis and appveyor, correct configuration needed

Borda commented 7 years ago

Travis solved by see 7af7838

Borda commented 7 years ago
C:\Users\appveyor\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:gco_source /LIBPATH:C:\Python27\libs /LIBPATH:C:\Python27\PCbuild /LIBPATH:C:\Python27\PC\VS9.0 /EXPORT:initlibcgco build\temp.win32-2.7\Release\gco_source\LinkedBlockList.obj build\temp.win32-2.7\Release\gco_source\graph.obj build\temp.win32-2.7\Release\gco_source\maxflow.obj build\temp.win32-2.7\Release\gco_source\GCoptimization.obj build\temp.win32-2.7\Release\cgco.obj /OUT:C:\projects\pygco\libcgco.pyd /IMPLIB:build\temp.win32-2.7\Release\gco_source\libcgco.lib /MANIFESTFILE:build\temp.win32-2.7\Release\gco_source\libcgco.pyd.manifest
LINK : error LNK2001: unresolved external symbol initlibcgco
build\temp.win32-2.7\Release\gco_source\libcgco.lib : fatal error LNK1120: 1 unresolved externals
error: command 'C:\\Users\\appveyor\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\link.exe' failed with exit status 1120
Borda commented 6 years ago

see fix for Windoes

Borda commented 6 years ago

see https://stackoverflow.com/questions/34689210/error-exporting-symbol-when-building-python-c-extension-in-windows