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 » Draw, Display, Images, Bitmaps, Icons » how to #define/#include correctly the .iml file
how to #define/#include correctly the .iml file [message #3431] Wed, 24 May 2006 21:52 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
This topic is connected with another post where I signaled that linux wont compile. The problem is in the #define and #include of .iml that perhaps work under windows for the wrong reason.

I've vegamain.h that is included everywhere except in optionImage.cpp. Here it is vegamain.h:
...
#include <Vega3/OptionImage.h>
#include <Vega3/TwoCtrl.h>

#define IMAGECLASS    Vega3Img    
#define IMAGEFILE     <Vega3/Vega.iml>
#include <Draw/iml.h>
...

OptionImage.h, that is included only in optionImage.cpp, read:
...
#define IMAGEFILE <Vega3/Vega.iml>
#include <Draw/iml_header.h>
...

and then main.cpp where I've
#include "VegaMain.h"
...
#define IMAGEFILE <Vega3/Vega.iml>
#include <Draw/iml_source.h>
...

All this work under windows for unknown reasons for me. But I suspect it is even wrong and under linux produce complain. Can somebody (I know who Smile ) confirm that all these cross define/include are correct?
Thank you.

Luigi

[Updated on: Wed, 24 May 2006 21:54]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to show the plot of a function
Next Topic: How to display an icon on the right side of a label/button
Goto Forum:
  


Current Time: Sat Apr 20 14:39:24 CEST 2024

Total time taken to generate the page: 0.01892 seconds