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 » Tue Jul 06, 2010 12:22 am

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: 5982
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 » Tue Jul 06, 2010 8:49 am

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 » Wed Jul 07, 2010 2:54 am

I cant find where to update compiler and linker paths.

User avatar
eranif
CodeLite Plugin
Posts: 5982
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 » Wed Jul 07, 2010 9:48 am

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