I installed OpenFoam5 and this is the only dependency left before I can get CFD to work.
I have pasted in the contents of the log.Allwmake file.
I have made sure I'm running the latest version of the Addon as well.
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)
Code: Select all
wmake libso meshLibrary
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/checkMeshDict/checkMeshDict.C -o Make/linux64GccDPInt32Opt/utilities/checkMeshDict/checkMeshDict.o
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/containers/Lists/pointFieldPMG.C -o Make/linux64GccDPInt32Opt/utilities/containers/Lists/pointFieldPMG.o
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/containers/Lists/faceListPMG.C -o Make/linux64GccDPInt32Opt/utilities/containers/Lists/faceListPMG.o
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/containers/VRWGraph/VRWGraph.C -o Make/linux64GccDPInt32Opt/utilities/containers/VRWGraph/VRWGraph.o
utilities/containers/VRWGraph/VRWGraph.C:32:16: warning: ‘Foam::Ostream& Foam::operator<<(Foam::Ostream&, const Foam::VRWGraph&)’ has not been declared within Foam
Foam::Ostream& Foam::operator<<
^~~~
In file included from utilities/containers/VRWGraph/VRWGraph.C:26:0:
utilities/containers/VRWGraph/VRWGraph.H:256:25: note: only here as a friend
friend Ostream& operator<<(Ostream&, const VRWGraph&);
^~~~~~~~
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/containers/VRWGraph/VRWGraphSMPModifier.C -o Make/linux64GccDPInt32Opt/utilities/containers/VRWGraph/VRWGraphSMPModifier.o
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/containers/VRWGraphList/VRWGraphList.C -o Make/linux64GccDPInt32Opt/utilities/containers/VRWGraphList/VRWGraphList.o
utilities/containers/VRWGraphList/VRWGraphList.C:32:16: warning: ‘Foam::Ostream& Foam::operator<<(Foam::Ostream&, const Foam::VRWGraphList&)’ has not been declared within Foam
Foam::Ostream& Foam::operator<<
^~~~
In file included from utilities/containers/VRWGraphList/VRWGraphList.C:26:0:
utilities/containers/VRWGraphList/VRWGraphList.H:126:25: note: only here as a friend
friend Ostream& operator<<(Ostream&, const VRWGraphList&);
^~~~~~~~
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/containers/Graphs/cellIOGraph.C -o Make/linux64GccDPInt32Opt/utilities/containers/Graphs/cellIOGraph.o
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/containers/Graphs/faceIOGraph.C -o Make/linux64GccDPInt32Opt/utilities/containers/Graphs/faceIOGraph.o
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c utilities/meshes/polyMeshGen/polyMeshGen.C -o Make/linux64GccDPInt32Opt/utilities/meshes/polyMeshGen/polyMeshGen.o
In file included from lnInclude/meshSubset.H:162:0,
from utilities/meshes/polyMeshGen/polyMeshGenPoints.H:45,
from utilities/meshes/polyMeshGen/polyMeshGenFaces.H:40,
from utilities/meshes/polyMeshGen/polyMeshGenCells.H:40,
from utilities/meshes/polyMeshGen/polyMeshGen.H:39,
from utilities/meshes/polyMeshGen/polyMeshGen.C:28:
lnInclude/meshSubsetI.H: In member function ‘bool Foam::meshSubset::operator==(const Foam::meshSubset&) const’:
lnInclude/meshSubsetI.H:173:18: warning: self-comparison always evaluates to false [-Wtautological-compare]
if( ms.type_ != ms.type_ )
~~~~~~~~~^~~~~~~~~~~
In file included from utilities/meshes/polyMeshGen/polyMeshGen.C:28:0:
utilities/meshes/polyMeshGen/polyMeshGen.H: At global scope:
utilities/meshes/polyMeshGen/polyMeshGen.H:52:9: error: ‘IOdictionary’ does not name a type; did you mean ‘dictionary’?
IOdictionary metaDict_;
^~~~~~~~~~~~
dictionary
utilities/meshes/polyMeshGen/polyMeshGen.H: In member function ‘const Foam::dictionary& Foam::polyMeshGen::metaData() const’:
utilities/meshes/polyMeshGen/polyMeshGen.H:89:20: error: ‘metaDict_’ was not declared in this scope
return metaDict_;
^~~~~~~~~
utilities/meshes/polyMeshGen/polyMeshGen.H:89:20: note: suggested alternative: ‘metaData’
return metaDict_;
^~~~~~~~~
metaData
utilities/meshes/polyMeshGen/polyMeshGen.H: In member function ‘Foam::dictionary& Foam::polyMeshGen::metaData()’:
utilities/meshes/polyMeshGen/polyMeshGen.H:95:20: error: ‘metaDict_’ was not declared in this scope
return metaDict_;
^~~~~~~~~
utilities/meshes/polyMeshGen/polyMeshGen.H:95:20: note: suggested alternative: ‘metaData’
return metaDict_;
^~~~~~~~~
metaData
utilities/meshes/polyMeshGen/polyMeshGen.C: In constructor ‘Foam::polyMeshGen::polyMeshGen(const Foam::Time&)’:
utilities/meshes/polyMeshGen/polyMeshGen.C:40:5: error: class ‘Foam::polyMeshGen’ does not have any field named ‘metaDict_’
metaDict_
^~~~~~~~~
utilities/meshes/polyMeshGen/polyMeshGen.C: In constructor ‘Foam::polyMeshGen::polyMeshGen(const Foam::Time&, const pointField&, const faceList&, const cellList&)’:
utilities/meshes/polyMeshGen/polyMeshGen.C:64:5: error: class ‘Foam::polyMeshGen’ does not have any field named ‘metaDict_’
metaDict_
^~~~~~~~~
utilities/meshes/polyMeshGen/polyMeshGen.C: In constructor ‘Foam::polyMeshGen::polyMeshGen(const Foam::Time&, const pointField&, const faceList&, const cellList&, const wordList&, const labelList&, const labelList&)’:
utilities/meshes/polyMeshGen/polyMeshGen.C:100:5: error: class ‘Foam::polyMeshGen’ does not have any field named ‘metaDict_’
metaDict_
^~~~~~~~~
utilities/meshes/polyMeshGen/polyMeshGen.C: In member function ‘void Foam::polyMeshGen::write() const’:
utilities/meshes/polyMeshGen/polyMeshGen.C:156:5: error: ‘metaDict_’ was not declared in this scope
metaDict_.writeHeader(fName);
^~~~~~~~~
utilities/meshes/polyMeshGen/polyMeshGen.C:156:5: note: suggested alternative: ‘metaData’
metaDict_.writeHeader(fName);
^~~~~~~~~
metaData
/opt/openfoam5/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/utilities/meshes/polyMeshGen/polyMeshGen.o' failed
make: *** [Make/linux64GccDPInt32Opt/utilities/meshes/polyMeshGen/polyMeshGen.o] Error 1
wmake executables
wmake cartesian2DMesh
make[1]: Entering directory '/home/will/OpenFOAM/will-5.0/cfMesh-v1.1.2/executables/cartesian2DMesh'
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -I/opt/openfoam5/src/finiteVolume/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c cartesian2DMesh.C -o Make/linux64GccDPInt32Opt/cartesian2DMesh.o
In file included from ../../meshLibrary/lnInclude/meshSubset.H:162:0,
from ../../meshLibrary/lnInclude/polyMeshGenPoints.H:45,
from ../../meshLibrary/lnInclude/polyMeshGenFaces.H:40,
from ../../meshLibrary/lnInclude/polyMeshGenCells.H:40,
from ../../meshLibrary/lnInclude/polyMeshGen.H:39,
from ../../meshLibrary/lnInclude/cartesian2DMeshGenerator.H:38,
from cartesian2DMesh.C:33:
../../meshLibrary/lnInclude/meshSubsetI.H: In member function ‘bool Foam::meshSubset::operator==(const Foam::meshSubset&) const’:
../../meshLibrary/lnInclude/meshSubsetI.H:173:18: warning: self-comparison always evaluates to false [-Wtautological-compare]
if( ms.type_ != ms.type_ )
~~~~~~~~~^~~~~~~~~~~
In file included from ../../meshLibrary/lnInclude/cartesian2DMeshGenerator.H:38:0,
from cartesian2DMesh.C:33:
../../meshLibrary/lnInclude/polyMeshGen.H: At global scope:
../../meshLibrary/lnInclude/polyMeshGen.H:52:9: error: ‘IOdictionary’ does not name a type; did you mean ‘dictionary’?
IOdictionary metaDict_;
^~~~~~~~~~~~
dictionary
../../meshLibrary/lnInclude/polyMeshGen.H: In member function ‘const Foam::dictionary& Foam::polyMeshGen::metaData() const’:
../../meshLibrary/lnInclude/polyMeshGen.H:89:20: error: ‘metaDict_’ was not declared in this scope
return metaDict_;
^~~~~~~~~
../../meshLibrary/lnInclude/polyMeshGen.H:89:20: note: suggested alternative: ‘metaData’
return metaDict_;
^~~~~~~~~
metaData
../../meshLibrary/lnInclude/polyMeshGen.H: In member function ‘Foam::dictionary& Foam::polyMeshGen::metaData()’:
../../meshLibrary/lnInclude/polyMeshGen.H:95:20: error: ‘metaDict_’ was not declared in this scope
return metaDict_;
^~~~~~~~~
../../meshLibrary/lnInclude/polyMeshGen.H:95:20: note: suggested alternative: ‘metaData’
return metaDict_;
^~~~~~~~~
metaData
/opt/openfoam5/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/cartesian2DMesh.o' failed
make[1]: *** [Make/linux64GccDPInt32Opt/cartesian2DMesh.o] Error 1
make[1]: Leaving directory '/home/will/OpenFOAM/will-5.0/cfMesh-v1.1.2/executables/cartesian2DMesh'
/opt/openfoam5/wmake/makefiles/apps:39: recipe for target 'cartesian2DMesh' failed
make: *** [cartesian2DMesh] Error 2
wmake utilities
wmake checkSurfaceMesh
make[1]: Entering directory '/home/will/OpenFOAM/will-5.0/cfMesh-v1.1.2/utilities/checkSurfaceMesh'
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -I/opt/openfoam5/src/finiteVolume/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c checkSurfaceMesh.C -o Make/linux64GccDPInt32Opt/checkSurfaceMesh.o
In file included from ../../meshLibrary/lnInclude/meshSubset.H:162:0,
from ../../meshLibrary/lnInclude/triSurfPoints.H:40,
from ../../meshLibrary/lnInclude/triSurf.H:40,
from checkSurfaceMesh.C:32:
../../meshLibrary/lnInclude/meshSubsetI.H: In member function ‘bool Foam::meshSubset::operator==(const Foam::meshSubset&) const’:
../../meshLibrary/lnInclude/meshSubsetI.H:173:18: warning: self-comparison always evaluates to false [-Wtautological-compare]
if( ms.type_ != ms.type_ )
~~~~~~~~~^~~~~~~~~~~
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DNoSizeType -I/opt/openfoam5/src/triSurface/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -I/opt/openfoam5/src/finiteVolume/lnInclude -I/opt/openfoam5/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/checkSurfaceMesh.o -L/opt/openfoam5/platforms/linux64GccDPInt32Opt/lib \
-lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh -L/home/will/OpenFOAM/will-5.0/platforms/linux64GccDPInt32Opt/lib -lmeshLibrary -lOpenFOAM -ldl \
-lm -o /home/will/OpenFOAM/will-5.0/platforms/linux64GccDPInt32Opt/bin/checkSurfaceMesh
/usr/bin/ld: cannot find -lmeshLibrary
collect2: error: ld returned 1 exit status
/opt/openfoam5/wmake/makefiles/general:140: recipe for target '/home/will/OpenFOAM/will-5.0/platforms/linux64GccDPInt32Opt/bin/checkSurfaceMesh' failed
make[1]: *** [/home/will/OpenFOAM/will-5.0/platforms/linux64GccDPInt32Opt/bin/checkSurfaceMesh] Error 1
make[1]: Leaving directory '/home/will/OpenFOAM/will-5.0/cfMesh-v1.1.2/utilities/checkSurfaceMesh'
/opt/openfoam5/wmake/makefiles/apps:39: recipe for target 'checkSurfaceMesh' failed
make: *** [checkSurfaceMesh] Error 2