Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation pb on Windows #28

Open
MathieuPau opened this issue Mar 13, 2017 · 5 comments
Open

Installation pb on Windows #28

MathieuPau opened this issue Mar 13, 2017 · 5 comments

Comments

@MathieuPau
Copy link

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?

@AkhilAKrasH
Copy link

Hi,
I used python setup.py build_ext --inplace command...

@jackcalz
Copy link

jackcalz commented Mar 21, 2017

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

@eFirer
Copy link

eFirer commented Jul 11, 2017

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?

@nicedayr
Copy link

nicedayr commented Mar 9, 2018

@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?

@mechealww2
Copy link

Is there any solution for windows10 now?I got the same problem like MathieuPau.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants