dnouri/cuda-convnet

error on osx

Opened this issue · 2 comments

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

@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

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