Multiple makefile errrors [message #1822017] |
Tue, 25 February 2020 19:25  |
Samuel Johnson Messages: 9 Registered: November 2016 |
Junior Member |
|
|
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.
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.
[Updated on: Sat, 29 February 2020 21:05] Report message to a moderator
|
|
|
|
|
|
Re: Multiple makefile errrors [message #1822203 is a reply to message #1822030] |
Sat, 29 February 2020 20:35   |
Samuel Johnson Messages: 9 Registered: November 2016 |
Junior Member |
|
|
I found the makefile, which was generated automatically. Since it's short, I'll paste it below. Do you see what's wrong with it? Thanks.
=====================
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: HelloWorld
# Tool invocations
HelloWorld: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: Cross G++ Linker'
mingw32-g++ -o "HelloWorld" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(CC_DEPS)$(C++_DEPS)$(EXECUTABLES)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(C_DEPS)$(CPP_DEPS) HelloWorld
-@echo ' '
.PHONY: all clean dependents
-include ../makefile.targets
[Updated on: Sat, 29 February 2020 21:03] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02912 seconds