eclipse + opencv3.0beta + ubuntu14.04 X64 开发问题合集

Q1:

eclispe编译工程报错如下:

/usr/bin/ld: ./src/planar_tracking.o: undefined reference to symbol '_ZNK2cv11_InputArray6getMatEi'

//usr/local/lib/libopencv_core.so.3.0: error adding symbols: DSO missing from command line

解决方法:

添加opencv_core库到相应位置

setting-》G++linker-》libraries(l)

如果还是不行的话,将/usr/local/lib/这个目录(即为opencv链接库的目录)添加到

setting-》G++linker-》libraries search path(L)中

你可能感兴趣的:(eclipse)