From the menu, Project, Build options, Linker settings, Other linker options - add " `pkg-config -libs gtk+-3.0` " (using backticks, not apostrophies)įollow the standard conventions for writing the code.
From the menu, Project, Build options, Compiler settings, Other options - add " `pkg-config -cflags gtk+-3.0` " (using backticks, not apostrophies).
In the Build log, this shows the full commpiler and linker commands used, so that they can be verified.
From the menu, Settings, Compiler and debugger settings, Other Settings, Compiler logging - set to Full command line.
To use the GTK+ libraries for graphical windowed layouts requires the following settings. The following languages are syntax checked, using the lexers in /usr/share/codeblocks/lexers/. They are read from /usr/lib/codeblocks/plugins: 1 Overview 1.1 Self-Hosting 2 Prerequisites 2.1 Bootstrap Code::Blocks 2.2 MinGW Compiler 2.3 wxWidgets 2.4 Utilities 2.4.1 ZIP 2.4.2 SVN 2.5 Code::Blocks Sources 2.5.1 TortoiseSVN 2.5.2 Command-Line SVN 3 Build wxWidgets Support Library 3.1 Configure Build Options 3.2 Build wxWidgets Library 4 Build Code::Blocks 4.1 Self-Hosting 4. The following plugins are installed using the commands above.
GNU ARM GCC Compiler (do not use for Raspberry Pi programs).
The following features and capabilities are available in Code::Blocks if installed as above.