Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Compile package with iml file problem!
Re: Compile package with iml file problem! [message #19617 is a reply to message #19616] |
Tue, 23 December 2008 11:44 |
|
Sender Ghost wrote on Tue, 23 December 2008 10:13 |
You didn't include "Draw/iml_source.h" header file in "UApplication\MainWorkSpace.cpp". Unified diff for fixed file below:
#include "MainWorkSpace.h"
//using namespace UPP;
namespace UA{
+#define IMAGECLASS UAImg
+#define IMAGEFILE <UApplication/UApplication.iml>
+#include <Draw/iml_source.h>
+
UApplication::UApplication() {
Sizeable();
Zoomable();
CtrlLayout(*this);
AddFrame(menu);
Icon(UAImg::MainIcon());
As written in the GUI Tutorial:
Quote: |
Note: #include <Draw/iml.h> works only when images are to be used in single .cpp file, otherwise you must put "obsuscated" sequence with #include <Draw/iml_header.h> to you header and #include <Draw/iml_source.h> to any .cpp file.
|
|
Sure! thanks...
|
|
|
Goto Forum:
Current Time: Sun May 05 03:07:38 CEST 2024
Total time taken to generate the page: 0.03355 seconds
|