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 » Console app in need of the Image and ImageBuffer classes....
Console app in need of the Image and ImageBuffer classes.... [message #48128] Mon, 22 May 2017 02:57
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
Hi Guys,

I beginning the creation of a console app that needs use of the Image and ImageBuffer classes. To make the use of these classes, I've specified the following, but still get a linker error:
#include <Core/Core.h>
#include <CtrlLib/CtrlLib.h>
#include <Painter/Painter.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
	Image img;
	ImageBuffer ib;
}


I've also on the left imported (i.e. add package), CtrlCore, Draw, and Painter. Linking fails with the following:

Ctrlib/Gtk.cpp, line 29:
undefined reference to 'gtk_file_chooser_dialog_new'
...
...
...



What's missing? The console app only needs the use of the two class libraries.


Peter
Previous Topic: Told TheIDE where to find library, but TheIDE states, No such file or directory....
Next Topic: Reading encrypted PDF files
Goto Forum:
  


Current Time: Thu Apr 18 23:36:45 CEST 2024

Total time taken to generate the page: 0.04263 seconds