apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.77k stars 6.79k forks source link

compile error on Mac OS X Yosemite #651

Closed liueryun closed 8 years ago

liueryun commented 8 years ago

My system environment: Mac OS X Yosemite atlas no cuDNN Apple LLVM version 6.1.0 (clang-602.0.49)

Below is the error information:

g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o recordio.o src/recordio.cc g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o config.o src/config.cc ar cr libdmlc.a line_split.o recordio_split.o input_split_base.o io.o local_filesys.o data.o recordio.o config.o /usr/local/cuda/bin/nvcc --use_fast_math -g -O3 -ccbin g++ -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -I/usr/local/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers" -M build/ndarray/ndarray_function_gpu.o src/ndarray/ndarray_function.cu >build/ndarray/ndarray_function_gpu.d nvcc warning : The 'compute_10' and 'sm_10' architectures are deprecated, and may be removed in a future release. clang: error: unsupported option '-dumpspecs' clang: error: no input files make: *\ [build/ndarray/ndarray_function_gpu.o] Error 1

antinucleon commented 8 years ago

Please copy make/osx.mk to ./config.mk, then try to make

pluskid commented 8 years ago

Closing due to inactivity. Please feel free to re-open if the issue in case of any followups.