Hi Jose-Luis,

be assured I seen these messages before and also did the whole patches/linker flags etc. pp. that were suggested there. Still, the RTTI is stripped - so *nix is not going to work. Admittetly, I updated the osgLua sources in an intree version and added my own copy of Lua 5.1.4 into the buildsys (with the patch). Again, I checked that in the whole chain mentioned libs are being compiled with these flags.

Its a pitty that this is been "ignored" by the Lua developers - I can't see why it is so outragous difficult to add this options. I will try to investigate in more depth - after all this is a very specific use-case.

Are you still working on osgLua? I can flick you a few patches that might fix a couple of problems.

Cheers,
Hartmut


Jose Luis Hidalgo wrote:
Hi Hartmut,
  The problem is how lua loads libraries, is an issue that comes from
time to time, and never is important enough to be solved:

http://lua-users.org/lists/lua-l/2007-10/msg00098.html

the answer from Luiz was:

http://lua-users.org/lists/lua-l/2007-10/msg00120.html

Basically that means you can not use osgLua properly from a vanilla
lua interpreter+libraries.

I tried myself to ask for it on the list:

http://lua-users.org/lists/lua-l/2006-11/msg00174.html

But... nothing :(

Hope it helps.

Jose-Luis.
On Mon, Dec 15, 2008 at 9:34 PM, Hartmut Seichter
<[email protected]> wrote:
No, not from Lua (or I guess a lua interpreter) itself - I have a wxWidgets
application which loads various plugins and one of them is a based around
osgLua - thus, lua_open etc pp should happen in that context. On Windows and
Mac this whole mechanism works fine - on Linux the RTTI seems to be the
showstopper. I added the Linkerflags mentioned somewhere to the whole chain
of dependencies: App > Plugin > Lua Lib

Any other ideas?


H


Jose Luis Hidalgo wrote:
Hi Hartmut,
  How do you try to load osgLua? from lua itself?

Cheers,
  Jose-Lus.

On Sun, Dec 14, 2008 at 10:25 PM, Hartmut Seichter
<[email protected]> wrote:

Hi there,

I am trying to combine the power of osgLua and osgSWIG in a new project
(no
I am not mad :)) ... However, I couldn't get osgLua play nicely on Linux
- I
did all the patching mentioned but no avail. I am on 64bit Ubuntu ... any
idea where things go haywire ... seems that RTTI get still stripped -
print(osg.Node) returns some mangled reference to osgObject.

Cheers,
Hartmut

--
Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow,
HITLabNZ

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow, HITLabNZ

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to