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 » Linking error with imagefile
Re: Linking error with imagefile [message #58773 is a reply to message #58768] Fri, 26 August 2022 12:24 Go to previous messageGo to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 227
Registered: June 2011
Experienced Member
IIRC

#include <Draw/iml_source.h>


goes in one and only one source file and

#include <Draw/iml_header.h>


goes in every header file. If all your code is in a single .cpp file you might want to do

#include <Draw/iml.h>


which will include both. I think your linker error is coming from the fact that you don't have the iml_source.h included which implements Get.
 
Read Message
Read Message
Read Message
Previous Topic: Read a PDF
Next Topic: App "swallowing" mouseclicks
Goto Forum:
  


Current Time: Fri Aug 01 02:11:37 CEST 2025

Total time taken to generate the page: 0.06987 seconds