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

Re: [XaraXtreme-dev] Commit Complete



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/

Attachment: smime.p7s
Description: S/MIME cryptographic signature