Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Codelite and SFML  (Read 16246 times)

0 Members and 1 Guest are viewing this topic.

lane

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Codelite and SFML
« Reply #30 on: March 17, 2016, 03:07:08 am »
I added in all of the libs (dependencies included).

just to make sure I did things right:

sfml-graphics-s-d
freetype
jpeg
sfml-window-s-d
opengl32
gdi32
sfml-audio-s-d
openal32
FLAC
vorbisenc
vorbisfile
vorbis
ogg
sfml-network-s-d
ws2_32
sfml-system-s-d
winmm

That is how I have it inside of my Libraries. When I try to run the example code that is in the Code::Blocks SFML tutorial, I still have issues with graphics, specifically ImageLoader.cpp and jpeg. :'(

lane

Spirro

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Codelite and SFML
« Reply #31 on: March 17, 2016, 03:19:49 am »
I added in all of the libs (dependencies included).

just to make sure I did things right:

sfml-graphics-s-d
freetype
jpeg
sfml-window-s-d
opengl32
gdi32
sfml-audio-s-d
openal32
FLAC
vorbisenc
vorbisfile
vorbis
ogg
sfml-network-s-d
ws2_32
sfml-system-s-d
winmm

I think you probably should take a little break to clear out some of the frustration this is causing.  Looking at your list here and the list one the page linked above you didn't get things quite right.  Also, the example code has no need of the audio or network modules so putting them in is not helping anything.  Cut those out then look at the modified list here and the listing on the page linked before.

Everything you need is there.  Somehow you're just making things harder for yourself so take a little break.

lane

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Codelite and SFML
« Reply #32 on: March 17, 2016, 04:34:12 am »
you know what. I got it to work (I think)

Instead of statically linking it, I used the .dll s

in my Library I put just the sfml-... and then the dependencies. I then went to where the executable was being made and put the .dll s there. I think it all works, for I used the Pong example from the examples folder and got it to work!

Thank You All Very Much! I look forward to being able to code with SFML.

 8)
lane