Error when compiling LKH-3
hiazmani opened this issue · 1 comments
hiazmani commented
Hello,
I get errors from the linker whenever I try to compile the provided code on Linux with the commands in the Readme:
- tar xvfz LKH-3.0.6.tgz
- cd LKH-3.0.6
- make
The compiler seems to complain (on 24.000+ occasions) that something is already defined somewhere else. Am I doing something wrong?
xyfffff commented
In SRC/Makefile, replace CFLAGS = -O3 -Wall -I$(IDIR) -D$(TREE_TYPE) -g
with CFLAGS = -O3 -Wall -I$(IDIR) -D$(TREE_TYPE) -g -fcommon