On 05/03/2011 03:47 PM, Baho Utot wrote:
On 05/03/2011 04:27 PM, David C. Rankin wrote:
On 04/26/2011 04:34 PM, Baho Utot wrote:
[ 94%] Building CXX object
kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/actiondnd.cpp.o
/trinity.source/kdevelop/kdevdesigner/designer/kdevdesigner_part.cpp:565:33:
fatal error: kdevdesigner_part.moc: No such file or directory
compilation terminated.
make[2]: ***
[kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/kdevdesigner_part.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
Baho,
I have the same error -- did you get it solved?
Yes kdevelop builds for me
<snip>
build() {
_version
CFLAGS=${CFLAGS}" -fpermissive"
CXXFLAGS=${CXXFLAGS}" -fpermissive"
mkdir -vp ${_builddir}
cd ${_builddir}
msg "Starting cmake..."
cmake ${_source}/${_module}/ \
-DCMAKE_INSTALL_PREFIX=${_prefix} \
-DBUILD_ALL=ON \
-DCMAKE_SKIP_RPATH=ON
make
}
<snip>
Baho,
Will kdevelop still build for you? I have tried your setup and I can't get
it to build. I get:
[ 83%] Building CXX object
kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/kdevdesigner_part.cpp.o
cd /home/david/tblds/trinity-kdevelop/src/build/kdevdesigner/designer &&
/usr/bin/c++ -Dlibkdevdesignerpart_module_EXPORTS -DHAVE_CONFIG_H
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -DDESIGNER -fpermissive
-Wno-deprecated -include tqt.h -fPIC
-I/home/david/tblds/trinity-kdevelop/src/build/kdevdesigner/designer
-I/home/david/tblds/trinity-kdevelop/src/kdevelop/kdevdesigner/designer
-I/home/david/tblds/trinity-kdevelop/src/kdevelop/kdevdesigner/shared
-I/home/david/tblds/trinity-kdevelop/src/kdevelop/lib/interfaces/external
-I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h
-UQT_NO_ASCII_CAST -o
CMakeFiles/libkdevdesignerpart-module.dir/kdevdesigner_part.cpp.o -c
/home/david/tblds/trinity-kdevelop/src/kdevelop/kdevdesigner/designer/kdevdesigner_part.cpp
/home/david/tblds/trinity-kdevelop/src/kdevelop/kdevdesigner/designer/kdevdesigner_part.cpp:565:33:
fatal error: kdevdesigner_part.moc: No such file or directory
compilation terminated.
make[2]: ***
[kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/kdevdesigner_part.cpp.o]
Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-kdevelop/src/build'
make[1]: ***
[kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-kdevelop/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I'm building with:
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DCMAKE_CXX_FLAGS="-fpermissive" \
-DBUILD_ALL=ON
make
What's the trick?
--
David C. Rankin, J.D.,P.E.