0

I'm starting with CodeLite and I wonder how do I add an external library. I wanna make a SFML game using CodeLite and I'm getting some troubles with it. I used to program with QtCreator, but now I'm trying something new.

Jazzguy
  • 147
  • 1
  • 11

1 Answers1

2

Right click on the project icon on the left side (in the tree view) and select 'settings->common settings->linker' There you have 2 fields: Library paths and libraries, in the first one, place the path to your library and in the later, place the name of the library (you can omit the prefix and extension)

Eran

Eran
  • 2,310
  • 1
  • 13
  • 13
  • I tried this, I still get undefined reference errors – Jazzguy Sep 29 '14 at 13:59
  • Sounds like you are having a compiler problems. Which compiler are you using? Showing the build log will help a lot (also, try posting this on the codelite's forum http://forums.codelite.org ) – Eran Sep 29 '14 at 15:15
  • I'm using MinGW with gcc 4.8. I'll try there. Thank you. – Jazzguy Oct 01 '14 at 03:13