User forums > Help

Using other headers

(1/1)

stachu:
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...

oBFusCATed:
Do you have project? Seems you don't, why no make one?

stachu:
I do have a project

oBFusCATed:
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

Navigation

[0] Message Index

Go to full version