Quantcast
Viewing all articles
Browse latest Browse all 40524

How to add OF to an existing C++ project in Ubuntu

Many thanks for your detailed reply! This is great. It is much clear to me now.

My further questions now are:
How to use OF similar as other libraries, such as how to specify include path and lib files?

Currently, I compile OF inside OF folder and not sure where the lib files are. There is also no consideration of include path.

When I use OF as a library in a standalone C++ project, I need to specify the include path and lib files.

If I want to use an addon (e.g. ofxKinect) in my own project, how to define these then?

From my understanding, I need to copy OF files (e.g. ./lib/openframeworks under the main folder) to the folder of my C++ project and do "#include 'ofxmain.h'" in my project files. Am I right? Or I need to compile OF files as a separate lib? Thanks a lot!


Viewing all articles
Browse latest Browse all 40524

Trending Articles