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 » Community » Newbie corner » Hey,need help,i met a problem
Hey,need help,i met a problem [message #47019] Mon, 07 November 2016 08:41 Go to previous message
foxsir2016 is currently offline  foxsir2016
Messages: 3
Registered: November 2016
Junior Member
hey ,guys,
im a newbie.
i copy this code from official tutorial

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

#define IMAGECLASS MyImages
#define IMAGEFILE <Image01/Image01.iml>
#include <Draw/iml.h>

class MyApp : public TopWindow {
public:
virtual void Paint(Draw& draw);
};

void MyApp::Paint(Draw& w)
{
w.DrawRect(GetSize(), SColorFace());
w.DrawImage(50, 50, MyImages::MyImage());
}

GUI_APP_MAIN
{
MyApp().Sizeable().Run();
}


when i compile it,it give me this error
fatal error: Image01/Image01.iml: No such file or directory

how i can create this iml file?and place it to where can work
 
Read Message
Read Message
Read Message
Previous Topic: libraries not found
Next Topic: Touchscreen and buttons
Goto Forum:
  


Current Time: Fri Apr 19 04:54:41 CEST 2024

Total time taken to generate the page: 0.04668 seconds