Re: Trouble with wxWindows (XRC and STC linking - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Trouble with wxWindows (XRC and STC linking
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B83AF184@mail.vale-housing.co.uk
Whole thread Raw
List pgadmin-hackers

> -----Original Message-----
> From: Darko Prenosil [mailto:Darko.Prenosil@finteh.hr]
> Sent: 14 July 2003 18:39
> To: Adam H. Pendleton
> Cc: Dave Page; pgadmin-hackers@postgresql.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.

pgadmin-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: Translation: Languages
Next
From: Jean-Michel POURE
Date:
Subject: Re: Translation: Languages