Problem with makefile.unx when compiling opengl applications

Iulian-Nicu Serbanoiu undergraver at gmail.com
Tue Oct 3 21:17:35 PDT 2006


On 10/3/06, Vadim Zeitlin <vadim at wxwindows.org> wrote:
>
> On Tue, 3 Oct 2006 13:51:07 +0300 Iulian-Nicu Serbanoiu <
> undergraver at gmail.com> wrote:
>
> INS> make -f makefile.unx
>
> You should really avoid using makefile.unx files (and we should really
> remove them from the cvs). They're old and hand-written and so are not
> updated automatically.



I understand.


INS> I saw that in wx-config there is the option --gl_libs but when typing
> INS> wx-config it is not displayed:
>
> This is intentional. This option is obsolete and kept for backwards
> compatibility only, please don't use it, use "--libs gl" instead (or,
> rather, "--libs base,core,gl").




ins at ins-desktop:~$ wx-config 2> a
ins at ins-desktop:~$ grep -i gl a
ins at ins-desktop:~$

The fact that the wx-config script does not display some information about
the opengl libraries ( flags used at linking ) is a little confusing for the
ones trying to compile opengl application with wxwidgets. So I would
definetely go for a modified wx-config script in which *ALL* the options
should be displayed. Is this already there and I'm not seeing it ?

Regards,
> VZ


Thanks,

Iulian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20061004/34e=
9f7f1/attachment.htm


More information about the wx-users mailing list