Determining if the Q_WS_QWS exist failed with the following output: [closed]

asked 2012-12-27 18:12:13 -0500

dwenhcil gravatar image

when running rosmake, the error apear:

Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /home/huang/fuerte_workspace/tum_ardrone/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/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/huang/fuerte_workspace/tum_ardrone/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/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/huang/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: 在函数‘int main()’中: /home/huang/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:25: 错误: ‘Q_WS_WIN’在此作用域中尚未声明 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/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp'

File /home/huang/fuerte_workspace/tum_ardrone/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */

include <qtcore qglobal.h="">

void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() {

ifndef Q_WS_WIN

cmakeRequireSymbol(0,&Q_WS_WIN);

endif

return 0;

}

who can tell me what is the prblem?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-10-27 23:57:47.321868