Start New Discussion within our Software Development Community

I have downloaded the source code for the .AVI format but when I compile the project, an error is reported which when simplified, is "[Build Error] *** multiple target patterns.". Also, the line which gets highlighted by due to the error is the line 25 which has the phrase "$(BIN): $(LINKOBJ)"

Could you please help me recompile this project and let me know if you need more details.

Below is the error report sent back:
# Project: Project1
# Makefile created by Dev-C++

CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(RES)
LINKOBJ = "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(RES)
LIBS = -L"D:/Program Files/Dev-Cpp/lib" -mwindows
INCS = -I"D:/Program Files/Dev-Cpp/include"
CXXINCS = -I"D:/Program Files/Dev-Cpp/include/c++" -I"D:/Program Files/Dev-Cpp/include/c++/mingw32" -I"D:/Program Files/Dev-Cpp/include/c++/backward" -I"D:/Program Files/Dev-Cpp/include"
BIN = encoder6.exe

.PHONY: all all-before all-after clean clean-custom

all: all-before encoder6.exe all-after

clean: clean-custom
rm -f $(OBJ) $(BIN)

$(CPP) $(LINKOBJ) -o "encoder6.exe" $(LIBS)

"D:/Program Files/Dev-Cpp/Templates/encoder.o": D:/Program\ Files/Dev-Cpp/Templates/encoder.c
$(CPP) -c "D:/Program Files/Dev-Cpp/Templates/encoder.c" -o "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(CXXFLAGS)

I have descovered that this is because the code I used was in 'C' when I was using a 'C++' program. Because this refers to the language 'C', (due to forum policies), I have to refer the rest of this topic in the C section. Link is below:

This question has already been answered. Start a new discussion instead.