On 2009-04-16 10:43, Maik Beckmann wrote:
Arjen Markus schrieb am Donnerstag 16 April 2009 um 09:32:
Hello,

in the PLplot project I have run into a few problems with the MSYS
environment under Windows XP. The first one is that the CMake variable
MSYS does not get set properly - or else I am doing something wrong.

Here is what I do to work under MSYS:
- Start the rxvt console (via a shortcut created during the installation
   of MSYS)

- I start CMake (version 2.6.2, IIRC) with:
   cmake -G "Unix makefiles" .

MSYS has its own generator, so this should be
  cmake -G "MSYS Makefiles"


Hm, could that be the problem? I noticed that CMake is indeed reacting
differently if -G is set differently:

- No -G option: CMake recognised the MS Visual C/C++ compiler as
  the C compiler on my system, and both MSYS and MINGW were unset.
  (This answers Werner's suggestion)

- -G "Unix Makefiles" caused it to recognise the MSYS/MinGW installation
  of gcc and set MINGW to 1.

It is worth a try, indeed!

Thanks,

Arjen


Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of TNO and parts of Rijkswaterstaat have joined forces in a new independent institute for delta technology, Deltares. Deltares combines knowledge and experience in the field of water, soil and the subsurface. We provide innovative solutions to make living in deltas, coastal areas and river basins safe, clean and sustainable.


DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.




_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to