From: Eike D. <ei...@cu...> - 2005-09-03 09:00:01
|
Hi Thanks for the answer and positive feedback on a C compatible header. I am sorry that I haven't described the full "problem" in my last request, but I didn't thought it was necessary, but it seems to be more complicated than I thought (surprise surprise). The project I talked about is a 3D engine that can be extended by using lua and it looks currently quite nice (http://chilli.degnet.de/~e_decker/lux/index.php/Main/Screenshots - website is under construction...). - anyhow: We are currently using GLFW as windowenvironment for OpenGL which replaced Glut (we want to be plattformindependent). Now, the idea about wx was, that we could use it to extend the engine with GUI elements for making editors, etc. I have now tried out the loadlib function in lua to load the dll like this: luaopen = loadlib("wxLua.dll", "wxLua") unfortunately, calling luaopen in lua itself crashs the application somewhere deeply in the dll and I can't debug this. Meanwhile I am also not sure anymore if it is really possible to extend the engine this way since we need our own mainloop. I guess that creating a new window using WX makes the engine crash since GLFW did this before - but it's only a guess, I haven't spend too much time on this window-stuff programming... As a possibility, we could switch from GLFW to WX - but this would cause much more work on this (a little bit minor) problem than we wanted to spend. Any creative ideas how to solve this problem without spending too much work in rewriting the C core of the engine? Thanks in advance Eike Decker |