-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showing error in "make" #2
Comments
Sorry - I'm really not sure what the issue is based on on this information. You might be using a different version of |
I am using GNU Make 4.1 during run. I have successfully installed ITensor (Version 3.1.0) and it is running smoothly. g++ -m64 -std=c++17 -fconcepts -fPIC -c -I. -I'/home/sumanta/software/ITensor' -O2 -DNDEBUG -Wall -Wno-unknown-pragmas -Wno-unused-variable -std=c++1y -I/home/sumanta/software/png++ -I/usr/local/include -o linear.o linear.cc |
Hi, so it's hard to be sure but based on this extra information, I would guess that your compiler version is too old to support the C++14 language and libraries. Can you try a newer compiler? Or perhaps try the clang compiler instead of gcc (g++)? |
@sumantaphy , I meet the same question too. how did you slove the question,can you tell me? thank you every much. |
Hi Sumanta and Qing, Miles |
DIR=/home/sumanta/software/ITensor
ITENSOR_DIR=/home/sumanta/software/ITensor/itensor
LIBPNG_DIR=/snap/gnome-3-38-2004/39/usr/lib/x86_64-linux-gnu
PNGPP_DIR=/home/sumanta/software/png++
include $(DIR)/this_dir.mk
include $(DIR)/options.mk
While make it is showing the error follows (after giving the path of all these in the Makefile):
Makefile:45: recipe for target 'linear.o' failed
make: *** [linear.o] Error 1
make with:
"g++ -m64 -std=c++11 -fPIC -c -I. -I/home/sumanta/software/ITensor-2.1.1 -O2 -DNDEBUG -Wall -Wno-unused-variable -std=c++1y -I/home/sumanta/software/png++ -I/usr/local/include -o linear.o linear.cc"
Any kind of help is appreciable.
The text was updated successfully, but these errors were encountered: