Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » no library path?(can't set library path)
no library path? [message #1821913] Sat, 22 February 2020 19:15 Go to next message
Nick Schweyer is currently offline Nick SchweyerFriend
Messages: 175
Registered: July 2009
Senior Member
hi,
I have a new installation of Eclipse-CDT on Win10, 64bit (eclipse-cpp-2019-12-R-win32-x86_64.zip), and started with the hello world console program.
#include <iostream>
using namespace std;

int main(int argc, char **argv) {
	cout << "Hello world";
	return 0;
}

The compiler finds two errors:
-symbol 'cout' could not be resolved
- symbol 'std' could not be resolved

It seems that the path to the standard libraries is not set.
Help tells me that I can set the library path in File - Properties - Resource.

But after clicking to File - Properties I get an error mesage "No property pages for .", see attachment.
So I cannot set the path.
My installation seems to miss property pages. What can I do?

Niko


Niko

Eclipse-CDT Version: 2019-12 (4.14.0), Win10 64bit
Re: no library path? [message #1821914 is a reply to message #1821913] Sat, 22 February 2020 19:48 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Open your Eclipse and read from the help pages the CDT instructions marked 'Before you begin'.

Please do not send multiple copies of the same message, one is enough.


--

Tauno Voipio
Re: no library path? [message #1821936 is a reply to message #1821914] Sun, 23 February 2020 23:07 Go to previous message
Nick Schweyer is currently offline Nick SchweyerFriend
Messages: 175
Registered: July 2009
Senior Member
Thank you very much,
MINGW was missing.

Tauno Voipio wrote on Sat, 22 February 2020 20:48

Please do not send multiple copies of the same message, one is enough.

Sorry, I had several tries to send the posting, but my browser hang up. In spite of hang up the postings seem to have been sent.


Niko

Eclipse-CDT Version: 2019-12 (4.14.0), Win10 64bit
Previous Topic:Build path is deleted without knowing
Next Topic:Eclipse update error
Goto Forum:
  


Current Time: Fri Apr 26 16:29:01 GMT 2024

Powered by FUDForum. Page generated in 0.09144 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top