nmarc / pyueye

Automatically exported from code.google.com/p/pyueye
0 stars 0 forks source link

Compilation fails #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am trying to install pyueye 

This is the first compilation error I get:
building 'ueye.constants' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I.
 -I/usr/include/python2.7 -c ueye/constants.c -o build/temp.linux-i686-2.7/ueye/constants.o -
D__LINUX__
ueye/constants.c: In function ‘initconstants’:
ueye/constants.c:7025:30: error: ‘IS_ENABLE_CAMERA_LUT’ undeclared (first 
use in this function)

I am using pyueye4.20-rev19 on lxubuntu 12.04 32 bit cython 0.20 numpy 1.8
with ueye_linux sdk 4.40 

Original issue reported on code.google.com by liber...@gmail.com on 5 Jul 2014 at 6:32

GoogleCodeExporter commented 8 years ago
I am encountering similar build errors.  My configuration details are:

OS: xubuntu 14.04, kernel 3.13.0-32
ueye_linux sdk 4.40
pyueye4.20-rev19
cython 0.20.2
numpy 1.8.1

I'm attempted to install within a virtualenv, so I'm wondering that is a 
problem for the install.

Original comment by ryan.kin...@gmail.com on 12 Aug 2014 at 4:31

GoogleCodeExporter commented 8 years ago
I have the same problem.

OS: Linux Fasianos 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux
ueye linux sdk 4.40
latest pyueye
Cython version 0.20.1post0
numpy 1.8.2

First error:
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I. -I/usr/include/python2.7 -c 
ueye/constants.c -o build/temp.linux-x86_64-2.7/ueye/constants.o -D__LINUX__
ueye/constants.c: In function ‘initconstants’:
ueye/constants.c:9110:36: error: ‘IS_SET_CM_RGB32’ undeclared (first use in 
this function)

Original comment by dbo...@gmail.com on 4 May 2015 at 10:21

GoogleCodeExporter commented 8 years ago
I also get the same error. 
Ubuntu 14.04

ueye/constants.c:7025:30: error: ‘IS_ENABLE_CAMERA_LUT’ undeclared (first 
use in this function)

Did anyone get an answer or solved this problem?

/Staffan

Original comment by SRydb...@gmail.com on 5 Jun 2015 at 1:30

GoogleCodeExporter commented 8 years ago
From what I understand it seems that the  wrapper does not work with the
latest drivers. I manage to work with an older version of drivers and
wrapper.

Original comment by liber...@gmail.com on 18 Jun 2015 at 7:39