unable to build project from imported source code [message #1059403] |
Sat, 18 May 2013 01:56 |
James private Messages: 42 Registered: July 2009 |
Member |
|
|
I'm trying to create a new c++ project from existing source code. My expectation is to have Eclipse create a project, import the c++ source code, create it's own makefile and manage that makefile and be able to compile the source code.
I have tried File/Import
I have tried File/New/Makefile Project with Existing Code
Both options seem to create a project, and I can see my source code in the Project Explorer, but when I right click on the project in Project Explorer and click on Build Project I get an error: "make: *** No rule to make target `all'. Stop."
What am I doing wrong? Are my expectations faulty? Perhaps Eclipse can not create and manage it's own makefile? Perhaps I forgot to install a tool Eclipse needs to do this?
I am including version and product information below. All packages were installed with apt-get
xucaen@defiant:~$ gcc --version
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
---
xucaen@defiant:~$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
---
xucaen@defiant:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
---
Eclipse Platform
Version: 3.8.1
Build id: debbuild
(c) Copyright Eclipse contributors and others 2000, 2012. All rights reserved.
Visit http://www.eclipse.org/platform
This product includes software developed by the
Apache Software Foundation http://www.apache.org/
---
Eclipse GCC Cross Compiler Support
Version: 1.1.0.dist
Build id: @build@
(c) Copyright Eclipse contributors and others, 2000, 2010. All rights reserved.
Visit http://www.eclipse.org/cdt
---
GDB Common
Version: 7.0.0.dist
Build id: @build@
(c) Copyright Eclipse contributors and others, 2000, 2010. All rights reserved.
Visit http://www.eclipse.org/cdt
|
|
|
|
Powered by
FUDForum. Page generated in 0.03478 seconds