Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Qt+OpenCV file not recognized: File format not recognized

Hi, i tried to built OpenCV 2.4.8 for QtCreator(Qt 5.2.0 for Windows 32-bit MinGW 4.8, OpenGL). I followed these instructions and received a mistake:

D:\Programs\OpenCV\opencv_cmd\install\x64\mingw\bin\opencv_ffmpeg248_64.dll:-1: ошибка(error): file not recognized: File format not recognized

i found this question, but i use OpenCV 2.4.8 and and it had to be fixed. I'm not one who has this problem. I tried use 2.4.7 OpenCV but but nothing changes.

How i can fix it?

//cvHello.pro 
 QT       += core 
 QT         -= gui

TARGET = cvHello CONFIG   += console CONFIG   -= app_bundle

TEMPLATE = app INCLUDEPATH += D:/Programs/OpenCV/opencv/opencv_bin/install/include LIBS += D:/Programs/OpenCV/opencv/opencv_bin/bin/*.dll LIBS += D:/Programs/OpenCV/opencv/opencv_bin/lib/*.a

SOURCES += main.cpp OTHER_FILES +=  img.JPG

P.S. Windows 7 x64

Qt+OpenCV file not recognized: File format not recognized

Hi, i tried to built OpenCV 2.4.8 for QtCreator(Qt 5.2.0 for Windows 32-bit MinGW 4.8, OpenGL). I followed these instructions and received a mistake:

D:\Programs\OpenCV\opencv_cmd\install\x64\mingw\bin\opencv_ffmpeg248_64.dll:-1: ошибка(error): file not recognized: File format not recognized

i found this question, but i use OpenCV 2.4.8 and and it had to be fixed. I'm not one who has this problem. I tried use 2.4.7 OpenCV but but nothing changes.

How i can fix it?

//cvHello.pro 
 QT       += core 
 QT         -= gui

TARGET = cvHello CONFIG   += console CONFIG   -= app_bundle

TEMPLATE = app INCLUDEPATH += D:/Programs/OpenCV/opencv/opencv_bin/install/include  LIBS += D:/Programs/OpenCV/opencv/opencv_bin/bin/*.dll  LIBS += D:/Programs/OpenCV/opencv/opencv_bin/lib/*.a

SOURCES += main.cpp OTHER_FILES +=  img.JPG

P.S. Windows 7 x64

Qt+OpenCV file not recognized: File format not recognized

Hi, i tried to built OpenCV 2.4.8 for QtCreator(Qt 5.2.0 for Windows 32-bit MinGW 4.8, OpenGL). I followed these instructions and received a mistake:

D:\Programs\OpenCV\opencv_cmd\install\x64\mingw\bin\opencv_ffmpeg248_64.dll:-1: ошибка(error): file not recognized: File format not recognized

i found this question, but i use OpenCV 2.4.8 and and it had to be fixed. I'm not one who has this problem. I tried use 2.4.7 OpenCV but but nothing changes.

How i can fix it?

//cvHello.pro 
 QT       += core 
 QT         -= gui

TARGET = cvHello  CONFIG   += console  CONFIG   -= app_bundle

TEMPLATE = app INCLUDEPATH += D:/Programs/OpenCV/opencv/opencv_bin/install/include 
LIBS += D:/Programs/OpenCV/opencv/opencv_bin/bin/*.dll 
LIBS += D:/Programs/OpenCV/opencv/opencv_bin/lib/*.a

SOURCES += main.cpp OTHER_FILES +=  img.JPG

P.S. Windows 7 x64

Qt+OpenCV file not recognized: File format not recognized

Hi, i tried to built OpenCV 2.4.8 for QtCreator(Qt 5.2.0 for Windows 32-bit MinGW 4.8, OpenGL). I followed these instructions and received a mistake:

D:\Programs\OpenCV\opencv_cmd\install\x64\mingw\bin\opencv_ffmpeg248_64.dll:-1: ошибка(error): file not recognized: File format not recognized

i found this question, but i use OpenCV 2.4.8 and and it had to be fixed. I'm not one who has this problem. I tried use 2.4.7 OpenCV but but nothing changes.

How i can fix it?

//cvHello.pro 
 QT       += core 
 QT         -= gui

TARGET = cvHello 
CONFIG   += console 
CONFIG   -= app_bundle

TEMPLATE = app INCLUDEPATH += D:/Programs/OpenCV/opencv/opencv_bin/install/include 
LIBS += D:/Programs/OpenCV/opencv/opencv_bin/bin/*.dll 
LIBS += D:/Programs/OpenCV/opencv/opencv_bin/lib/*.a

SOURCES += main.cpp OTHER_FILES +=  img.JPG

P.S. Windows 7 Pro x64

Qt+OpenCV file not recognized: File format not recognized

Hi, i tried to built OpenCV 2.4.8 for QtCreator(Qt 5.2.0 for Windows 32-bit MinGW 4.8, OpenGL). I followed these instructions and received a mistake:

D:\Programs\OpenCV\opencv_cmd\install\x64\mingw\bin\opencv_ffmpeg248_64.dll:-1: ошибка(error): file not recognized: File format not recognized

i found this question, but i use OpenCV 2.4.8 and and it had to be fixed. I'm not one who has this problem. I tried use 2.4.7 OpenCV but but nothing changes.

How i can fix it?

//cvHello.pro 
 QT       += core 
 QT         -= gui

TARGET = cvHello 
CONFIG   += console 
CONFIG   -= app_bundle

TEMPLATE = app INCLUDEPATH += D:/Programs/OpenCV/opencv/opencv_bin/install/include 
LIBS += D:/Programs/OpenCV/opencv/opencv_bin/bin/*.dll 
LIBS += D:/Programs/OpenCV/opencv/opencv_bin/lib/*.a

SOURCES += main.cpp OTHER_FILES +=  img.JPG

P.S. Windows 7 Pro x64 Upd: I removed "LIBS += D:/Programs/OpenCV/opencv/opencv_bin/bin/*.dll" from cvHello.pro, but the program still does not work. image description