SFML community forums

Help => General => Topic started by: revix2k9 on September 14, 2012, 10:49:27 pm

Title: Codeblocks setting up
Post by: revix2k9 on September 14, 2012, 10:49:27 pm
I followed the tutorial tried linking the dlls static i get this error.

cannot find -lsdlmain
Title: Re: Codeblocks setting up
Post by: Laurent on September 14, 2012, 11:02:37 pm
Seriously? >:(

This library is SFML, not SDL.
Title: Re: Codeblocks setting up
Post by: FRex on September 14, 2012, 11:17:07 pm
Quote
Seriously?  >:(
I thought the first post was funny but then I saw that.
Title: Re: Codeblocks setting up
Post by: revix2k9 on September 14, 2012, 11:24:35 pm
Seriously? >:(

This library is SFML, not SDL.
lol i get it now T_T codeblocks has SDL with sfml T_T i removed the sdl include / lib from codeblocks but its still saying it T_T
Title: Re: Codeblocks setting up
Post by: Laurent on September 14, 2012, 11:54:40 pm
This error means that you have added "-lsdlmain" to your linker settings (in "additional libraries", or something similar).
Title: Re: Codeblocks setting up
Post by: eXpl0it3r on September 15, 2012, 12:46:14 am
lol i get it now T_T codeblocks has SDL with sfml T_T i removed the sdl include / lib from codeblocks but its still saying it T_T
Does that mean, that you're using some Code::Blocks template?
Don't do that, but use an empty project and set all the settings correctly on your own, with the help of the tutorial.