Closed GJoe2 closed 2 years ago
Hi, @GJoe2
The weird messages about the VTK imported targets are not important. I've tried to make them disappear some years ago, but it was not worth it. All works perfectly fine despite those messages.
On the other hand, the c++ compiler message:
cc1plus: error: bad value ('tigerlake') for '-march=' switch
Makes me think that there is a problem using the cross-compiling options for g++. Could this be related to the use of docker?
Sorry, I've never used docker, so I don't understand very well what's going on. Maybe @antonsurv could give us a hand.
i'm getting same error on my new notebook..
Are you using Docker? Ubuntu? Debian?
Hm, i used an solution from internet to correct this. It occurs with gcc-9 e g++-9. Then i update this for gcc-10 e g++-10. And now i'm able to study the scripts... thx
Great!. Could you post here a link to the web page you used to solve this?
Thanks for the reference! I think we can close this issue now :)
Describe the bug
$ make -j 2
gives some errors in a docker container (ubuntu 20.04)To Reproduce 1-
docker pull ubuntu
2-docker exec -it ID bash
3-apt-get update && apt-get install -y sudo wget && \ useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
3-wget https://raw.githubusercontent.com/xcfem/xc/master/install/packages_install_ubuntu_focal_fossa.sh
4-sudo bash packages_install_ubuntu_focal_fossa.sh
5-wget https://raw.githubusercontent.com/xcfem/xc/master/install/gmsh_code_install.sh
6-bash gmsh_code_install.sh
7- copy each line of https://github.com/xcfem/xc/blob/master/install/xc_code_install.sh (error in line 57:$ make -j 2
)Expected behavior Get installed xc on a docker image (ubuntu 20.04)
Desktop (please complete the following information):
Additional context I tried using the instruction provided by https://hub.docker.com/r/antonsurv/xcfem
There are some weird logs in
LOGS make -j 2.txt cmake ..⁄xc⁄src.txt