U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Failed compiling theide 2467
https://www.ultimatepp.org/forums/index.php?t=rview&goto=27458&th=5346#msg_27458
First: I'm not very experienced with this kind of stuff. So sorry, if it's obvious.
When I tried to build upp 2467 on my Linux box (g++ (GCC) 4.5.0 20100610 (prerelease)) I got the following error:
plugin/png/pngupp.cpp:431:2: error: ‘text_ptr’ was not declared in this scope
Maybe a library is missing. But which one could it be?
First: I'm not very experienced with this kind of stuff. So sorry, if it's obvious.
When I tried to build upp 2467 on my Linux box (g++ (GCC) 4.5.0 20100610 (prerelease)) I got the following error:
plugin/png/pngupp.cpp:431:2: error: ‘text_ptr’ was not declared in this scope
Maybe a library is missing. But which one could it be?
Thanks for any help
Chris
Hi Chris,
It is a bug, caused by changes between libpng1.2 and 1.4 (PNG_iTXt_SUPPORTED macro is now defined by default). I already reported this some time ago, but it went unnoticed.
Quick is commenting out the lines 430-432 in pngupp.cpp. It actually doesn't do anything and it is safe to remove them.
Just out of curiosity, what linux distribution do you use? The major distributions still use libpng1.2 so this was not a major problem yet (I guess it might be one of the reasons why it is not fixed yet...).
Best regards,
Honza
EDIT: Corrected link.]]>dolik.rce2010-07-18T23:53:41-00:00Re: Failed compiling theide 2467
https://www.ultimatepp.org/forums/index.php?t=rview&goto=27460&th=5346#msg_27460
Best
Chris
PS: I'm using Arch Linux.]]>ccf_h2010-07-19T00:15:15-00:00