Skip to content

Installation pb on Windows #28

Open

Description

@MathieuPau

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?

Activity

  1. AkhilAKrasH commented on Mar 17, 2017

    @AkhilAKrasH

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

  2. jackcalz commented on Mar 21, 2017

    @jackcalz

    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

  3. eFirer commented on Jul 11, 2017

    @eFirer

    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?

  4. mechealww2 commented on Dec 6, 2018

    @mechealww2

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions