Hi to all,
I am a newbie with codeblocks. I have installed a linux version , (slackware 12). the program run well but I don't know how to set global variables to specify wxWidgets libraries; I mean which variable name and directores.
I am reasonig like if I were in windows environment. Am i doing a mistake ?.
I see that the mingW gcc compiler have been detected. that is enough?
Someone could give me any suggestion about?
Thanks to all.
Quote from: Joss on September 10, 2007, 12:15:23 AM
I don't know how to set global variables to specify wxWidgets libraries; [...]
http://wiki.codeblocks.org/index.php?title=Global_compiler_variables
Thank you mortenMacFly , but I think that is not what i was loooking for. I seen that wiki but it refer to windows environment. I have already configured in WinXP. I was looking for linux environment.
any other suggestion?
Quote from: Joss on September 10, 2007, 12:15:23 AM
I am a newbie with codeblocks. I have installed a linux version , (slackware 12). the program run well but I don't know how to set global variables to specify wxWidgets libraries; I mean which variable name and directores.
Actually you don't need Global variable on Linux. On Linux,
wx-config does the job. Just add
`wx-config --cflags` in Project > Build options > Other options and
`wx-config --libs` in Project > Build options > Linker settings > Other linker options. Don't forget to add the
backticks.
Or simpler way, use wxWidgets project wizard which will do these jobs for you.
Tanks biplab,
You ( of course ) right. I tray with a new project and all is OK! :D
I read all the wiki but I didn't find that information.
Tanks a lot.