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
Messages: 89 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
|
|
|
Goto Forum:
Current Time: Sun May 04 16:30:05 CEST 2025
Total time taken to generate the page: 0.03159 seconds
|