On 4/1/07, E. Wing [EMAIL PROTECTED] wrote:
Maybe this could be implemented in a major release of CMake, thus
developers would be aware that changes are required to their scripts.
As soon as it is advertized enought, it's ok.
I'm more inclined to leave the current behavior, and when SDL 1.3
-- Forwarded message --
From: PA Galmes [EMAIL PROTECTED]
Date: Mar 31, 2007 4:07 PM
Subject: Re: [CMake] Re: FindSDL.cmake and mingw / msys
To: E. Wing [EMAIL PROTECTED]
On 3/28/07, E. Wing [EMAIL PROTECTED] wrote:
So I'm concerned about breaking backwards compatibility. I
The issue I see at the moment is that setting SDL_LIBRARY_TEMP is
not required by CMakeSetup. So you can finish the configure step
without setting SDL_LIBRARY_TEMP. But if you do so it will not compile
under Windows. So this should not happen.
So the options to me are:
- initialize
On 3/24/07, E. Wing [EMAIL PROTECTED] wrote:
The SDL_LIBRARY_TEMP solution comes from something I think Bill
suggested to me. It seemed to work cleaner than the above solutions,
but I overlooked the fact that SDL_LIBRARY_TEMP must be set before
SDL_LIBRARY is created. Still, all-in-all, I
On 3/22/07, E. Wing [EMAIL PROTECTED] wrote:
And if I check all variables using the show advanced values,
SDL_LIBRARY is nowhere. The only other variable is SDL_LIBRARY_TEMP
showing the value SDL_LIBRARY_TEMP-NOT-FOUND.
Any clue?
Yeah, this is an artifact of how the script works. The
And if I check all variables using the show advanced values,
SDL_LIBRARY is nowhere. The only other variable is SDL_LIBRARY_TEMP
showing the value SDL_LIBRARY_TEMP-NOT-FOUND.
Any clue?
Yeah, this is an artifact of how the script works. The quick answer is
to set the SDL_LIBRARY_TEMP
-- Forwarded message --
From: PA Galmes [EMAIL PROTECTED]
Date: Mar 22, 2007 6:22 PM
Subject: Re: [CMake] Re: FindSDL.cmake and mingw / msys
To: E. Wing [EMAIL PROTECTED]
Hi Eric,
sorry for replying so late.
On 3/13/07, E. Wing [EMAIL PROTECTED] wrote:
From: PA Galmes [EMAIL
On 3/13/07, Werner Smekal [EMAIL PROTECTED] wrote:
Hi Pierre,
Hi Werner,
okay, I looked at FindSDL.cmake more carefully. First I think you should
make sure that SDL is actually found. You should have something like
this in you cmakeLists.txt:
find_package(SDL)
if( NOT SDL_FOUND )
And if I check all variables using the show advanced values,
SDL_LIBRARY is nowhere. The only other variable is SDL_LIBRARY_TEMP
showing the value SDL_LIBRARY_TEMP-NOT-FOUND.
Any clue?
Yeah, this is an artifact of how the script works. The quick answer is
to set the SDL_LIBRARY_TEMP with your
On 2/24/07, PA Galmes [EMAIL PROTECTED] wrote:
Hello,
I've been playing for some days with cmake, and I have
to say that I quite love the way it works. But while trying
to compile a sourceforge project under Windows using
MSYS, I run into a problem.
I do not know if the problem is related to
Hi,
reading the bug report, the problem is:
# MinGW needs an additional library, mwindows
# It's total link flags should look like -lmingw32 -lSDLmain -lSDL
-lmwindows
# (Actually on second look, I think it only needs one of the m* libraries.)
IF(MINGW)
SET(MINGW32_LIBRARY mingw32 CACHE
On 3/13/07, Werner Smekal [EMAIL PROTECTED] wrote:
Hi,
Hi Wermer
reading the bug report, the problem is:
# MinGW needs an additional library, mwindows
# It's total link flags should look like -lmingw32 -lSDLmain -lSDL
-lmwindows
# (Actually on second look, I think it only needs one of
On 3/13/07, Werner Smekal [EMAIL PROTECTED] wrote:
Hi,
Hi Wermer
reading the bug report, the problem is:
# MinGW needs an additional library, mwindows
# It's total link flags should look like -lmingw32 -lSDLmain -lSDL
-lmwindows
# (Actually on second look, I think it only needs
never separated Msys and MinGW. (I never
managed to get MinGW to do anything useful for me without Msys.)
Thanks,
Eric
From: Werner Smekal [EMAIL PROTECTED]
Subject: Re: [CMake] Re: FindSDL.cmake and mingw / msys
To: PA Galmes [EMAIL PROTECTED]
Cc: cmake@cmake.org
Message-ID: [EMAIL PROTECTED
From: PA Galmes [EMAIL PROTECTED]
Looking at your bug report, SDL_LIBRARY shouldn't be empty. This is
your problem. For Windows, you need at least SDLmain and SDL. I'm not
sure why these variables are empty. It could be a bug in the script.
Did you manually set the SDL_LIBRARY in your
Hi Pierre,
okay, I looked at FindSDL.cmake more carefully. First I think you should
make sure that SDL is actually found. You should have something like
this in you cmakeLists.txt:
find_package(SDL)
if( NOT SDL_FOUND )
message( Warning: SDL not found )
endif( NOT SDL_FOUND )
or since you
16 matches
Mail list logo