| Can't build Hello World [message #1822206] |
Sat, 29 February 2020 16:08  |
Eclipse User |
|
|
|
I am a new user of Eclipse. (I have been using Builder from Embarcadero.) I thought I installed Eclipse successfully, but when I try to create the HelloWorld project, it fails to build. I get the following message pasted below. For what it's worth, I'm following the directions in
https://www.codeguru.com/cpp/cpp/getting-started-with-c-for-eclipse.html
which are consistent with the directions in the "Creating a Simple Project" in Eclipse - Help but are more detailed and complete and include directions for installing MinGW. (Incidentally, I initially posted this in "Newcomers," but someone there suggested I post it here.)
What's going on? What have I omitted? What am I doing wrong? All help will be appreciated.
Samuel J
14:07:46 **** Build of configuration Debug for project HelloWorld ****
make all
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
Error makefile 6: Command syntax error
Error makefile 11: Command syntax error
Error makefile 12: Command syntax error
Error makefile 13: Command syntax error
Error makefile 14: Command syntax error
Error makefile 16: Command syntax error
Error makefile 17: Command syntax error
Error makefile 18: Command syntax error
Error makefile 19: Command syntax error
Error makefile 20: Command syntax error
Error makefile 21: Command syntax error
Error makefile 22: Command syntax error
Error makefile 23: Command syntax error
Error makefile 24: Command syntax error
Error makefile 25: Command syntax error
Error makefile 26: Command syntax error
Error makefile 27: Command syntax error
Error makefile 28: Command syntax error
Error makefile 29: Command syntax error
Error makefile 30: Command syntax error
Error makefile 31: Command syntax error
Error makefile 32: Command syntax error
Error makefile 33: Command syntax error
Error makefile 34: Command syntax error
Error makefile 35: Command syntax error
Error makefile 37: Command syntax error
Error makefile 59: Command syntax error
*** 27 errors during make ***
"make all" terminated with exit code 1. Build might be incomplete.
|
|
|
|
|
|
|
| Re: Can't build Hello World [message #1822358 is a reply to message #1822306] |
Wed, 04 March 2020 15:46   |
Eclipse User |
|
|
|
I read the Help CDT Before you Begin, and I already did what it said, i.e., "the MinGW bin directory is placed in your path."
So, I think the problem is with the installation of MSYS. I reviewed those instructions and tried to do that installation, but it seems to have failed. It did create a directory c:\mysys, but there's nothing in it.
In trying to install, I got two error messages:
First,
an error was due to a typo when I tried to supply the directory where MinGW was installed. I got the message:
I could not find c:/[my_mistaken_entry]/bin/gcc.exe. You must have given an invalid path to your MinGW environment. I am reversing to no MinGW
installation. If you do have MinGW installed then you can manually
bind the mount point /mingw to C:/mingw (replace C: with the
drive of your choice) by creating an /etc/fstab file with a line
that has a value similar to:
C:/mingw /mingw
I don't how to implement this fix.
Second
At the end of the installation I got the message
MinGW-1.1 has a version of make.exe within it's bin/ directory.
Please be sure to rename this file to mingw32-make.exe once youve
echo installed MinGW-1.1 because it\s very deficient in function.
Again, I don't know where the file is that needs to be renamed.
Thanks for the help.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05994 seconds