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]

Building on Windows

Black George
Saturday, July 21, 2012 - 12:19

Wanted to try building Flare on Windows so I installed MinGW. That seems to be working OK, but I'm not sure how to install the SDL development libraries. I downloaded a tarball from the SDL site specifically for MinGW but don't know where to go with it from here. Do I just untar it and "configure; make; make install" or is there a special program that comes with MinGW for handling it? I realize this isn't a Flare question, but I've already spent more than an hour trying to find some details on MinGW's site and have had no luck; I figured this would take just a quick answer from whoever makes the official Windows build. Thanks.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 10 months ago
Tuesday, July 24, 2012 - 18:32
Clint Bellanger's picture

Those SDL_devel downloads (for SDL, SDL_image, SDL_mixer, SDL_ttf) should come with .lib and .a files (probably inside a lib folder). Those should be placed in MinGW's lib folder so that you can compile SDL programs.

Also on Windows I make sure C:\MinGW\bin is in my Path.

Once that's done, I run this command in the folder with Flare's src files:

g++ -I C:\MinGW\include\SDL src\*.cpp src\*.c -o flare.exe -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf

This should create a flare.exe file.

  • Log in or register to post comments
Black George
joined 12 years 12 months ago
Wednesday, July 25, 2012 - 18:59

Thanks very much. And thanks to you and the other developers for such a great game.

--- Black George

  • Log in or register to post comments