CUDA Nsight + OpenCV on Mavericks...

Hello:

I’ve been working on this issue for almost one week, and although I’ve tried several solutions (installing OpenCV by using both, MacPorts and HomeBrew, replacing header files, etc.), I haven’t been able to solve it.

I have a Mac Pro running a fully updated Mavericks (OS X 10.9.1). My NVIDIA card is a GEFORCE GTX 760, and I’ve successfully installed Nsight Eclipse edition in my computer. I’ve tried several programs created in CUDA, and everything works fine.

The problem comes when I try to compile a program using OpenCV libraries, getting only error messages (hundreads) such as the next ones:


/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/5.0/include/xmmintrin.h(46): error: expression must have pointer-to-object type

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/5.0/include/xmmintrin.h(46): error: expression must have pointer-to-object type

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/5.0/include/emmintrin.h(45): error: expression must have pointer-to-object type

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/5.0/include/emmintrin.h(45): error: expression must have pointer-to-object type

As I previously mentioned, I’ve tried several solutions found in forums, however I cannot solve this problem, so I cannot keep on working on.

I hope someone can help me.

Thanks in advance and best regards.