News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

SFML Project in Code::Blocks

Started by psychohyena, November 03, 2010, 11:14:40 AM

Previous topic - Next topic

psychohyena

Hey all,

I'm wondering if someone knows how to resolve this issue. I have chosen to create a fresh SFML Project in Code::Blocks, I set the location of the files to the correct location, however whenever I try to compile the default application it keeps telling me that it cannot find -lsfml-audio.dll

Even placing -lsfml-audio and other variations of this (-lsfml-audio.dll etc) does not fix the problem.

I have the lib and include folders included in the Search Directories area and everything seems to like a-ok.

The folder structure of the SFML folder (the default structure from the official dl) is:

SFML\
SFML\lib\
SFML\include\
SFML\include\SFML\

To even get Code::Blocks recognising the location of the headers I needed to modify the include folder so that the headers were in the SFML\include\ and the SFML\include\SFML\ folders.

I am currently using Code::Blocks 10.05 and SFML 1.6 on Windows XP SP2.

Let me know if you need any more information to resolve this.

Cheers,

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]