|
[Sponsors] |
October 7, 2022, 23:21 |
Compile error
|
#1 |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 |
I am a beginner in OpenFOAM programming. To learn how to compile solvers, I did a simple test, but met an error.
I am using OpenFOAM v2012 installed on Windows 10. In the solver folders, there are many solvers. I copied the compressibleInterFoam solver and paste to the same folder, and renamed it compressibleInterFoam1. When I compile the compressibleInterFoam1, I have an error as follows: /opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 637: make: command not found /opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 640: make: command not found wmake error: file '/opt/OpenFOAM/OpenFOAM-v2012/build/linux64Gcc63DPInt32Opt/applications/solvers/multiphase/compressibleInterFoam1/sourceFiles' could not be created in /opt/OpenFOAM/OpenFOAM-v2012/applications/solvers/multiphase/compressibleInterFoam1 Anyone knows what is the reason and how to fix it? |
|
October 8, 2022, 09:01 |
|
#2 |
Member
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5 |
GNU make is not installed.
|
|
October 8, 2022, 14:33 |
|
#3 |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 |
Thanks. When I install GNU make using the command: apt install make. there is an error:
apt: /opt/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0) It shows that GLIBCXX_3.4.26' not found. Do you know what I need to do next? |
|
October 9, 2022, 02:09 |
|
#4 |
Member
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5 |
libstdc++6 is not installed. You also need install build-essential.
|
|
Tags |
compile error, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |