-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi,
I have a problem with the setup.
I am on a 64 bits Windows 7 machine with python 2.7-32 bits and the 2.6 version of the flycapture SDK.
I have the FlyCapture2_v90.dll, FlyCapture2_C_v90.dll, libiomp5md.dll in my folder.
I already solved the "vcvarasall.bat" issue but now I get this:
"""
C:\Users\lac\Desktop\pyfly2-master>python setup.py build_ext --inplace
running build_ext
cythoning pyfly2.pyx to pyfly2.c
building 'pyfly2' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
C:\Users\lac\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\V
C\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I. "-IC:/Program Files/Point
Grey Research/FlyCapture2\include" -IC:\Anaconda\include -IC:\Anaconda\PC /Tcpyf
ly2.c /Fobuild\temp.win32-2.7\Release\pyfly2.obj
pyfly2.c
C:\Users\lac\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\V
C\Bin\link.exe /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:/Program Files/Point Gre
y Research/FlyCapture2\lib64/C" /LIBPATH:C:\Anaconda\libs /LIBPATH:C:\Anaconda\P
Cbuild /LIBPATH:C:\Anaconda\PC\VS9.0 FlyCapture2_Cd_v90.lib /EXPORT:initpyfly2 b
uild\temp.win32-2.7\Release\pyfly2.obj /OUT:C:\Users\lac\Desktop\pyfly2-master\p
yfly2.pyd /IMPLIB:build\temp.win32-2.7\Release\pyfly2.lib /MANIFESTFILE:build\te
mp.win32-2.7\Release\pyfly2.pyd.manifest
Creating library build\temp.win32-2.7\Release\pyfly2.lib and object build\tem
p.win32-2.7\Release\pyfly2.exp
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetLibraryVersion ref
erenced in function ___pyx_pf_6pyfly2_library_version
pyfly2.obj : error LNK2019: unresolved external symbol _fc2Connect referenced in
function ___pyx_pf_6pyfly2_6Camera_6Connect
pyfly2.obj : error LNK2019: unresolved external symbol _fc2StartCapture referenc
ed in function ___pyx_pf_6pyfly2_6Camera_8StartCapture
pyfly2.obj : error LNK2019: unresolved external symbol _fc2StopCapture reference
d in function ___pyx_pf_6pyfly2_6Camera_10StopCapture
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetProperty reference
d in function ___pyx_pf_6pyfly2_6Camera_12GetProperty
pyfly2.obj : error LNK2019: unresolved external symbol _fc2RetrieveBuffer refere
nced in function ___pyx_pf_6pyfly2_6Camera_18GetSize
pyfly2.obj : error LNK2019: unresolved external symbol _fc2ConvertImageTo refere
nced in function ___pyx_pf_6pyfly2_6Camera_22GrabWxImage
pyfly2.obj : error LNK2019: unresolved external symbol _fc2SaveImage referenced
in function ___pyx_pf_6pyfly2_6Camera_28DemoGrabImages
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetImageTimeStamp ref
erenced in function ___pyx_pf_6pyfly2_6Camera_28DemoGrabImages
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetEmbeddedImageInfo
referenced in function _pyx_pf_6pyfly2_6Camera_12timestamping___get
pyfly2.obj : error LNK2019: unresolved external symbol _fc2SetEmbeddedImageInfo
referenced in function _pyx_pf_6pyfly2_6Camera_12timestamping_2__set
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetCameraInfo referen
ced in function _pyx_pf_6pyfly2_6Camera_4info___get
pyfly2.obj : error LNK2019: unresolved external symbol _fc2DestroyContext refere
nced in function _pyx_pf_6pyfly2_7Context___dealloc
pyfly2.obj : error LNK2019: unresolved external symbol _fc2CreateContext referen
ced in function _pyx_pf_6pyfly2_7Context_4__init
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetNumOfCameras refer
enced in function _pyx_pf_6pyfly2_7Context_11num_cameras___get
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetCameraFromIndex re
ferenced in function ___pyx_pf_6pyfly2_7Context_8get_camera
pyfly2.obj : error LNK2019: unresolved external symbol _fc2GetVideoModeAndFrameR
ate referenced in function ___pyx_pf_6pyfly2_7Context_10get_mode
pyfly2.obj : error LNK2019: unresolved external symbol _fc2SetVideoModeAndFrameR
ate referenced in function ___pyx_pf_6pyfly2_7Context_12set_mode
pyfly2.obj : error LNK2019: unresolved external symbol _fc2CreateImage reference
d in function _pyx_pf_6pyfly2_6Camera_4__init
pyfly2.obj : error LNK2019: unresolved external symbol _fc2SetProperty reference
d in function ___pyx_pf_6pyfly2_6Camera_14SetPropertyValue
C:\Users\lac\Desktop\pyfly2-master\pyfly2.pyd : fatal error LNK1120: 20 unresolv
ed externals
error: command 'C:\Users\lac\AppData\Local\Programs\Common\Microsoft\Vis
ual C++ for Python\9.0\VC\Bin\link.exe' failed with exit status 1120
""""
Do you have any idea on how to solve this problem?