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 » Usage of Iml image data leads to linker error (If a static image is used, I cannot access it, e.g. assign the image to draw it)
Usage of Iml image data leads to linker error [message #45441] Sat, 14 November 2015 14:30 Go to previous message
SevenOfNine is currently offline  SevenOfNine
Messages: 4
Registered: November 2015
Junior Member
I assume it is a simple error on my side but ok.
If I draw an image with the image designer and
want to access the image e.g. to draw it on the application window
the compiler compiles it but the linker reported, that he does not find the reference:
"Nicht definierter Verweis auf 'SmallIconImg::Get(int)'"
means "Not defined reference on 'SmallIconImg::Get(int)'"

The main stuff of the programm is:

#define IMAGECLASS SmallIconImg
#define IMAGEFILE <DrawApp/SmallIcon.iml>
#include <Draw/iml_header.h>

and
void DrawApp::Paint(Draw& w)
{

    w.DrawRect(GetSize(), SColorFace());
    w.DrawImage(50, 50, SmallIconImg::Point());
}


I use the example from ...www.ultimatepp.org/srcdoc$Draw$ImgTutorial$en-us....
as template.
Shocked
I do not know, what I forgot to add.

Has anybody an idea about my mistake?

Can you help me?
Seven
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SqlVal to int (Typecast)
Next Topic: Printer's dialog shows up multiple times
Goto Forum:
  


Current Time: Mon Apr 29 14:20:45 CEST 2024

Total time taken to generate the page: 0.03299 seconds