我正在使用 opencv lib 开发一个项目。我在 Windows 7 上使用 Qt 4.8,它在构建项目时给了我一个错误:
mingw32-make.exe[1]: *** Access is denied.
. Stop.
mingw32-make.exe: *** [release] Error 2
19:05:06: The process "F:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project TraySystemtry (target: Desktop)
When executing build step 'Make'
亲文件:
QT += xml svg core gui
CONFIG += qt
VERSION = 0.3.0
TEMPLATE = app
INCLUDEPATH += D:\OpenCV\opencv\build\include
LIBS += -LD:\OpenCV\opencv_Build\bin\
-lopencv_core242 \
-lopencv_highgui242 \
-lopencv_imgproc242 \
-lopencv_features2d242 \
-lopencv_calib3d242 \
-lopencv_objdetect242
HEADERS += \
window.h \
aboutus.h \
abouttab.h \
developertab.h \
privacytab.h \
classificationhand.h \
keyssetup.h
SOURCES += \
window.cpp \
main.cpp \
aboutus.cpp \
abouttab.cpp \
developertab.cpp \
privacytab.cpp \
classificationhand.cpp \
keyssetup.cpp
RESOURCES += \
systray.qrc
我无法弄清楚问题所在。