Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Linux - Adding external includes to Code Blocks

$
0
0

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 also added the .so library file inside the /bin/libs folder


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>