Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem "using namespace ..."
Problem "using namespace ..." [message #882170] Wed, 06 June 2012 01:11 Go to next message
Lauren Ryan is currently offline Lauren RyanFriend
Messages: 1
Registered: June 2012
Junior Member
I am writing a class in C++ in which I am using the following namespaces:
using namespace System;
using namespace System::ComponentModel::Container;
using namespace System::ComponentModel;
using namespace System::Windows;
using namespace System::Windows::Forms;
using namespace std;

However, Eclipse is saying that there are errors for all of these namespaces, even std, which is in many classes. I tried debugging but it did not help. Can someone please tell me how to fix this?
Re: Problem "using namespace ..." [message #882287 is a reply to message #882170] Wed, 06 June 2012 07:35 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Did you select the correct toolchain in Project Properties?
Project Properties->Index->Rebuild
if still shows errors
Project Properties->Index->Show unresolved includes

I need more info to help you.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:CDT Build is built twice
Next Topic:Building the selected resource
Goto Forum:
  


Current Time: Fri Apr 26 17:22:40 GMT 2024

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

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

Back to the top