-
Notifications
You must be signed in to change notification settings - Fork 34
Problems during installation #13
Comments
Can't see your command Line (put it on mail directly please) but don't
modify ids_core, tout have to pass option to your compiler to point to
headers sur
Regards
Le 4 mars 2017 19:50, "artnsec" <[email protected]> a écrit :
… First of all I want to thank you for sharing this code. Unfortunately I
have some trouble installing it and I have no idea of programming with C.
Maybe you find some time to help me.
When I run python setup.py install in cmd, I get the error: ids_core/ids_core.c(31):
fatal error C1083: Cannot open include file: 'ueye.h': No such file or
directory. To resolve that I made a change to ids_core.c:
- Old: #include <ueye.h>
- New: #include <C:\Program Files\IDS\uEye\Develop\include\ueye.h>
When I try to install it again, the command line outputs a list of errors
like the following C:\Program Files\IDS\uEye\Develop\include\ueye.h(1902):
error C2059: syntax error: 'string' where only the number (1902) is
exchanged with other numbers. The last error which command line prints is C:\Program
Files\IDS\uEye\Develop\include\ueye.h(2349): fatal error C1003: error
count exceeds 100; stopping compilation
If helpful here is the complete command line output: command line.txt
<https://github.com/ncsuarc/ids/files/818850/command.line.txt>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGGLbU3H7WOy3Yk_R4DMlvR8LmnbOUBQks5ribJigaJpZM4MTLO_>
.
|
The command line after “python setup.py install”:
C:\Users\(***)\ids-master>python setup.py install
running install
running build
running build_py
running build_ext
building 'ids_core' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Python\include" "-IC:\Program Files (x86)\Python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\winrt" /Tcids_core/ids_core.c /Fobuild\temp.win-amd64-3.5\Release\ids_core/ids_core.obj -std=gnu99 -g3
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
cl : Command line warning D9002 : ignoring unknown option '-g3'
ids_core.c
The command line after modification of ids_core:
C:\Users\(***)\ids-master>python setup.py install
running install
running build
running build_py
running build_ext
building 'ids_core' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Python\include" "-IC:\Program Files (x86)\Python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\winrt" /Tcids_core/ids_core.c /Fobuild\temp.win-amd64-3.5\Release\ids_core/ids_core.obj -std=gnu99 -g3
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
cl : Command line warning D9002 : ignoring unknown option '-g3'
ids_core.c
C:\Program Files\IDS\uEye\Develop\include\ueye.h(1902): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2088): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2089): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2090): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2096): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2097): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2098): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2099): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2100): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2102): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2103): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2104): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2105): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2106): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2107): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2108): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2110): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2111): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2112): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2114): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2115): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2116): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2117): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2118): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2120): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2121): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2123): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2124): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2127): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2129): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2130): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2132): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2134): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2137): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2139): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2140): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2141): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2142): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2144): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2145): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2146): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2150): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2151): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2152): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2153): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2154): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2155): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2157): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2160): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2161): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2164): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2167): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2170): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2173): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2176): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2179): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2182): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2183): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2184): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2187): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2189): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2190): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2193): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2196): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2199): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2202): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2203): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2206): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2209): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2212): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2213): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2215): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2216): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2219): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2221): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2222): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2223): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2226): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2229): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2232): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2233): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2265): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2266): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2267): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2268): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2269): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2271): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2273): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2274): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2275): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2277): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2278): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2280): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2281): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2282): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2284): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2285): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2296): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2313): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2314): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2349): error C2059: syntax error: 'string'
C:\Program Files\IDS\uEye\Develop\include\ueye.h(2349): fatal error C1003: error count exceeds 100; stopping compilation
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2
|
I have the exact same problem as artnsec above. Trying to install on a 64-bit Windows 10 machine with 64-bit Python. Any ideas? |
@artnsec , @shapecoder : late to the party, but in case someone comes along in the future: It seems that the compiler can't Look at the output of |
First of all I want to thank you for sharing this code. Unfortunately I have some trouble installing it and I have no idea of programming with C. Maybe you find some time to help me.
When I run
python setup.py install
in cmd, I get the error:ids_core/ids_core.c(31): fatal error C1083: Cannot open include file: 'ueye.h': No such file or directory
. To resolve that I made a change to ids_core.c:#include <ueye.h>
#include <C:\Program Files\IDS\uEye\Develop\include\ueye.h>
When I try to install it again, the command line outputs a list of errors like the following
C:\Program Files\IDS\uEye\Develop\include\ueye.h(1902): error C2059: syntax error: 'string'
where only the number (1902) is exchanged with other numbers. The last error which command line prints isC:\Program Files\IDS\uEye\Develop\include\ueye.h(2349): fatal error C1003: error count exceeds 100; stopping compilation
If helpful here is the complete command line output: command line.txt
The text was updated successfully, but these errors were encountered: