Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Strange Eclipse (on Mac) Compilation Errors
icon8.gif  Strange Eclipse (on Mac) Compilation Errors [message #993612] Tue, 25 December 2012 00:18 Matthew is currently offline MatthewFriend
Messages: 1
Registered: December 2012
Junior Member
So, I've got this random error when I'm compiling my program. I'm trying to get the IDE to work so I can begin developing objectively on my Mac, and use my Windows Computer more for hosting and testing purposes (mainly since Mac can't open Windows .exe files). So, my code is..

#include <iostream>
using namespace std;

int add(int x)
	return x * 2;

int main()
	int x;
	cin >> x;
	cout << int x << endl;
	return 0;

Relatively simple code, and shouldn't come with an error.. though every time I try to compile this (or anything), I get these two errors without fail.


Strange strange strange. My hierarchy for the folders is:


If anyone could help me, or direct me in the place I need to go to find the answer, I'd be very appreciative.
Previous Topic:Override external Makefile variable?
Next Topic:Disabling autoformat
Goto Forum:

Current Time: Fri May 25 07:26:19 GMT 2018

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

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

Back to the top