Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Linux - Adding external includes to Code Blocks

$
0
0

@razvanilin wrote:

Hey everyone,

This might be a noob question, but I recently switched to Linux for development and I can't seem to be able to add external header files to the project in Code Blocks. (Not an addon)

With every google search I see people saying that I should go to Build Options and then Sub-directories and add the path there. When I go in the Build options menu, all I see is:

Can anyone point me in the right direction?

EDIT

I found out that I can also modify the config.make file to add external paths so I added it there but it still doesn't work:
PROJECT_EXTERNAL_SOURCE_PATHS = /full/path/include/

Another Edit

It turns out the files are properly included, it's just that for some reason I get a lot of undefined errors in my addon that's using the external files. I don't get undefined errors if I'm placing that code directly in my project. Does it have to do with the compiling order?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles