I have built a shared lib from template library with TIzen studio (4). The lib is several c++ classes, within my own namespace "myspace".
The library builds okay, but how do I access the classes in it?
libmyspace.cpp:
namespace myspace{ class EXPORT_API MyClass{ public: MyClass(); ~MyClass(); void myfunc(){}; } }
In main.cpp:
#include "???" int main(int argc, char **argv){ myfunc(); }
I believe I have to include a header in main.cpp ("???") that defines the class MyClass from libmyspace.so, but what is in that header file?
Any help/pointers appreciated.
TIA
ken