You're right. When I set arguments section with -G "MinGW Makefiles" ../ it generate makefile.
Thanks for your help. Best regards Yang -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 2008-1-15 (星期二) 23:51 To: Yang, Y. Cc: [email protected] Subject: Re: [CMake] Help:Using CMake with Eclipse >From what I see, things look fine. Does C:\Qt\4.3.3\lib\QtCore4.lib or C:\Qt\4.3.3\lib\QtCored4.lib even exist? Or are you trying to do something like using a gcc build of Qt that has libQtCore4.a with a Microsoft compiler? Clint On Tuesday 15 January 2008 3:35:06 pm Yang, Y. wrote: > I use CMake 2.4.7. The attachment is CMakeCache.txt > > CMakeError.log: > > Determining if the Q_WS_X11 exist failed with the following output: > > File > D:/eclipse/workspace/sdf4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* > */ > #include <QtCore/qglobal.h> > > void cmakeRequireSymbol(int dummy,...){(void)dummy;} > int main() > { > #ifndef Q_WS_X11 > cmakeRequireSymbol(0,&Q_WS_X11); > #endif > return 0; > } > > Determining if the Q_WS_MAC exist failed with the following output: > > File > D:/eclipse/workspace/sdf4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* > */ > #include <QtCore/qglobal.h> > > void cmakeRequireSymbol(int dummy,...){(void)dummy;} > int main() > { > #ifndef Q_WS_MAC > cmakeRequireSymbol(0,&Q_WS_MAC); > #endif > return 0; > } > > *************************************************************************** >****************** > > CMakeOutput: > > The system is: Windows - 6.0 - x86 > Determining if the C compiler works passed with the following output: > > > Determining size of void* passed with the following output: > > > Determining if the CXX compiler works passed with the following output: > > > Determining if the Q_WS_WIN exist passed with the following output: > > File > D:/eclipse/workspace/sdf4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* > */ > #include <QtCore/qglobal.h> > > void cmakeRequireSymbol(int dummy,...){(void)dummy;} > int main() > { > #ifndef Q_WS_WIN > cmakeRequireSymbol(0,&Q_WS_WIN); > #endif > return 0; > } > > > *************************************************************************** >*************************8 > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 2008-1-15 (星期二) 23:28 > To: [email protected] > Cc: Yang, Y. > Subject: Re: [CMake] Help:Using CMake with Eclipse > > > Can you send us the CMakeCache.txt file you get after that run? > And what's your version of CMake? > > Clint > > On Tuesday 15 January 2008 3:14:11 pm Yang, Y. wrote: > > Hi, Eric > > > > I use vista. When I launch Eclipse from terminal. The following are > > output when using external tool run CMake. > > > > > > -- Check for working C compiler: cl > > -- Check for working C compiler: cl -- works > > -- Check size of void* > > -- Check size of void* - done > > -- Check for working CXX compiler: cl > > -- Check for working CXX compiler: cl -- works > > -- Looking for Q_WS_X11 > > -- Looking for Q_WS_X11 - not found. > > -- Looking for Q_WS_MAC > > -- Looking for Q_WS_MAC - not found. > > -- Looking for Q_WS_WIN > > -- Looking for Q_WS_WIN - found > > CMake Error: Could NOT find QtCore. Check > > D:/eclipse/workspace/sdf4/build/CMakeFiles/CMakeError.log for more > > details. -- Configuring done > > > > It's really strange. > > > > Best regards > > Yang > > > > -----Original Message----- > > From: Eric Noulard [mailto:[EMAIL PROTECTED] > > Sent: 2008-1-14 (星期一) 21:56 > > To: Yang, Y. > > Cc: CMake ML > > Subject: Re: [CMake] Help:Using CMake with Eclipse > > > > 2008/1/13, Yang, Y. <[EMAIL PROTECTED]>: > > > Thanks. cmake can find qmake when use terminal. > > > > Then as Alex suggested this should be an environment problem. > > > > Could you launch Eclipse from the very same terminal > > you succeed to run CMake from and retry ? > > > > What is your platform? > > Linux? > > Windows? > > > > What version of CMake and Eclipse do you use? > > > > > So maybe the best way is using eclipse as an Editor. > > > > I can assure you you may do more than that _CURRENTLY_. > > > > > But I hope in the futher, the CMake could be perfectly incorporated > > > into the eclipse. It is reall a good tool. > > > > > > Thanks for you help. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
