PDA

View Full Version : include problems



sincnarf
12th July 2007, 03:22
Good day to all!

My project uses Qt-4.2.3 (QT GUI TOOLKIT) and c++ compiler MinGW-5.1.3.

I have a problem with integration of .h and .cpp files. I've already copied the .h files (binary.h color.h filter.h image.h jconfig.h jerror.h jmorecfg.h jpegio.h jpeglib.h util.h) and the corresponding .cpp files (binary.cpp color.cpp filter.cpp jpegio.cpp) and copied libjpeg.a and libjpeg.win. And included all of these in my qt project file (IADFUQ.pro). When I compile all files these are the errors I get. All errors are from "jpegio.cpp" only: See attached image's console (I'm having trouble including the error in this post because it says there are too many images and smilies)

This is the screenshot
http://img207.imageshack.us/img207/5488/screeniesd8.th.jpg (http://img207.imageshack.us/my.php?image=screeniesd8.jpg)

Here is my project file (.pro).


TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .

# Input
HEADERS += binary.h \
color.h \
filter.h \
iadfuqgraphicsview.h \
image.h \
jconfig.h \
jerror.h \
jmorecfg.h \
jpegio.h \
jpeglib.h \
mainwindow.h \
util.h \
ui_mainwindow.h
FORMS += mainwindow.ui
SOURCES += binary.cpp \
color.cpp \
filter.cpp \
iadfuqgraphicsview.cpp \
jpegio.cpp \
main.cpp \
mainwindow.cpp


how to solve this... ? ...

jpn
12th July 2007, 18:52
Does any of the headers declare those missing functions? Please attach screenshots directly on this forum. Who knows for how long external links remain valid..