Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

Some help compiling Flare plz?

Matheus-MindRap...
Friday, August 31, 2012 - 06:54

So, I know its not the right place to ask this, I guess, but anyway...

 

Im trying to compile Flare using CMAKE... but I'm facing trouble due to this:

 CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):

Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindSDL.cmake:172 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

CMakeLists.txt:34 (Find_Package)

I got to a dead end, cant think of how to pass it... could anyone help me?

 

  • Log in or register to post comments
makrohn
joined 13 years 5 months ago
Friday, August 31, 2012 - 07:16
makrohn's picture

See Clint's reply below.

  • Log in or register to post comments
Clint Bellanger
joined 16 years 1 month ago
Friday, August 31, 2012 - 07:08
Clint Bellanger's picture

You need the SDL Development Libraries for SDL, SDL_image, SDL_mixer, and SDL_ttf. I believe they're all version 1.2 except SDL_ttf which is 2.0.

Take a look here:

http://www.libsdl.org/download-1.2.php

You'll see "devel" versions of these libraries. They are provided for Visual C and for MinGW.

They'll contain an "include" folder and a "lib" folder. Copy these into the matching include and lib folders of your compiler. E.g. for MinGW that is C:\MinGW\include\ and C:\MinGW\lib\. Do this for all four SDL libraries.

Note: you don't need to compile the dev libraries from source; the compiled DLLs are already provided in those packages. You'll drop the DLLs into the same folder as the .exe once it's compiled.

  • Log in or register to post comments
Matheus-MindRap...
joined 13 years 2 months ago
Friday, August 31, 2012 - 07:43

Ty guys... I've tried, and my error log changed a bit, haha...

So now I have, after moving all the four folders into their correct places:

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):

Could NOT find SDL (missing: SDL_INCLUDE_DIR)

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindSDL.cmake:172 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

CMakeLists.txt:34 (Find_Package)

not sure if its relevant, but the CMake seems to be having some trouble here before the error pops out:

Looking for pthread_create

Looking for pthread_create - not found.

Looking for pthread_create in pthreads

Looking for pthread_create in pthreads - not found

Looking for pthread_create in pthread

Looking for pthread_create in pthread - found

As Im quite new to all of it, I really dont understand much yet of compiling and compilers.

I´ve copied the includes and bins from SDL-devels, image_devel, mixer_devel and ttf_devel. Any other ideas that could help me? =(

 

  • Log in or register to post comments
Matheus-MindRap...
joined 13 years 2 months ago
Friday, August 31, 2012 - 08:03

Well, seems I got to make it work... I hope you guys wont hate me if I come back soon with more bad news =P 

Thanks for all the help tho :D

  • Log in or register to post comments