Closed FreemanTheMaverick closed 2 years ago
7 $ ../libint/configure --enable-eri=2 --enable-eri3=2 --enable-eri2=2 CPPFLAGS=-I/usr/local/include LDFLAGS=/usr/local/lib CC=g++
LDFLAGS=/usr/local/lib
should be LDFLAGS=-L/usr/local/lib
CC=g++
should be CXX=g++
or CC=gcc
@FreemanTheMaverick , did @e-kwsm 's suggestions work?
Thanks for the suggestions. But I've found that I don't really need to compile libint from scratch, so I just download a precompiled library. I appreciate your help anyway.
My laptop is already equipped with clang++ and g++, but on configuring libint, it shows that
I wonder why the C++ compiler does not work and how I can fix it. Many thanks. Here is the log file. config.log