trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

Re: [trinity-devel] kde-style-qtcurve: Cmake error

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 14 May 2011 22:25:04 -0500
On 05/14/2011 01:52 PM, Baho Utot wrote:
>
> cmake is not passing -I ${_prefix}/include/tqt to gcc
> causing gcc to fail
> tqt.h is not found as the include path is not set correctly.
>

I have the same problem Baho:

[ 75%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o
cd /build/src/build/style && /usr/bin/c++   -Dqtcurve_EXPORTS -DQT_SHARED 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 
-pipe  -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT 
-I/opt/trinity/include -fPIC -I/build/src/kde-style-qtcurve -I/build/src/build 
-I/build/src/build/style -I/usr/include/qt4 
-I/build/src/kde-style-qtcurve/common   -o CMakeFiles/qtcurve.dir/qtcurve.o -c 
/build/src/kde-style-qtcurve/style/qtcurve.cpp
cc1plus: fatal error: tqt.h: No such file or directory
compilation terminated.
make[2]: *** [style/CMakeFiles/qtcurve.dir/qtcurve.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [style/CMakeFiles/qtcurve.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...


-- 
David C. Rankin, J.D.,P.E.