Open fengminqiang opened 9 years ago
Wow. I do the same follows as yours ,and meet the same errors.And now still not solve the error. Have you solved this problem ? I need help !
Same issue!
sorry, @fengminqiang @WellVincent @canmanie i saw only now this issue.... i'm not a mac user so i don't know if i can help you. I tested this addon on a linux machine, i used these flags:
USER_CFLAGS = -std=c++0x -fpermissive
This make sense for you? hope that this will help a bit....
thx~
在 2015年10月30日,04:30,Walter Perdan notifications@github.com 写道:
sorry, @fengminqiang https://github.com/fengminqiang @WellVincent https://github.com/WellVincent @canmanie https://github.com/canmanie i saw only now this issue.... i'm not a mac user so i don't know if i can help you. I tested this addon on a linux machine, i used these flags:
USER_CFLAGS = -std=c++0x -fpermissive
This make sense for you? hope that this will help a bit....
— Reply to this email directly or view it on GitHub https://github.com/kalwalt/ofxPolyvox/issues/2#issuecomment-152309518.
I'm trying to compile a simple opencv code using Xcode but I'm getting a compilation error.
The opencv version is 3.0.0 and Xcode version is 7.0 (OS X 10.11)
In Xcode, Apple LLVM 6.1 Language C++ settings are:
c++ Language Dialect : C++11[-std=c++11]
c++ Standard Library : libc++
the error is:
Undefined symbols for architecture x86_64: "cv::imread(cv::String const&, int)", referenced from: _main in main.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I change the c++ standard library to libstdc++, then the error was:
/usr/local/include/opencv2/hal/defs.h:271:14: 'cstdint' file not found
Can someone show me how to get opencv work with Xcode? I've already followed lot of forums and guides but still getting the same error.