-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Mac OS make failed #1579
Comments
The default gcc in OS X installed by XCode command tool does not OpenMP. http://stackoverflow.com/questions/29057437/compile-openmp-programs-with-gcc-compiler-on-os-x-yosemite My solution is to install the Intel® Parallel Studio XE Composer and change the compilation flags. https://software.intel.com/en-us/qualify-for-free-software/student |
I installed OpenMP with command: brew install clang-omp NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. |
Seems to be OpenCV related, can you provide the detailed log? |
Problem solved by editing config.mk like this export CC = clang-omp |
I've got the same error. Can anyone provide some hints? |
I also got the same issue. A hacky solution that works for me is to edit
|
The compilation problem should be solved by #2407 |
In my case the Xcode gcc was used instead of the gcc installed by homebrew (which includes support for OpenMP), so I've just added this to the config.mk: CC=gcc-7 And so far it seems to work. Another minor fix for building support for Scala, I have to edit the file: mxnet/scala-package/macros/pom.xml And replace ${platform} by osx-x86_64 and now the call to "make scalapkg" works. IMPORTANT: all this "fixes" should be careful reviewed, these are only attempt to make mxnet work on my laptop. |
* [Gluon] Return filenames from HybridBlock.export (apache#1579) * [Gluon] Unittest filenames from HybridBlock.export (apache#1579) * [Gluon] Perl HybridBlock.export return filenames (apache#1579) * [Gluon] HybridBlock.export docstring grammar fix * Linting - fix trailing whitespace
* [Gluon] Return filenames from HybridBlock.export (apache#1579) * [Gluon] Unittest filenames from HybridBlock.export (apache#1579) * [Gluon] Perl HybridBlock.export return filenames (apache#1579) * [Gluon] HybridBlock.export docstring grammar fix * Linting - fix trailing whitespace
include/dmlc/omp.h:13:9: warning: Warning: OpenMP is not available, project will be compiled into single-thread code. Use
OpenMP-enabled compiler to get benefit of multi-threading. [-W#pragma-messages]
pragma message("Warning: OpenMP is not available, " \
...
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/im2rec] Error 1
The text was updated successfully, but these errors were encountered: