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 » U++ Library : Other (not classified elsewhere) » Running a CtrlLib application "headless"
Re: Running a CtrlLib application "headless" [message #38547 is a reply to message #37592] Sun, 23 December 2012 02:07 Go to previous messageGo to previous message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
Hi Mirek,

When I try I get the following or similar error:

----- CtrlLib ( MT OCOE PRO AC CLIENT_MIT HEADLESS RAINBOW SKELETON GCC SHARED LINUX POSIX ) (1 / 26)
LabelBase.cpp
Button.cpp
Switch.cpp
EditField.cpp
Text.cpp
LineEdit.cpp
DocEdit.cpp
ScrollBar.cpp
HeaderCtrl.cpp
In file included from /home/nick/upp/uppsrc/CtrlCore/CtrlCore.h:20:0,
                 from /home/nick/upp/uppsrc/CtrlLib/CtrlLib.h:4,
                 from /home/nick/upp/uppsrc/CtrlLib/LineEdit.cpp:1:
/home/nick/upp/rainbow/Skeleton/Skeleton.h:75:14: error: cannot declare field ‘Upp::ImageDraw::alpha’ to be of abstract type ‘Upp::SystemDraw’
/home/nick/upp/rainbow/Skeleton/Skeleton.h:5:7: note:   because the following virtual functions are pure within ‘Upp::SystemDraw’:
/home/nick/upp/uppsrc/Draw/Draw.h:445:15: note:  virtual void Upp::Draw::DrawImageOp(int, int, int, int, const Upp::Image&, const Rect&, Upp::Color)
/home/nick/upp/uppsrc/CtrlLib/LineEdit.cpp: In member function ‘virtual void Upp::LineEdit::LeftDrag(Upp::Point, Upp::dword)’:
/home/nick/upp/uppsrc/CtrlLib/LineEdit.cpp:858:13: error: cannot declare variable ‘iw’ to be of abstract type ‘Upp::ImageDraw’
/home/nick/upp/rainbow/Skeleton/Skeleton.h:74:7: note:   because the following virtual functions are pure within ‘Upp::ImageDraw’:
/home/nick/upp/uppsrc/Draw/Draw.h:445:15: note:  virtual void Upp::Draw::DrawImageOp(int, int, int, int, const Upp::Image&, const Rect&, Upp::Color)
ArrayCtrl.cpp


repeated many times. Are my flags wrong? I have copied code across from upp/rainbow so that I now have upp/uppsrc, upp/bazaar and upp/rainbow. Are there more packages that I need please?

Nick

[Updated on: Sun, 23 December 2012 02:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there any way to return all children of a ParentCtrl?
Next Topic: Feature request: Add LZMA SDK to U++
Goto Forum:
  


Current Time: Sun May 05 23:20:52 CEST 2024

Total time taken to generate the page: 0.01948 seconds