Comments (21)
Hi, Mayank ,
Pls see https://github.com/BVLC/caffe/wiki/Installation-(OSX) , OSX
10.9 is not suitable for installing caffe by now. You can try on OS 10.7.x
Lion.
Best regards,
Milton
2014/1/20 Mayank Juneja [email protected]
Any pointers on getting it running on OSX 10.9 (Mavericks). I am getting
the following OpenCV error while building caffe:"ld: symbol(s) not found for architecture x86_64"
I found references to issues with OpenCV on Mavericks, but no solution has
worked for me.The complete error log can be seen here:
https://gist.github.com/mayankjuneja/8517932—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42
.
from caffe.
Thanks @amiltonwong! I will try it on Lion.
Regards,
Mayank
from caffe.
There are now instructions for installation on 10.9 to workaround the libstdc++ issue until CUDA on OSX is updated to link against libc++.
from caffe.
Hi guys, I am still having the same error now on Marvericks:
"ld: symbol(s) not found for architecture x86_64"
I followed all the instructions, any special remark or advice about it?
Thank you very much
from caffe.
Make sure you have the LD_LIBRARY and DYLD_LIBRARY paths in your
environment variables.
Sergio
2014-04-25 8:03 GMT-07:00 ramialbatal [email protected]:
Hi guys, I am still having the same error now on Marvericks:
"ld: symbol(s) not found for architecture x86_64"
I followed all the instructions, any special remark or advice about it?
Thank you very much—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-41402615
.
from caffe.
On 10.9 (Mavericks) the recommendation is to set
DYLD_FALLBACK_LIBRARY_PATH
and not LD_LIBRARY_PATH
. I have my
environment configured in this way.
Le vendredi 25 avril 2014, Sergio Guadarrama [email protected] a
écrit :
Make sure you have the LD_LIBRARY and DYLD_LIBRARY paths in your
environment variables.Sergio
2014-04-25 8:03 GMT-07:00 ramialbatal [email protected]:
Hi guys, I am still having the same error now on Marvericks:
"ld: symbol(s) not found for architecture x86_64"
I followed all the instructions, any special remark or advice about it?
Thank you very much—
Reply to this email directly or view it on GitHub<
https://github.com/BVLC/caffe/issues/42#issuecomment-41402615>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-41403667
.
from caffe.
@sguada Thanks Sergio, I did what you suggested, no change unfortunately.
What is the source of this problem?
from caffe.
@shelhamer @sguada
Thanks for the suggestions, I tried them both but the result is the same unfortunately
Here is the error log when I do 'make all' : https://gist.github.com/ramialbatal/d3dfa6ca3f0ee54199c6
from caffe.
Guys the problem was that I forgot to un-comment the linke in the Makefile.config:
CXXFLAGS := -stdlib=libstdc++
Now it seems to build correctly.
from caffe.
Glad you got it working. I think that was already part of the instructions, isn't it?
from caffe.
Yes it is. it's my fault, sorry for that. :)
from caffe.
@sguada it is part of the instructions on master, and it's now done automatically by platform detection in dev.
@ramialbatal glad you figured it out.
from caffe.
when run make runtest
, got:
F0721 00:15:27.975770 2058203920 syncedmem.cpp:47] Check failed: error == cudaSuccess (35 vs. 0) CUDA driver version is insufficient for CUDA runtime version
I have tried any method I found.
Is there anyone know how to fix it? Thanks~
from caffe.
The error is clear: install a newer NVIDIA driver. Your CUDA library version is too high for whatever driver you have installed.
http://www.nvidia.com/Download/index.aspx
from caffe.
Hi, I have the same problem when runing make runtest with @askender . @shelhamer I have already updated my NVIDIA driver in my Macbook pro, ox maverick. The problem still remains.
::
[ RUN ] MaxPoolingDropoutTest/2.TestSetup
E0925 16:16:34.379639 2107171600 common.cpp:108] Cannot create Cublas handle. Cublas won't be available.
E0925 16:16:34.384251 2107171600 common.cpp:115] Cannot create Curand generator. Curand won't be available.
E0925 16:16:34.384302 2107171600 common.cpp:135] Curand not available. Skipping setting the curand seed.
[ OK ] MaxPoolingDropoutTest/2.TestSetup (6 ms)
[ RUN ] MaxPoolingDropoutTest/2.TestBackward
F0925 16:16:34.385355 2107171600 syncedmem.cpp:57] Check failed: error == cudaSuccess (35 vs. 0) CUDA driver version is insufficient for CUDA runtime version
Many thanks
from caffe.
Although no respond, thanks all the same. I figure out the problem.
from caffe.
If you can share the solution you could let this thread to be useful to others before we close it.
from caffe.
Hi
I'm wondering if anyone has run into issues with
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libcaffe.dylib] Error 1
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
make: *** [all] Error 2
I was following the CMake compilation from caffe: http://caffe.berkeleyvision.org/installation.html#compilation
This error occurred when I was doing make all, and I'm on Mavericks 10.9.5.
I also tried to install libstdc++ following caffe instruction: http://caffe.berkeleyvision.org/install_osx.html
However, it still doesn't work.
I also did not find lib/libcaffe.dylib or src/caffe/CMakeFiles/caffe.dir/all files in my build folder, not sure if those are missing as a result of my build failure or the cause.
Full error log: https://github.com/jackywang529/myOpenCV/blob/master/OpenCV/OpenCVTutorial2/errorLog
Any suggestion is greatly appreciated! Thanks!
from caffe.
On Yosemite I've finally made it work using cmake
:
mkdir build & cd build
cmake -DUSE_libstdcpp=ON ..
make all
from caffe.
I'm having the exact same issue as felixshiyong. I'm trying to build caffe with the python wrapper on Mac OSX 10.0, but keep getting the following error.
Check failed: error == cudaSuccess (35 vs. 0) CUDA driver version is insufficient for CUDA runtime version
I've updated the CUDA driver to the latest. Tried uninstalling and reinstalling, but the error still persists. Any advice would be much appreciated. Thanks!
from caffe.
Hi
with make all I get the following error
Undefined symbols for architecture x86_64:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
any suggestion? I am using Mac OS X 10.12.
complete error message:
Undefined symbols for architecture x86_64:
"cv::imread(cv::String const&, int)", referenced from:
caffe::WindowDataLayer::load_batch(caffe::Batch) in window_data_layer.o
caffe::WindowDataLayer::load_batch(caffe::Batch) in window_data_layer.o
caffe::ReadImageToCVMat(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, int, bool) in io.o
"cv::imdecode(cv::_InputArray const&, int)", referenced from:
caffe::DecodeDatumToCVMatNative(caffe::Datum const&) in io.o
caffe::DecodeDatumToCVMat(caffe::Datum const&, bool) in io.o
"cv::imencode(cv::String const&, cv::_InputArray const&, std::__1::vector<unsigned char, std::__1::allocator >&, std::__1::vector<int, std::__1::allocator > const&)", referenced from:
caffe::ReadImageToDatum(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, int, int, bool, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, caffe::Datum*) in io.o
"leveldb::DB::Open(leveldb::Options const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, leveldb::DB**)", referenced from:
caffe::db::LevelDB::Open(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, caffe::db::Mode) in db_leveldb.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from caffe.
Related Issues (20)
- caffe time -model -weights -gpu=0
- BUG: error happens while building the project using cmake, if without preinstall `gflags`. HOT 1
- Makefile
- import error: segment fault when import caffe
- Segmentation fault (core dumped) when creating imageset
- MSBuild Error
- DeleteMe
- Glib 3.4.30 not found HOT 1
- Error MSB6006: "cmd.exe" exited with code -1073741 515 HOT 2
- blob.hpp dimension check code problem
- Is it possible to use OpenCL on FreeBSD without using ROCm?
- How to build Caffe(OpenCL) on Linux from source code? HOT 1
- Caffe(OpenCL) Error: ordered comparison between pointer and zero ('int32_t *' (aka 'int *') and 'int') HOT 1
- Failed inference with nyud-fcn32s-hha
- ю
- caffe installation HOT 1
- Assessment of the difficulty in porting CPU architecture for caffe
- How to add new layer to caffe like HardSigmoid or Resize HOT 1
- module 'caffe' has no attribute 'set_mode_cpu'
- `GLOG_LIBRARYRARY_DIRS` appears to be in error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe.