• 4367阅读
  • 2回复

opencv2.4.2下   qt编译人脸识别程序出现问题 [复制链接]

上一主题 下一主题
离线scxxwd1229
 

只看楼主 倒序阅读 楼主  发表于: 2014-01-01
— 本帖被 XChinux 从 Qt 作品展 移动到本区(2014-01-03) —

工程文件如下:
INCLUDEPATH += E:\\opencv2.4.2\\install\\includeLIBS += -L E:\opencv2.4.2\install\lib -lcv210 -lcvaux210 -lhighgui210 -lcxcore210
但是编译后出现问题如下:
E:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Debug
mingw32-make.exe[1]: Entering directory `F:/LenWen/lw/CamaraGet-build'
g++ -mthreads -Wl,-subsystem,windows -o debug\CamaraGet.exe debug/main.o debug/widget.o debug/moc_widget.o  -L"e:\QtSDK\Desktop\Qt\4.8.1\mingw\lib" -lmingw32 -lqtmaind -L E:\opencv2.4.2\install\lib -lcv210 -lhighgui210 -lcvaux210 -lcxcore210 -lQtGuid4 -lQtCored4
mingw32-make.exe[1]: Leaving directory `F:/LenWen/lw/CamaraGet-build'

e:/qtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lcv210
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [debug\CamaraGet.exe] Error 1
mingw32-make.exe: *** [debug] Error 2

:-1: 错误:cannot find -lcv210

有何办法解决,都弄了两天了
离线rozendew

只看该作者 1楼 发表于: 2014-01-02
我没记错的话,opencv 现在的头文件和库路径一般是 2.4.x\build\x86\... 这一类。
我只是知道我所知道的
离线scxxwd1229

只看该作者 2楼 发表于: 2014-02-20
对的  你说的很对,但是在win8下始终都是有错误的
快速回复
限100 字节
 
上一个 下一个