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++ Library support » Draw, Display, Images, Bitmaps, Icons » Draw package and console app error
Draw package and console app error [message #21418] Tue, 19 May 2009 10:45 Go to next message
qwerty is currently offline  qwerty
Messages: 130
Registered: May 2006
Experienced Member
hello,

I have created console application and when I add package Draw to project, I get:

/home/dev/upp/uppsrc/Draw/Image.cpp: In member function 'void Upp::Image::Data::PaintOnlyShrink()':
/home/dev/upp/uppsrc/Draw/Image.cpp:343: error: 'GetResCount' was not declared in this scope
/home/dev/upp/uppsrc/Draw/Image.cpp: In member function 'Upp::Draw& Upp::ImageDraw::Alpha()':
/home/dev/upp/uppsrc/Draw/Image.cpp:351: error: 'alpha' was not declared in this scope
/home/dev/upp/uppsrc/Draw/Image.cpp:354: error: 'alpha' was not declared in this scope


Then I declare 'GUI' in Main Package Configuretion and everythings ok(so far).

Have a nice day
Re: Draw package and console app error [message #21429 is a reply to message #21418] Tue, 19 May 2009 21:40 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
qwerty wrote on Tue, 19 May 2009 04:45

hello,

I have created console application and when I add package Draw to project, I get:

/home/dev/upp/uppsrc/Draw/Image.cpp: In member function 'void Upp::Image::Data::PaintOnlyShrink()':
/home/dev/upp/uppsrc/Draw/Image.cpp:343: error: 'GetResCount' was not declared in this scope
/home/dev/upp/uppsrc/Draw/Image.cpp: In member function 'Upp::Draw& Upp::ImageDraw::Alpha()':
/home/dev/upp/uppsrc/Draw/Image.cpp:351: error: 'alpha' was not declared in this scope
/home/dev/upp/uppsrc/Draw/Image.cpp:354: error: 'alpha' was not declared in this scope


Then I declare 'GUI' in Main Package Configuretion and everythings ok(so far).

Have a nice day


At this very moment, Draw does not work in CONSOLE applications. (It is closely coupled with GUI).

We are in the last phases of really hard effort to create "headless" Draw. I believe that in 2-3 months, Draw-GUI coupling will be broken. It is much desirable feature for web apps...

Mirek
Previous Topic: [SOLVED] accessing pixels in JPEG created from memory buffer
Next Topic: How to rotate an image
Goto Forum:
  


Current Time: Thu Mar 28 20:17:51 CET 2024

Total time taken to generate the page: 0.01941 seconds