Author Topic: SFML Project in Code::Blocks  (Read 5563 times)

psychohyena

  • Guest
SFML Project in Code::Blocks
« on: November 03, 2010, 11:14:40 am »
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,

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: SFML Project in Code::Blocks
« Reply #1 on: November 03, 2010, 09:17:02 pm »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org