Code::Blocks Forums
User forums => Help => Topic started by: stachu on February 17, 2010, 11:42:16 pm
-
hello
i use #include <libplayercore/playercore.h> in my project.
To compile my project, i changed properties of 'main.cpp' (this file includes libplayercore/playercore.h).
in window
main.cpp > properties > advanced > Custom build
I put:
$compiler -Wall -fpic -g3 `pkg-config --cflags playercore` -c $file -o $object
and it worked for me.
Is there better way do to this?
I would like to use code cmpletion for libplayercore/playercore.h, but it doesn't work right now...
-
Do you have project? Seems you don't, why no make one?
-
I do have a project
-
So why don't you use project -> build options -> compiler -> other options?
For more info read the manual, please: http://www.codeblocks.org/user-manual