I compiled IVT, configured it for use with QT4 and got the SimpleApp running. But if a GUI is involved (e.g. HoughCirclesDemo or FilterDemo), I get the error::
undefinedreferenceto`CreateApplicationHandler(int,char**)'undefined reference to `CreateMainWindow(int, int, int, int, char const*)'
I have libqt4-dev and qt4-dev-tools installed. The object file is compiled, but not linked to a executable progam.
Hm, strange, I think I see the problem: The files in gui/ are not compiled. Are they missing in the Makefile or did I miss an important point? Enabling the GUI is only done by setting these two flags (USE_QTGUI and USE_QT4), isn't it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sorry, there was a typo in Makefile.base for the handling of the USE_QT4 flag. I fixed the problem and uploaded a new version 1.3.8-1, which also includes a fix for a bug that occurred when calling any of the Hough transform methods (see release notes).
Pedram
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you for the faste reply. I found another problem: "printf" in gui/Qt/QtMainWindow.cpp is not declared, an #include <stdio.h> helped for me. Now it seems to work, thank you!
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I compiled IVT, configured it for use with QT4 and got the SimpleApp running. But if a GUI is involved (e.g. HoughCirclesDemo or FilterDemo), I get the error::
I have libqt4-dev and qt4-dev-tools installed. The object file is compiled, but not linked to a executable progam.
Does someone have a hint?
The complete message is:
In the Makefile.base I set QT4 = 1 and QT_GUI=1, the others to 0 like written in the comments.
Best regards,
Philipp
Hm, strange, I think I see the problem: The files in gui/ are not compiled. Are they missing in the Makefile or did I miss an important point? Enabling the GUI is only done by setting these two flags (USE_QTGUI and USE_QT4), isn't it?
Hi,
sorry, there was a typo in Makefile.base for the handling of the USE_QT4 flag. I fixed the problem and uploaded a new version 1.3.8-1, which also includes a fix for a bug that occurred when calling any of the Hough transform methods (see release notes).
Pedram
Hey Pedram,
thank you for the faste reply. I found another problem: "printf" in gui/Qt/QtMainWindow.cpp is not declared, an #include <stdio.h> helped for me. Now it seems to work, thank you!
Philipp