News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Using other headers

Started by stachu, February 17, 2010, 11:42:16 PM

Previous topic - Next topic

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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stachu


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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]