dnouri / cuda-convnet

My fork of Alex Krizhevsky's cuda-convnet from 2013 where I added dropout, among other features.
http://code.google.com/p/cuda-convnet/
254 stars 147 forks source link

error on osx #20

Open jarutis opened 9 years ago

jarutis commented 9 years ago

I get the following error trying to compile this on osx:

/usr/include/sys/types.h(92): error: duplicate specifier in declaration

/usr/include/sys/types.h(92): error: invalid combination of type specifiers

2 errors detected in the compilation of "/var/folders/dn/8cdhcbp10vn436v1n27631080000gn/T//tmpxft_0000c305_00000000-7_conv_util.cpp1.ii".
CMake Error at cudaconv2_generated_conv_util.cu.o.cmake:264 (message):
  Error generating file
  /Users/jjarutis/dev/cuda-convnet/src/cudaconv2/CMakeFiles/cudaconv2.dir//./cudaconv2_generated_conv_util.cu.o

make[2]: *** [src/cudaconv2/CMakeFiles/cudaconv2.dir/cudaconv2_generated_conv_util.cu.o] Error 1
make[1]: *** [src/cudaconv2/CMakeFiles/cudaconv2.dir/all] Error 2
make: *** [all] Error 2

I have cuda 7.0

kashif commented 9 years ago

@jarutis is this on OSX 10.11? And which version of xcode do you have? Do you also have the xcode command line utils installed?

Thanks

jarutis commented 9 years ago

10.10.5 xcode: version: 7.1.0.0.1.1444952191 yes I have command line utils