[CMake] MinGW and cmake issues...
Phil Pellouchoud
Phil at slacker.com
Tue May 20 00:37:40 EDT 2008
Great call Hendrik! That was it.
I had both LIB set and INCLUDE set. I did a "set LIB=" and tried to
build, same error. But then I did a "set INCLUDE=" and it created the
makefiles successfully!
Thanks a ton!
-phil
-----Original Message-----
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf
Of Hendrik Sattler
Sent: Saturday, May 17, 2008 2:41 PM
To: Maik Beckmann
Cc: cmake at cmake.org
Subject: Re: [CMake] MinGW and cmake issues...
Maik Beckmann schrieb:
>> If I do a
>> find_library ( SOMEVAR ws2_32 )
>>
>> then cmake finds the wrong one at "C:/WINDOWS/system32/ws2_32.dll"
>> (which makes no sense and fails later) until I set the LIB
environment
>> variable to the mingw dirs. And setting INCLUDE might be as good.
>>
>
> Sorry, you lost me. How is this related to this thread?
>
Means: environment variable play an overly important rules if something
actually compiles. Maybe he has environment variables for another
compiler set.
HS
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list