hi
i hope somebody can help me, maybe explain something.
i try to use a code from another project and have several problems or
do not know enough about libraries, linking, and stuff...
the project i want to use can be compiled as dynamic library with xcode
(theres a project to do this), i recompiled the source-files as shared
library in codewarrior. for this i made a new project, added all the
..cc files to it and configured the target to build a shared library.
(right?)
then i made a project where i added the shared-library, and the correct
search paths (to the lib, and to the .h files). the .cc file looks like
this:
#include "mpisearchFaceDetector.h"
int main () {
//
// Initialize the MPISearchObjectDetector object
//
MPISearchFaceDetector mpi;
return 0;
}
the code compiles fine, but i get link errors:
Link Error : undefined:
'MPISearchFaceDetector::~MPISearchFaceDetector()' (code)
Referenced from 'main' in main.cc
Link Error : undefined:
'MPISearchFaceDetector::MPISearchFaceDetector()' (code)
Referenced from 'main' in main.cc
so, it looks like, the library does not work properly?
looks like the linker does not find the class...
do i have to take care of something, if i build the lib - entrypoint?
do i have to change a setting in the test project, tell the target
something about the lib (whatever)
how does this all work ?!!?
is it possible to use the framework (compiled with xcode)
i dont know why this does not work, and hope somebody can help me,
bringing some clarity...
thx
inx