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

Primary tabs

  • View
  • Collections
  • Comments(active tab)
  • Followers
  • Friends
  • Favorites
Create a new folder and put
Thursday, October 4, 2012 - 13:18

Create a new folder and put mods folder, the new compiled exe and DLLs. flare.exe (game) if it works but my exe does not work, I may have some wrong settings when compiling, the executable compiled in Win32 API?

Dev C++ not give me any error or warning.

Is solved, it seems that the
Thursday, October 4, 2012 - 07:14

Is solved, it seems that the library SDL_ttf not coded for  call by -l, put on linker options, add lib and put the exact address and I already compiled without errors.

 

Will do a video guide for those who are compiling with Dev C + + to see xD.

 

Greetings!

I did this:
Wednesday, October 3, 2012 - 11:49

I did this:

 

New Empty Project -> Win32 Gui.

Add all c++ and header Flare files into project.

In Compiler Options i add in directories include folder with SDL files and in Libraries i add lib folder with SDL, sdlmain, SDL_mixer, SDL_ttf and SDL_image.

In linker i put this:

-lmingw32 

-lSDLmain 

-lSDL 

-lSDL_image 

-lSDL_mixer 

-lSDL_ttf

 

 

And Dev C++ say me: Undefined reference to TTF_xxx.

 

It's as if he did not recognize the library or as if it were not linked to the project. Is more strange.

 

Yep! Now only have errors
Tuesday, October 2, 2012 - 17:26

Yep! Now only have errors with SDL_ttf, is more strange, i add linked object into project 

Thanks for info :D. Now i
Tuesday, October 2, 2012 - 16:57

Thanks for info :D. Now i reduced more errors, but I still have some error.

Follow this guide step by step and the number of errors has been reduced a lot but there is some.

 

Undefined reference to TTF_XXX (sdl_ttf suposse) 

[Linker error] undefined reference to `SDL_gfxBlitRGBA' 

more undefined references to `SDL_gfxBlitRGBA' follow 

[Linker error] undefined reference to `WinMain@16' 

 

I have Windows 7 64 bits, 

 

In project linked i put:

-lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf

 

Thanks for reply!

Pages

  • « first
  • ‹ previous
  • 1
  • 2
  • 3