gaul

Cannot use g++ for compiling

旧街凉风 提交于 2019-12-13 14:08:55
问题 right now I try to use a opensource tool called " GAUL " where some genetic algorithms are implemented. By compiling the example files I figured out that I can only compile these data via using gcc but not g++. E.x.: 1) Using gcc -I /usr/local/include/ -c wildfire_threat.c -o test.o gcc** -g -O2 -Wall -o test2.out test.o -lgaul -lgaul_util -lm -lpthread -lslang -lm works also the combination gcc -I /usr/local/include/ -c wildfire_threat.c -o test.o g++ -g -O2 -Wall -o test2.out test.o -lgaul