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 |
|
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 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
deep wrote on Tue, 11 February 2020 14:42Hi,
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 |
|
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
|
|
|
Goto Forum:
Current Time: Thu Mar 28 12:22:55 CET 2024
Total time taken to generate the page: 0.01441 seconds
|