Replies: 1 comment
-
|
Hi 🙂 About addons: your understanding is correct 👍 If your goal is to use OF as a library: ofAppNoWindow / ofRunMainLoop is fine, just make sure: Hope this clarifies things — happy hacking with OF 🚀 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, the of project is compiled by make system, But in my case, my project is compiled by cmake, and I want to link of's .so/.a libraries into my project. I saw the makefile and compile command line:
, so I want to link the commond line's libs by target_link_libraries / target_include_directories in cmake. Is there any problem in this way? and aother question: I saw when addons is used by of project, the addon source code is compiled with my code together, So, I must add the addon's to my cmake's add_executable ?
In general, I want to use of as a library, link to my program( which is not compiled by cmake), process ofAppNoWindow / ofRunMainLoop in my source code, can you give me some compile's advices? thankyou!
Beta Was this translation helpful? Give feedback.
All reactions