Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to next message
ccf_h is currently offline  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 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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

Re: Failed compiling theide 2467 [message #27460 is a reply to message #27459] Mon, 19 July 2010 02:15 Go to previous message
ccf_h is currently offline  ccf_h
Messages: 4
Registered: December 2005
Junior Member
Honza, thank you very much! That worked.

Best

Chris

PS: I'm using Arch Linux.
Previous Topic: build debs
Next Topic: uninstalled theIDE by mistake - quick question
Goto Forum:
  


Current Time: Tue Apr 16 13:59:53 CEST 2024

Total time taken to generate the page: 0.03402 seconds