Hi Matt,
generally there are two ways of using the DOM in your Mac-project.
The first one is to simply build the DOM like on Linux and link it with your project statically. I tried this with the last SVN - version and I was able to reproduce your error-message. You simply have to rearrange the build-command to get rid of the error and successfully link to the DOM.
For the current version in SVN:
Use those LDFLAGS:
-L$(COLLADA_DOM_LOCATION)/lib/linux_1.4 -lcollada_dae -lcollada_dom -lcollada_dae -lxml2
…the linker needs -lcollada_dae twice (before and after -lcollada_dom). Of course you have to set or replace COLLADA_DOM_LOCATION with wherever your COLLADA_DOM is located at.
If you link against the last official DOM-release (1.3) see here for setting up your client build-configuration. Additionally you have to add daeRawResolver.cpp to Makefile_PC in DOMROOT/src/dae/Makefile_PC.
Now, the second and probably the more convenient way to use the DOM on Mac (10.4 Tiger), is to include the DOM as a framework to your projects. The current svn - version from sourceforge now contains a Xcode project which you can use to easily build the framework. A framework bundle contains all you need to build and link against the library: a dynamic library, the headerfiles and additional documentation. You can find more information about frameworks here.
As another advantage the DOM-Framework is automatically build as an Universal Binary (Release-build only)
After building it, place it in /Library/Frameworks (which is a convenient location).
When building your project with a Makefile use
-I/Library/Frameworks/Collada141Dom.framework/Headers
for CXXFLAGS so the compiler finds the correct headers, and use
-framework Collada141Dom
as the linker flag.
In Xcode add the existing DOM-framework to your project and also set the additional header-searchpath mentioned above.
As a sidenote: The COLLADA Refinery-tool is now available for Mac, too. Download the current SVN from http://sourceforge.net/projects/colladarefinery , open up the Xcode project, build and run. You have to build the ColladaDom-framework first and place it into /Library/Frameworks.
The Xcode-projects are pretty new and there isn’t much documentation about using them as they are in svn only. I will write some documentation for the Wiki soon. Please let me know if you run in any troubles using the Xcode projects.