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 #38548 is a reply to message #38547] Sun, 23 December 2012 09:52 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
nixnixnix wrote on Sat, 22 December 2012 20:07

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



Now this rather looks like you have hit a period of unstability - I am now working on new rainbow backends, adding or changing stuff here and there. Just yesterday I have found that skeleton was broken - uppweb did not compiled. Today, it should be fixed in svn again.

Mirek
 
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: Wed Apr 24 11:28:17 CEST 2024

Total time taken to generate the page: 0.02093 seconds