From: Carsten N. <car...@gm...> - 2007-10-05 13:39:59
|
Hi Gerrit, Gerrit Voss wrote: > On Thu, 2007-10-04 at 19:20 -0500, Carsten Neumann wrote: >> Carsten Neumann wrote: >>> ok, I'll try to get something that compiles over the day. >> I'm sorry to say so, but I did not manage to get it working, yet. Still >> I committed what is there to the Carsten_PtrWork branch, so you can take >> a look at the generated code if you like. >> I believe the compile currently fails because there are only >> ParentFieldContainerPtr while the Viewport would need ParentWindowPtr. > > not only, I get > > build.linux.g++/instlinks/include/OpenSG/OSGMemoryObject.h:46:34: error: > OSGRefCountFunctions.h: No such file or directory argh, I forgot to add these to the branch, sorry. Shouldn't do these things right before I leave the office... :/ > and BTW the fcd2code does not work to (something about field and ljust). hm, I can not reproduce this. Do you have any additional .fcd files in your tree ? Also I have not done anything with the bundle templates so I don't know if those work. I've attached the script I use to regenerate all base classes maybe that works (it's not very clever and should be run from the top directory of the branch, i.e. from the one that contains the Source and Tools directories). > As to the parent ptr stuff. The current code works with > ParentFieldContainerPtr (viewport::parent) so I don't see why it should > stop working now. in Viewport not ViewportBase there are handcoded functions for getParent/setParent that return/accept a WindowPtr, the generated code is not smart enough yet to generate something similar or to store ParentWindowPtr. Carsten |