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: Compiling, Linking, Debugging of your packages » The makefile of an export NOGTK project dropped an option -lpng
Re: The makefile of an export NOGTK project dropped an option -lpng [message #29588 is a reply to message #29587] Tue, 02 November 2010 05:17 Go to previous messageGo to previous message
sevenjay is currently offline  sevenjay
Messages: 30
Registered: October 2008
Location: Taiwan
Member
Thank you.

I am sorry that I didn't mention it was happened on Ubuntu 10.04.

Maybe something on my environment goes wrong?

the attachment is the makefile.

To make it gets errors like below:
_out/plugin/png/GCC-Gcc-Gui-Linux-Nogtk-Posix-Shared/png.a(pngupp.o): In function `Upp::PNGRaster::Init()':
pngupp.cpp:(.text._ZN3Upp9PNGRaster4InitEv+0x2d): undefined reference to `png_create_read_struct'
pngupp.cpp:(.text._ZN3Upp9PNGRaster4InitEv+0x64): undefined reference to `png_create_info_struct'

To solve it just insert this in the 134 line:
			-lpng \

I check it does have included the package png.

my gcc is (Ubuntu 4.4.3-4ubuntu5) 4.4.3.
  • Attachment: Makefile
    (Size: 386.58KB, Downloaded 341 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Version Tab in .exe properties
Next Topic: Custom build steps includes
Goto Forum:
  


Current Time: Fri Jul 18 11:37:18 CEST 2025

Total time taken to generate the page: 0.03748 seconds