[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Commit Complete



Yes, I was thinking much the same thing last night.

Luke: Do you have anything against me adding -lpng -ljpeg to the end of XaraLX_LDFLAGS, i.e. after the contents of WX_LIBS has been expanded, to try to ensure that the build will find png and jpeg libs whether they are in wxWidgets or not? That wouldn't prevent the link working for other people would it?

Phil

On 22 Mar 2006, at 09:07, Dominik Wagner wrote:

interestingly enough, i just completed my build on the iMac G5 at home and it complained about missing jpeg symbols on linking - adding -ljpeg on the last command line mended the proble issue.

dom

On 22.03.2006, at 09:55, Dominik Wagner wrote:

Hmm - how about just putting -lpng after -lwxwidgets? then everybody should be satisfied, cause the linker will choose wxwidgets first when available.

cheers,
  dom

On 21.03.2006, at 18:26, Phil Martin wrote:

So, shouldn't the inclusion of a "-lpng" param be dependent on whether wx used an internal or external PNG library, then?

I inherited this machine after other people had installed stuff on it and we can't predict whether other people's machines will have PNG libraries installed before they build wxWidgets or not.

Phil

On 21 Mar 2006, at 17:24, Luke Hart wrote:

Phil Martin wrote:

Luke,

I just updated to this new version of makefile.am and I can't link XaraLX on the Mac any more because it can't find a bunch of _png functions...

wxWidgets and Camelot are both newly refreshed and reconfigured on my machine so have you got any idea why this is happening? Why does you mac build not need a -lpng param on the link command?

Phil

Phil,

All I did was follow your instructions....

My only guess is that you had the png library installed before you built the wx library, which meant that it didn't using its internal version (and put this into its monolithic .a). Whilst I didn't have the png library installed and so got the internal version in the library.

   Luke


--
Dominik Wagner          Mail: dom@xxxxxxxxxxxxxxxx
TheCodingMonkeys        http://www.codingmonkeys.de/
Blog - DasGenie: !Scrap http://scrap.dasgenie.com/


--
Dominik Wagner          Mail: dom@xxxxxxxxxxxxxxxx
TheCodingMonkeys        http://www.codingmonkeys.de/
Blog - DasGenie: !Scrap http://scrap.dasgenie.com/