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 import iml from other class?
Re: How to import iml from other class? [message #8741 is a reply to message #8740] Wed, 28 March 2007 19:32 Go to previous message
mirek is currently offline  mirek
Messages: 14160
Registered: November 2005
Ultimate Member
guido wrote on Wed, 28 March 2007 13:25

Yes, I tried this. But then, I need to import Splash.hpp in App.cpp and this results in a redefinition error:

/home/guido/upp/uppsrc/Draw/iml_header.h:13: error: redefinition of ‘class CaterImg’
/home/guido/upp/uppsrc/Draw/iml_header.h:13: error: previous definition of ‘class CaterImg’




This looks like the header is being included twice.

Quote:


upp is great in many ways, but for all that opaque (to me) preprocessor magic. Feels pretty low-level, for now.
Maybe I get the hang of it and see it differently, then.



Well, you can have either preprocessor magic, or external tools that do the same job less transparently - you would still have to include something and at least link in something.

BTW, a good way to get hand on it (and also, for us, to debug this stuff) is "Preprocess file" command in the build menu. I think it can help pretty well in this case too.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Loading Image (from HttpClient)
Next Topic: DrawImage with XOR undefined
Goto Forum:
  


Current Time: Sat Dec 07 18:17:12 CET 2024

Total time taken to generate the page: 0.02216 seconds