On 05/01/2011 04:25 AM, Serghei Amelian wrote:
On Sunday 01 May 2011 09:13:53 David C. Rankin wrote:
[...]
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
What is this test checking and how can I be failing it?
Check CMakeError.log
Serghei,
Here is what I'm getting:
13:28 supersff:~/tblds/trinity-tqtinterface> cat
./src/build/CMakeFiles/CMakeError.log
Performing C++ SOURCE FILE Test HAVE_USABLE_QT3 failed with the following output:
Change Dir: /home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory
`/home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
/usr/bin/c++ -march=i686 -mtune=generic -O2 -pipe -DHAVE_USABLE_QT3
-I/opt/qt/include -o CMakeFiles/cmTryCompileExec.dir/src.cxx.o -c
/home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp/src.cxx
/home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp/src.cxx:2:30:
fatal error: qapplication.h: No such file or directory
compilation terminated.
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/src.cxx.o] Error 1
make[1]: Leaving directory
`/home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2
Source file was:
#include <qapplication.h>
int main(int argc, char **argv) { QApplication app(argc, argv); return 0; }
The qapplication.h is only in the Qt4 directory:
13:29 supersff:~/tblds/trinity-tqtinterface> find . -name qapplication.h
./src/tqtinterface/qtinterface/qt4/Qt/qapplication.h
./src/tqtinterface/qtinterface/tqt4/Qt/qapplication.h
So why is the Qt3 build failing for lack of finding qapplication.h?
--
David C. Rankin, J.D.,P.E.