cerebis / LKH3

Github mirror of Keld Helsgaun's wonderful LKH3 project.
http://akira.ruc.dk/~keld/research/LKH-3/
25 stars 13 forks source link

Error when compiling LKH-3 #2

Open hiazmani opened 3 years ago

hiazmani commented 3 years ago

Hello,

I get errors from the linker whenever I try to compile the provided code on Linux with the commands in the Readme:

The compiler seems to complain (on 24.000+ occasions) that something is already defined somewhere else. Am I doing something wrong?

error.log

xyfffff commented 12 months ago

In SRC/Makefile, replace CFLAGS = -O3 -Wall -I$(IDIR) -D$(TREE_TYPE) -g with CFLAGS = -O3 -Wall -I$(IDIR) -D$(TREE_TYPE) -g -fcommon