Installation pb on Windows
Hi, I've been trying for several hours to make it work but I still face the same problem in the end, when running the
python setup.py develop
command.
I still get in the end the 2 following errors:
cython\factory.cpp(3858): error C2530: '__pyx_t_1': references must be initialized
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
By looking in the reported issues, I did not see someone having the same trouble for the first error message. On the second error, I tried launching the command from a MVS 15.0 command prompt but it did not solve the problem.
Any idea?
Hi, I used python setup.py build_ext --inplace command...
I'm getting a similar error, and doing the different command didn't work. Here's the command prompt text: 'cython\version.cpp(446): fatal error C1083: Cannot open include file: 'pylon/PylonVersionNumber.h': No such file or directory'
'error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2'
@AkhilAKrasH
Hi all,
I solved the first problem by using the "Developer Command Prompt for VS2017" instead of "normal" CMD.
Now I have the following problem: C:\progs\pylon5\Development\lib\Win32\PylonC_MD_BCC55.lib : fatal error LNK1136: invalid or corrupt file error: command 'C:\progs\VisualStudio2017\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.exe' failed with exit status 1136
Which Pylon Version are you using? I tried the three different 5er releases. I also tried Python2.7 and Python3.6 with the same error. (I changed the setup.py to Win32, because that is the python version I use. But I even can't get it to work with an 64bit version (fatal error LNK1120: 38)) I tried it on a Windows 10 and Windows 7 machine.
Any suggestions?
@eFirer
Hey, I'm getting the same issue:
''C:\Program Files\Basler\pylon 5\Development\lib\Win32\PylonC_MD_BCC55.lib : fatal error LNK1136: invalid or corrupt file''
Did you ever resolve it?
Is there any solution for windows10 now?I got the same problem like MathieuPau.