[Bf-committers] Compiling Issues Blender and Cuda (sm30) on OS X 10.9.2

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Apr 21 15:54:46 CEST 2014


Hi,

Which CUDA toolkit version are you using? You can see that with:
/usr/local/cuda/bin/nvcc --version

NVidia released an updated CUDA 5.5 toolkit to make it work on OS X
10.9 with the latest Xcode (not sure when exactly, seems like it was
kind of a silent update). There's also CUDA 6.0 out now which should
work.

Brecht.

On Mon, Apr 21, 2014 at 3:31 PM, Thies Uhlenbruch <tuhle at me.com> wrote:
> Hi there,
>
> I have problems to compile blender with CUDA (sm30) on OS X 10.9.2 for a very long time. I have no idea what it can be but what I can say is that it always worked fine with OS X Mountain Lion (10.8.x).
>
> Here are my system specs:
>
> Xcode 5.1.1
> CMake 2.8-12
> CUDA Driver 6.0.37
>
> Chipsatz-Modell:        NVIDIA GeForce GT 650M
>   Modell-Identifizierung:       MacBookPro10,1
>   Prozessortyp: Intel Core i7
>   Prozessorgeschwindigkeit:     2,7 GHz
>   Anzahl der Prozessoren:       1
>   Gesamtanzahl der Kerne:       4
>   L2-Cache (pro Kern):  256 KB
>   L3-Cache:     8 MB
>   Speicher:     16 GB
>   Boot-ROM-Version:     MBP101.00EE.B02
>   SMC-Version (System): 2.3f36
>
> and the compile log:
>
>
> tubamacbookpro:build_darwin thiesuhlenbruch$ make
> -- Detected system-version: 10.9
> -- Xcode-bundle : /Applications/Xcode.app
> -- Detected Xcode-version: 5.1
> -- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
> -- Unsupported CFLAG: -Wall
> -- Unsupported CFLAG: -Werror=declaration-after-statement
> -- Unsupported CFLAG: -Werror=implicit-function-declaration
> -- Unsupported CFLAG: -Werror=return-type
> -- Unsupported CFLAG: -Wno-tautological-compare
> -- Unsupported CFLAG: -Wno-unknown-pragmas
> -- Unsupported CFLAG: -Wno-char-subscripts
> -- Unsupported CFLAG: -Wstrict-prototypes
> -- Unsupported CFLAG: -Wmissing-prototypes
> -- Unsupported CFLAG: -Wunused-parameter
> -- Unsupported CXXFLAG: -Wall
> -- Unsupported CXXFLAG: -Wno-tautological-compare
> -- Unsupported CXXFLAG: -Wno-unknown-pragmas
> -- Unsupported CXXFLAG: -Wno-char-subscripts
> -- Unsupported CXXFLAG: -Wno-overloaded-virtual
> -- Unsupported CXXFLAG: -Wno-sign-compare
> -- Unsupported CXXFLAG: -Wno-invalid-offsetof
> -- Unsupported CFLAG: -Wno-unused-parameter
> -- Unsupported CFLAG: -Wno-unused-macros
> -- Unsupported CFLAG: -Wno-missing-variable-declarations
> -- Unsupported CFLAG: -Wno-incompatible-pointer-types-discards-qualifiers
> -- Unsupported CFLAG: -Wno-unused-function
> -- Unsupported CFLAG: -Wno-int-to-void-pointer-cast
> -- Unsupported CFLAG: -Wno-missing-prototypes
> -- Unsupported CFLAG: -Wno-duplicate-enum
> -- Unsupported CFLAG: -Wno-undef
> -- Unsupported CFLAG: -Wno-missing-noreturn
> -- Unsupported CXXFLAG: -Wno-unused-private-field
> -- Unsupported CXXFLAG: -Wno-c++11-narrowing
> -- Unsupported CXXFLAG: -Wno-non-virtual-dtor
> -- Unsupported CXXFLAG: -Wno-unused-macros
> -- Unsupported CXXFLAG: -Wno-reorder
> -- CUDA nvcc = /usr/local/cuda/bin/nvcc
> -- Unable to find <unordered_map> or <tr1/unordered_map>.
> -- Replacing unordered_map/set with map/set (warning: slower!)
> -- Blender Skipping: (bf_intern_ctr;bf_intern_utfconv)
> -- Player Skipping: (bf_intern_ghostndof3dconnexion;bf_intern_utfconv;bf_intern_utfconv;extern_binreloc)
> -- -- Found Git: /usr/bin/git
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /Users/thiesuhlenbruch/blender-build/build_darwin
> Scanning dependencies of target datatoc
> [  0%] Building C object source/blender/datatoc/CMakeFiles/datatoc.dir/datatoc.c.o
>
>
>
>
>
> [ 79%] Built target cycles_bvh
> Scanning dependencies of target cycles_device
> [ 79%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device.cpp.o
> [ 79%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_cpu.cpp.o
> [ 79%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_cuda.cpp.o
> [ 79%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_multi.cpp.o
> [ 80%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_opencl.cpp.o
> [ 80%] Building CXX object intern/cycles/device/CMakeFiles/cycles_device.dir/device_task.cpp.o
> Linking CXX static library ../../../lib/libcycles_device.a
> [ 80%] Built target cycles_device
> Scanning dependencies of target cycles_kernel
> [ 80%] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernel.cpp.o
> Linking CXX static library ../../../lib/libcycles_kernel.a
> [ 80%] Built target cycles_kernel
> Scanning dependencies of target cycles_kernel_cuda
> [ 80%] Generating kernel_sm_30.cubin
> clang: error: unsupported option '-dumpspecs'
> clang: error: no input files
> make[2]: *** [intern/cycles/kernel/kernel_sm_30.cubin] Error 1
> make[1]: *** [intern/cycles/kernel/CMakeFiles/cycles_kernel_cuda.dir/all] Error 2
> make: *** [all] Error 2
> tubamacbookpro:build_darwin thiesuhlenbruch$ exit
> logout
>
> [Prozess beendet]
>
> It says something about an unsupported option and I don’t know, what it is.
>
> Thanks
>
> Thies
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list