User forums > Help

SFML Project in Code::Blocks

(1/1)

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:
What compiler are you using?

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Tim S.

Navigation

[0] Message Index

Go to full version