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 » Told TheIDE where to find library, but TheIDE states, No such file or directory....
Told TheIDE where to find library, but TheIDE states, No such file or directory.... [message #48127] Mon, 22 May 2017 02:44
ptkacz is currently offline  ptkacz
Messages: 84
Registered: March 2017
Member
Hi Guys,

I wanted a "common" library for some programs in the "MyApps" folder, so I created the directory, "common" in "MyApps".

In there I placed two files named, "GUILib.h" and "GUILip.cpp".

Next, in the lower left hand corner of TheIDE, where an app's files are listed, with a right click and selecting, "Special > Insert any File(s)", both files, "GUILib.h" and "GUILip.cpp" with prefixed absolute paths were added.

#include <Core/Core.h>
#include "GLib.h;

using namespace Upp;

CONSOLE_APP_MAIN
{
	GLib moo;
}

Upon compiling, a "fatal error: GLib.h: No such file or directory" message lists.

If I comment out the line with the include, "error: 'GLib' was no declared in this scope" message listed.

If having added the library files by way of, "Special > Insert any File(s)", why isn't the library file recognized?


Peter

[Updated on: Mon, 22 May 2017 02:44]

Report message to a moderator

Previous Topic: Where did the console app go (i.e. select main package)....
Next Topic: Console app in need of the Image and ImageBuffer classes....
Goto Forum:
  


Current Time: Sun Feb 17 11:28:39 CET 2019

Total time taken to generate the page: 0.00549 seconds