User forums > Using Code::Blocks
Erreur compiling
Biplab:
Arrgh.. I missed to write intermediate steps. :x
It should be-
Add
--- Code: ---`pkg-config --cflags dbus-1 dbus-glib-1 glib-2.0`
--- End code ---
to Project > Build options > Compiler settings > Other options.
Then add
--- Code: ---`pkg-config --libs dbus-1 dbus-glib-1 glib-2.0`
--- End code ---
to Project > Build options > Linker settings > Other linker options.
I'm very sorry for the missed steps. And don't forget to add the backticks '`'. :)
Don't add them to Settings > Compilers and debuggers section as they will affect all other projects.
Navigation
[0] Message Index
[*] Previous page
Go to full version