Patrick Hartling wrote: > The OpenSG 2 build is broken on Mac OS X because there are two files that > would create OSGCocoaWindowBase.o: OSGCocoaWindowBase.cpp and > OSGCocoaWindowBase.mm. The file OSGCocoaWindowBase.cpp was added in Revision > 668. Is there a reason to have OSGCocaWindowBase.mm instead of > OSGCocoaWindowBase.cpp? The code contained in OSGCocoaWindowBase.mm is not > making any Objective-C calls, and I assume that it is code generated from > fcd2code. It seems like it would be simpler to keep the .cpp extension since > the compiler does not need to treat the contained code as Objective-C++.
I should have looked more closely at what is going on. I see now that OSGCocoaWindowBase.h includes headers that reference Objective-C types, and that is why there must be OSGCocoaWindowBase.mm instead of OSGCocoaWindowBase.cpp. To fix this, I simply renamed OSGCocoaWindowBase.cpp to OSGCocoaWindowBase.mm since the .cpp version seems to have been generated more recently than the most current .mm version. -Patrick -- Patrick L. Hartling VP Engineering, Infiscape Corp. http://www.infiscape.com/
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
