View Single Post
Old 2013-05-14, 02:39   #5
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

5·349 Posts
Default

Code:
C:\Documents and Settings\Ben\Desktop\msieve151\msieve-1.51>mingw32-make all WIN
=1 CUDA=1 NO_ZLIB=1
process_begin: CreateProcess(NULL, svnversion ., ...) failed.
gcc -O3 -fomit-frame-pointer -march=core2 -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LAR
GEFILE64_SOURCE  -Wall -W -DMSIEVE_SVN_VERSION="\"unknown\"" -I. -Iinclude -Ignf
s -Ignfs/poly -Ignfs/poly/stage1 -I"$CUDA_PATHinclude/" -Ib40c -DHAVE_CUDA -DNO_
ZLIB -c -o common/cuda_xface.o common/cuda_xface.c
In file included from common/cuda_xface.c:15:0:
include/cuda_xface.h:21:18: fatal error: cuda.h: No such file or directory
compilation terminated.
Makefile:283: recipe for target 'common/cuda_xface.o' failed
mingw32-make: *** [common/cuda_xface.o] Error 1
This is what I get when I try to compile as you suggested. I checked the CUDA_PATH and made sure it was pointing to the correct directory. I also went ahead and made sure that cuda.h was actually in the include directory, and it is. Any idea what might be causing this?


Also tried compiling zlib (no errors from that), and get the following when compiling without the NO_ZLIB flag:

Code:
C:\Documents and Settings\Ben\Desktop\msieve151\msieve-1.51>mingw32-make all WIN
=1 CUDA=1
process_begin: CreateProcess(NULL, svnversion ., ...) failed.
gcc -O3 -fomit-frame-pointer -march=core2 -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_LAR
GEFILE64_SOURCE  -Wall -W -DMSIEVE_SVN_VERSION="\"unknown\"" -I. -Iinclude -Ignf
s -Ignfs/poly -Ignfs/poly/stage1 -I"$CUDA_PATHinclude" -Ib40c -DHAVE_CUDA -c -o
common/polyroot.o common/polyroot.c
In file included from include/msieve.h:24:0,
                 from include/common.h:18,
                 from include/polyroot.h:18,
                 from common/polyroot.c:15:
include/util.h:46:19: fatal error: zlib.h: No such file or directory
compilation terminated.
Makefile:283: recipe for target 'common/polyroot.o' failed
mingw32-make: *** [common/polyroot.o] Error 1

Last fiddled with by wombatman on 2013-05-14 at 03:01 Reason: More info
wombatman is offline   Reply With Quote