Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: sunshine2012 on July 12, 2012, 11:10:31 pm
-
I would like to add more than one include oder lib, e.g. for installing gtkmm, is there a possibility for this?
-
Sure, you can add as many as you like / need in the project's build options.
Project -> Build options -> [Project level / target level] -> tab "Search directory" -> tab "Compiler".
-
Ok, but as I understand, there could be added only one line simultaneously.
Additionally this only works for current project, doesn't it?
Is there a possibility to add more than one line simultaneously?
I would like to use GTKmm within Codeblocks, so that everytime a new project is created,
the libraries are automatically included.
I think I have to tell Codeblocks under Settings/Comiler and Debugger/Search directories
and then under compiler the includefiles and under linker the libs.
Is that correct?
-
Ok, but as I understand, there could be added only one line simultaneously.
Additionally this only works for current project, doesn't it?
You can make a template out of your fully configured project (once it is) and then use the template for new (GTK based / similar) projects. That's what templates are fore.
I think I have to tell Codeblocks under Settings/Comiler and Debugger/Search directories
and then under compiler the includefiles and under linker the libs.
Is that correct?
If you only develop for GTK, this maybe a (kind of lazy) solution.
-
If you only develop for GTK, this maybe a (kind of lazy) solution.
Yes, I am a beginner and would like to gain some experience with gui-programming, for this case gtkmm seems the best choice, as it is
quite "natural" and logical.
Qt should be the best gui, but I think it is not for beginners.
-
Yes, I am a beginner and would like to gain some experience with gui-programming, for this case gtkmm seems the best choice, as it is
quite "natural" and logical.
Qt should be the best gui, but I think it is not for beginners.
What about wxWidgets? In the end Code::Blocks offers full wx integration and a GUI builder of it and is based on wxWidgets, too. Strange you pick anther framework... ???
-
What about wxWidgets? In the end Code::Blocks offers full wx integration and a GUI builder of it and is based on wxWidgets, too. Strange you pick anther framework... ???
wxWidgets was actually my first choice, but then I looked to the code of some examples and I got the opinion that the code of
gtkmm ist much more easier to understand for beginnners.