Primary tabs

Comments by User

Thursday, October 4, 2012 - 16: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.

Thursday, October 4, 2012 - 10: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!

Wednesday, October 3, 2012 - 14: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.

 

Tuesday, October 2, 2012 - 20:26

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

Tuesday, October 2, 2012 - 19: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