Hi,
I'm working on a C++ command tool project that depends on a third party architecture called ACE (adaptive communication environment). I'm new to Xcode and this is what I've done to have my command tool project "sees" the ACE library.
- compile the ACE library so that I have a bunch of dynamic libraries: xxx.dylib
- add the libraries as a dependency to the target (thru target info -> build )
- add the directory where I have the header files to the header path build setting
In one of the classes named ACE_Configuration, the header file declare a bunch of function as pure virtual. But in the implementation (cpp) file for the class, the functions are defined.
Now when I subclass from ACE_Configuration and instantiate this subclass in main, when I compile Xcode says I cannot instantiate this subclass because some functions are pure virtual. So in effect, Xcode is only looking at the header file and think ACE_Configuration is an abstract class but in fact it's not. Perhaps I'm not incorporating the ACE library the right way? e.g. I shouldn't use it as a dynamic library and that I need to compile everything together? That can't be i think, I'm not sure what i'm missing. Can someone please help? Thanks!
-Tony