Open MicheleMaris opened 6 years ago
Hi, I tried to build PyPylon by using
python setup.py build on my Kunbunto 16.04 system
I just installed Pylon pylon-5.0.11.10914-x86_64.deb
the compilation fails, this the output
running build running build_py running build_ext skipping 'cython/version.cpp' Cython extension (up-to-date) building 'pypylon.cython.version' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/opt/pylon5/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c cython/version.cpp -o build/temp.linux-x86_64-2.7/cython/version.o cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cython/version.o -L/opt/pylon5/lib -Wl,-R/opt/pylon5/lib -lpylonbase -lpylonutility -lGenApi_gcc_v3_0_Basler_pylon_v5_0 -lGCBase_gcc_v3_0_Basler_pylon_v5_0 -o build/lib.linux-x86_64-2.7/pypylon/cython/version.so /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libpylonbase.so when searching for -lpylonbase /usr/bin/ld: cannot find -lpylonbase /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libpylonutility.so when searching for -lpylonutility /usr/bin/ld: cannot find -lpylonutility /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libGenApi_gcc_v3_0_Basler_pylon_v5_0.so when searching for -lGenApi_gcc_v3_0_Basler_pylon_v5_0 /usr/bin/ld: cannot find -lGenApi_gcc_v3_0_Basler_pylon_v5_0 /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libGCBase_gcc_v3_0_Basler_pylon_v5_0.so when searching for -lGCBase_gcc_v3_0_Basler_pylon_v5_0 /usr/bin/ld: cannot find -lGCBase_gcc_v3_0_Basler_pylon_v5_0 collect2: error: ld returned 1 exit status error: command 'c++' failed with exit status 1
do you have any suggestion? Many thanks in advance Michele Maris
Hi, I tried to build PyPylon by using
I just installed Pylon pylon-5.0.11.10914-x86_64.deb
the compilation fails, this the output
running build running build_py running build_ext skipping 'cython/version.cpp' Cython extension (up-to-date) building 'pypylon.cython.version' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/opt/pylon5/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c cython/version.cpp -o build/temp.linux-x86_64-2.7/cython/version.o cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cython/version.o -L/opt/pylon5/lib -Wl,-R/opt/pylon5/lib -lpylonbase -lpylonutility -lGenApi_gcc_v3_0_Basler_pylon_v5_0 -lGCBase_gcc_v3_0_Basler_pylon_v5_0 -o build/lib.linux-x86_64-2.7/pypylon/cython/version.so /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libpylonbase.so when searching for -lpylonbase /usr/bin/ld: cannot find -lpylonbase /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libpylonutility.so when searching for -lpylonutility /usr/bin/ld: cannot find -lpylonutility /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libGenApi_gcc_v3_0_Basler_pylon_v5_0.so when searching for -lGenApi_gcc_v3_0_Basler_pylon_v5_0 /usr/bin/ld: cannot find -lGenApi_gcc_v3_0_Basler_pylon_v5_0 /usr/bin/ld: skipping incompatible /opt/pylon5/lib/libGCBase_gcc_v3_0_Basler_pylon_v5_0.so when searching for -lGCBase_gcc_v3_0_Basler_pylon_v5_0 /usr/bin/ld: cannot find -lGCBase_gcc_v3_0_Basler_pylon_v5_0 collect2: error: ld returned 1 exit status error: command 'c++' failed with exit status 1
do you have any suggestion? Many thanks in advance Michele Maris