On 8/2/07, John Labenski <[EMAIL PROTECTED]> wrote:
>
> Ahh, I bet it's due to the monolithic build, I always use multilib.
> I'm not sure what the difference (advantage?) is or even what gets put
> into the monolithic build.
I built first with the multi lib build. It does the same thing.
> > Do you think it is odd that it doesn't link against opengl32.a and
> glu32.a?
> > Is there a way to build wxLua without OpenGL support? I don't need it.
> I
> > just want to build.
Did you notice my comment about needing to link to opengl32.a and
glu32.alibraries? Do you think it has anything to do with it?
Then just set wxUSE_OPENGL 0 and wxUSE_GLCANVAS 0. I don't fully
> understand what wxUSE_OPENGL is for (appears only in Linux version of
> wxWidgets as far as I can tell) as it is not used in any header. wxLua
> checks for wxUSE_GLCANVAS since that's used in the wxWidgets
> glcanvas.h header. You also have to remove the linker command
> -lwxlua_msw28_wxbindgl since I don't think we can be clever enough to
> put a check in the makefile.gcc.
wxUSE_OPENGL is not in the setup.h file on Windows.
Another option is to set wxLUA_USE_wxGLCanvas 0 in
> modules/wxbind/setup/wxluasetup.h and none of the gl code will be
> compiled. This is probably the easiest way.
I will try this.
Could you tell me what libs are in your wxWidgets/lib dir? As I am
> unfamiliar with the monolithic build, I'd be interested to know what
> gets output using the command you have above for wxWidgets.
I build wxWidgets in all forms (+-Unicode, +-Monolithic, dll, lib) so my
directory is full of all available library types. I will switch back to the
multi-lib builds so we have a common setup.
You give access to switching the GL support on and off in wxLua's makefiles.
The flag is USE_WXBINDGL, so I tried that too. It didn't work. I think this
is a bug. If you impliment this flag fully you won't/shouldn't need to
modify the 'modules/wxbind/setup/wxluasetup.h'.
--
Regards,
Ryan
RJP Computing
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users