Hi All,
As a new comer to openframeworks projects I want to know that could I include some external Linux shared library header files into a “.cpp” file of an openframeworks project and then compile the “.cpp” file and link it to the external shared library’s “.so” file ?
I know that I could add “USER_CFLAGS = -I/path/to/external_shared_library/header.h” and add “USER_LIBS = -lexternal_shared_library” in “config.make”. But how could I add a flag for openframeworks to search for the location of the external shared library in linking process, e.g. “-L/path/to/external_shared_library” and how could openframeworks finds the external shared library when I run the compiled program (assume that the external shared library is not in the standard locations such as /usr/lib, /usr/local/lib) ?
openframeworks would be even more interesting if it could link to the world of external shared libraries.
Thanks for any suggestion.
Regards
Lawrence