Sorry to bother again with this problem, but I still cannot manage to build
Collada plugin for Mac...(now trying with OSG 2.7.9+Collada DOM 2.1)

...I suppose that the OSG's Xcode project does not work for target
"osgdb_dae.so", I expected to build successfully the project 'out of the
box', but first I had to manually add a reference to boost headers, and
moreover Collada14Dom.dylib is not found by the linker...

...I also used Cmake to generate just make files and tryied to build from
command line, but again I got a linking error...

...I manually set both LD_LIBRARY_PATH and DYLD_LIBRARY_PATH to the
directory where Collada14Dom.dylib is but I still cannot link agaist it...

At this point I'd just like to know if it is a problem about my dev
environmet or if there is something wrong about OSG's Xcode project and/or
make files...

By the way, does anyone managed to build Collada plugin for Mac OS X (10.5)?
Thank you.
Alessandro
On Thu, Feb 5, 2009 at 3:58 PM, alessandro terenzi <[email protected]>wrote:

> I moved a step forward but still didn't manage to build dae plugin.
> One of the problems was that the ColladaDOM's Xcode project build only
> static version of the dom, so I manually used 'make' from the shell to build
> the dynamic library.
> On the OSG side, although I set cmake paramters for COLLADA, it looks like
> they are ignored in the Xcode project, so I had to manually set again the
> include dir for osgdb_dae.so target and I also added the path my
> Collada14Dom.dylib...but the linker continues to give me a 'library not
> found' error:
>
>  *ld: library not found for -lcollada14dom*
>
> *collect2: ld returned 1 exit status*
>
> Can anyone help please?
> Thank you. Best regards.
> Alessandro
>
> On Mon, Feb 2, 2009 at 10:49 AM, alessandro terenzi 
> <[email protected]>wrote:
>
>> I need to build collada plugin for Mac OS X (10.5) but I didn't manage to
>> build it.
>>  Actually I did not understand which version of Collada DOM must be used
>> with which OSG's version.
>>
>> In my last try (OSG 2.7.8 + Collada DOM 2.2) I had an error concerning
>> BOOST...it looks like that many collada plugin files try to include
>> <boost/filesystem/convenience.hpp> but unsuccessfully. Anyway I found it
>> somewhere in the Collada files, so I manually added that path to build the
>> plugin, but the linking failed because "collada14dom" was not found.
>> Actually the Xcode project for Collada DOM builds just libdom.a (which I
>> choose with Cmake).
>>
>> Am I missing something? Any suggestion? Thank.
>> Alessandro
>>
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to