libSDL and how to use it?

CodeLite installation/troubleshooting forum
obsrv
CodeLite Curious
Posts: 2
Joined: Tue Jul 06, 2010 12:07 am
Genuine User: Yes
IDE Question: C++
Contact:

libSDL and how to use it?

Post by obsrv »

Hello,
I need to get SDL project compiled, how do I install SDL to CodeLite, so I can compile SDL programs?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: libSDL and how to use it?

Post by eranif »

Install it as if you do without any IDE, then update the compiler & linker paths in your project paths

Eran
Make sure you have read the HOW TO POST thread
obsrv
CodeLite Curious
Posts: 2
Joined: Tue Jul 06, 2010 12:07 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: libSDL and how to use it?

Post by obsrv »

I cant find where to update compiler and linker paths.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: libSDL and how to use it?

Post by eranif »

right click on your codelite's project and select 'Settings...' (the last option)
In the dialog that pops up, you can update the paths under the 'Compiler' & 'Linker' tabs

Please read this: http://codelite.org/LiteEditor/ProjectSettings written by DavidGH for further explanation on the various tabs in the project settings dialog

Eran
Make sure you have read the HOW TO POST thread
Post Reply