U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » ImageDraw not available in Draw
ImageDraw not available in Draw [message #53138] Sat, 07 March 2020 12:28 Go to previous message
Didier is currently offline  Didier
Messages: 740
Registered: November 2008
Location: France
Contributor
Hi,

I currently use ImageDraw in my app and when compiling with Clang I get the following error :

error: variable has incomplete type 'Upp::ImageDraw'

After som investigation, ImageDraw is forward declared in Draw (and explained in Draw documentation) while all implementations of ImageDraw are implemented in CtrlCore
Since it is set in draw it should be available in head-less apps like the reference/ConsoleDraw example.
If I add
ImageDraw myImd;

to the example .. I get the same error

Obviously either ImageDraw should not be declared in Draw or a head-less implementation is missing in Draw

But i Draw/Image.h ther is the folling code:
// BW, defined in CtrlCore:
	ImageBuffer(ImageDraw& iw);

So this problem is apparently known ... and the questions resumes to :

Is ImageDraw supposed to be used in head-less apps, if not, with what must I replace it with ?

 
Read Message
Read Message
Read Message
Previous Topic: Vector& Vector::operator<<(T&& x) is missing
Next Topic: DeepCopyOption do_clone inconsistancy?
Goto Forum:
  


Current Time: Thu Nov 05 05:19:09 GMT+1 2026

Total time taken to generate the page: 0.00529 seconds