Hi Fredrik,
On Mon, 2005-04-04 at 14:01 +0200, Fredrik Andersson wrote:
> Hi Dirk!
>
> I don't think there is anything hard about using fcdEdit!
> Actually, I think it's great to avoid the cut and paste errors that ALWAYS
> occur when creating new nodes.
True, that's an aspect I hadn't thought of. ;)
> I've come across some minor bugs using fcdEdit though.
> I'm using the 1.4 distribution on .Net2003.
>
> If you derive from a node that is not a system component an include
> referring to a system node is inserted anyway.
> #include <OpenSG/OSGNewNodeFields.h>
> The local include seems to be ignored too, in that case.
Thanks for spotting that, fixed the OpenSG/ bug. One unclear problem
with this one is the include mode. If the parent is in another
directory, <> would be correct, but if it's in the same directory, ""
would be better. For now I've kept it at <>, which seems to be the
better solution.
> It also inserted a lib define symbol even though I left that field blank.
> This seems to have been fixed in later versions though.
Yeah, I can't find that one any more.
> I have compiled all my nodes into a static lib. How am I supposed to inform
> the loader, in an application using that lib, about the nodes? So that it
> can load a file with my derived nodes in it.
The Nodes should automatically register themselves with the Factory on
startup, if you linked the lib into the app. The problem with smart
linkers and static libraries is that they only link stuff that's
actually used, so they might not take anything from your static lib if
nothing is used.
The two solutions I know are using a dynamic lib, or just explicitly
linking something else from the static lib (which is a really nasty
workaround). Does anybody know a better solution?
Yours
Dirk
--
-- Dirk Reiners OpenSG Forum [EMAIL PROTECTED]
-- The OpenSG Open Source Scenegraph: http://www.opensg.org
-- Join the list at http://lists.sf.net/lists/listinfo/opensg-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users