Determining if the Q_WS_QWS exist failed with the following output:
when running rosmake, the error apear:
Determining if the QWSWIN exist failed with the following output: Change Dir: /home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make[2]: 正在进入目录 /home/huang/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[3]: 正在进入目录
/home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmakeprogressreport /home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o -c /home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: 在函数‘int main()’中:
/home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:25: 错误: ‘QWSWIN’在此作用域中尚未声明
make[3]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.cxx.o] 错误 1
make[3]:正在离开目录 /home/huang/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp'
make[2]: *** [cmTryCompileExec/fast] 错误 2
make[2]:正在离开目录
/home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp'
File /home/huang/fuerteworkspace/tumardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */
include
void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() {
ifndef QWSWIN
cmakeRequireSymbol(0,&QWSWIN);
endif
return 0;
}
who can tell me what is the prblem?
Asked by dwenhcil on 2012-12-27 19:12:13 UTC
Comments