Re: Trouble with wxWindows (XRC and STC linking

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr>, "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Trouble with wxWindows (XRC and STC linking
Date: 2003-07-16 09:25:17
Message-ID: 03AF4E498C591348A42FC93DEA9661B83AF184@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: Darko Prenosil [mailto:Darko(dot)Prenosil(at)finteh(dot)hr]
> Sent: 14 July 2003 18:39
> To: Adam H. Pendleton
> Cc: Dave Page; pgadmin-hackers(at)postgresql(dot)org
> Subject: Re: [pgadmin-hackers] Trouble with wxWindows (XRC
> and STC linking
>
> No, it is not OK !!!
> I messed up the order of contrib libs and the base wx lib.
> It should be first xrc & stc and after that base wx lib (just
> as for gtk), otherwise it won't link correctly. For example:
> *libwx_msw-*)
> LIBS="$LIBS $WX_NEW_LDFLAGS"
> LIBS="$LIBS
> ${WX_HOME}/lib/libwx_msw_stc-${WX_VERSION}.a
> ${WX_HOME}/lib/libwx_msw_xrc-${WX_VERSION}.a"
> must be:
> *libwx_msw-*)
> LIBS="$LIBS
> ${WX_HOME}/lib/libwx_msw_stc-${WX_VERSION}.a
> ${WX_HOME}/lib/libwx_msw_xrc-${WX_VERSION}.a"
> LIBS="$LIBS $WX_NEW_LDFLAGS"
>
> All of those linking errors I mentioned in prev. mails were
> because of this error. (Thanks to Vaclav Slavik from
> wxWindows list, that helped me to solve this
> problem)

Ahh, that's worth remembering.

> Today I finally compiled and linked pgadmin3 with MinGW.

:-)

<snip problems I'd love to help with but just don't have the time right
now :-( >

> I already "wasted" few hours on this, I'm prepared to spend
> few more, but don't have much experience with wxWindows and
> MinGW, so any help is appreciated. I think it would be great
> to compile FREE admin tool for FREE SQL server on FREE compiler.

Agreed, it would definately be good.

Regards, Dave.

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-07-16 09:35:52 Re: SystemObject show patch more.
Previous Message Jean-Michel POURE 2003-07-16 09:15:29 Re: Translation: Languages