Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Linux Project Builds but won't run.
icon9.gif  Linux Project Builds but won't run. [message #1698066] Wed, 10 June 2015 18:41
no no is currently offline no noFriend
Messages: 1
Registered: June 2015
Junior Member
I'm using Eclipse Indigo CDT with GCC & G++ 4.7 on Ubuntu 12. My project builds seemingly with no errors, but then won't launch. The error given by Eclipse is "Launch failed. Binary not found." I'm not sure what this means or how to fix it.

This is the build console:
**** Build of configuration Debug for project New ****

make all 
make: Nothing to be done for `all'.

**** Build Finished ****


What's the problem and what do I need to do? Thanks.

My code in case it's helpful:

#include "stdafx.h"
using namespace std;
#include <iostream>
#include <string>

void encrypt(std::string &iostr, int key) {
	key %= 26;
	int ch;

	for (auto &it : iostr) {
		ch = tolower(it);
		if (!islower(ch)) {
			continue;
		}
		ch += key;
		if (ch > 'z') {
			ch -= 26;
		}
		it = ch;
	}
}

int main() {
	string source;
	int key = 1;
	cout
			<< "Paste cyphertext and press enter to shift each letter right 1 through the entire alphabet: ";

	getline(cin, source);
	encrypt(source, key);

	cout << source << "";

	std::cout << skipws << source << std::endl;
	encrypt(source, key);
	cout << "" << endl;

	std::cout << source << std::endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "" << endl;

	encrypt(source, key);
	cout << source << endl;
	cout << "Press ENTER to exit";
	cin.ignore(cin.rdbuf()->in_avail() + 1);

	return 0;

}
Previous Topic:[Solved] Linux Kernel module build "make modules" error
Next Topic:Need sudo for make target
Goto Forum:
  


Current Time: Thu Mar 28 13:54:26 GMT 2024

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

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

Back to the top