[CMake] Help:Using CMake with Eclipse

Yang, Y. Y.Yang at tue.nl
Tue Jan 15 17:14:11 EST 2008


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:eric.noulard at gmail.com]
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. <Y.Yang at tue.nl>:
> 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.
-- 
Erk



More information about the CMake mailing list