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 » GTK3 - Image CairoImage(int cx, ...)
GTK3 - Image CairoImage(int cx, ...) [message #53026] Tue, 11 February 2020 14:42 Go to next message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hi,

I have compiled the IDE today with GTK3 UPP src ver 13916. IDE compilation is OK.

IDE runs but during compilation of any example/reference prog.
I get following error in ChGtk3.cpp file.
error: 'Upp::Image Upp::CairoImage' redeclared as different kind of symbol

There are 3 definitions of CairoImage.

Image CairoImage(int cx, int cy, Event<cairo_t *> draw) Line 83
Image CairoImage(int cx = 40, int cy = 32) Line 217

Image CairoImage(iGtkStyleContext *ctx, int cx = 40, int cy = 32) Line 100
Also iGtkStyleContext is not declared any where error message.



Warm Regards

Deepak

[Updated on: Wed, 12 February 2020 13:01]

Report message to a moderator

Re: GTK3 - Image CairoImage(int cx, ...) [message #53128 is a reply to message #53026] Thu, 05 March 2020 12:07 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
deep wrote on Tue, 11 February 2020 14:42
Hi,

I have compiled the IDE today with GTK3 UPP src ver 13916. IDE compilation is OK.

IDE runs but during compilation of any example/reference prog.
I get following error in ChGtk3.cpp file.
error: 'Upp::Image Upp::CairoImage' redeclared as different kind of symbol

There are 3 definitions of CairoImage.

Image CairoImage(int cx, int cy, Event<cairo_t *> draw) Line 83
Image CairoImage(int cx = 40, int cy = 32) Line 217

Image CairoImage(iGtkStyleContext *ctx, int cx = 40, int cy = 32) Line 100
Also iGtkStyleContext is not declared any where error message.



Sorry for missing this earlier.. Is this still problem?

If yes, please tell me what is your system and compiler.
Re: GTK3 - Image CairoImage(int cx, ...) [message #53194 is a reply to message #53128] Tue, 17 March 2020 11:36 Go to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Mirek,

This problem is no more there in new release.

iGtkStyleContext was not defined in the version I checked (src ver 13916)

Now with latter versions this problem is not there.



Warm Regards

Deepak
Previous Topic: Debugging under Linux
Next Topic: [BUG] TheIDE prevents using MSC Incremental link
Goto Forum:
  


Current Time: Thu Mar 28 12:22:55 CET 2024

Total time taken to generate the page: 0.01441 seconds