Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Failed compiling theide 2467
Failed compiling theide 2467 [message #27458] |
Mon, 19 July 2010 01:07 |
ccf_h
Messages: 4 Registered: December 2005
|
Junior Member |
|
|
Hi,
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
|
|
|
Re: Failed compiling theide 2467 [message #27459 is a reply to message #27458] |
Mon, 19 July 2010 01:53 |
|
ccf_h wrote on Mon, 19 July 2010 01:07 | Hi,
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.
[Updated on: Mon, 19 July 2010 02:20] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 20:26:05 CEST 2024
Total time taken to generate the page: 0.03666 seconds
|