I'm getting some issues with installing cfmesh onto my computer and wondered if anyone might be able to help. I've attached the log file. Note that I tried to install twice, and I believe the log file that was done during the first install was over written.
All I can really tell is that it's failing to make certain files. Other than that, I'm not really sure what's happening. Any help would be greatly appreciated.
For general info, I'm running:
OS: Ubuntu 18.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
OpenFOAMv1712
Here are the contents of the log.Allmake:
Code: Select all
wmake libso meshLibrary
wmake executables
wmake cartesian2DMesh
make[1]: Entering directory '/home/u2berggeist/OpenFOAM/u2berggeist-v1712/cfmesh-cfdof/executables/cartesian2DMesh'
g++ -std=c++11 -m64 -DOPENFOAM_PLUS=1712 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DNoSizeType -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/triSurface/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/surfMesh/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/meshTools/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/finiteVolume/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/cartesian2DMesh.o -L/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/platforms/linux64GccDPInt32Opt/lib \
-lmeshTools -lsurfMesh -lfiniteVolume -L/home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/lib -lmeshLibrary -lOpenFOAM -ldl \
-lm -o /home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/bin/cartesian2DMesh
Make/linux64GccDPInt32Opt/cartesian2DMesh.o: In function `main':
cartesian2DMesh.C:(.text.startup+0x37a): undefined reference to `Foam::cartesian2DMeshGenerator::cartesian2DMeshGenerator(Foam::Time const&)'
cartesian2DMesh.C:(.text.startup+0x3ff): undefined reference to `Foam::cartesian2DMeshGenerator::writeMesh() const'
cartesian2DMesh.C:(.text.startup+0x426): undefined reference to `Foam::cartesian2DMeshGenerator::~cartesian2DMeshGenerator()'
cartesian2DMesh.C:(.text.startup+0x64c): undefined reference to `Foam::cartesian2DMeshGenerator::~cartesian2DMeshGenerator()'
collect2: error: ld returned 1 exit status
/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/wmake/makefiles/general:140: recipe for target '/home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/bin/cartesian2DMesh' failed
make[1]: Leaving directory '/home/u2berggeist/OpenFOAM/u2berggeist-v1712/cfmesh-cfdof/executables/cartesian2DMesh'
make[1]: *** [/home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/bin/cartesian2DMesh] Error 1
/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/wmake/makefiles/apps:39: recipe for target 'cartesian2DMesh' failed
make: *** [cartesian2DMesh] Error 2
wmake utilities
wmake checkSurfaceMesh
make[1]: Entering directory '/home/u2berggeist/OpenFOAM/u2berggeist-v1712/cfmesh-cfdof/utilities/checkSurfaceMesh'
g++ -std=c++11 -m64 -DOPENFOAM_PLUS=1712 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DNoSizeType -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/triSurface/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/surfMesh/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/meshTools/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/finiteVolume/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude -I/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/checkSurfaceMesh.o -L/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/platforms/linux64GccDPInt32Opt/lib \
-lmeshTools -lsurfMesh -lfiniteVolume -L/home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/lib -lmeshLibrary -lOpenFOAM -ldl \
-lm -o /home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/bin/checkSurfaceMesh
Make/linux64GccDPInt32Opt/checkSurfaceMesh.o: In function `main':
checkSurfaceMesh.C:(.text.startup+0x28a): undefined reference to `Foam::triSurf::triSurf(Foam::fileName const&)'
checkSurfaceMesh.C:(.text.startup+0x2f7): undefined reference to `Foam::triSurfaceChecks::calculateBoundingBox(Foam::triSurf const&, Foam::boundBox&)'
checkSurfaceMesh.C:(.text.startup+0x485): undefined reference to `Foam::triSurfaceChecks::checkSurfaceManifolds(Foam::triSurf&, Foam::word)'
checkSurfaceMesh.C:(.text.startup+0x578): undefined reference to `Foam::triSurfaceChecks::checkForHoles(Foam::triSurf&, Foam::word)'
checkSurfaceMesh.C:(.text.startup+0x637): undefined reference to `Foam::triSurfaceChecks::checkForNonManifoldEdges(Foam::triSurf&, Foam::word)'
checkSurfaceMesh.C:(.text.startup+0x6d8): undefined reference to `Foam::triSurfaceChecks::checkDisconnectedParts(Foam::triSurf&, Foam::word)'
checkSurfaceMesh.C:(.text.startup+0x782): undefined reference to `Foam::triSurfaceChecks::checkAngles(Foam::triSurf&, Foam::word, double)'
checkSurfaceMesh.C:(.text.startup+0x829): undefined reference to `Foam::triSurfaceChecks::checkSelfIntersections(Foam::triSurf&, Foam::word, double)'
checkSurfaceMesh.C:(.text.startup+0x8e7): undefined reference to `Foam::triSurfaceChecks::checkOverlaps(Foam::triSurf&, Foam::word, double, double)'
checkSurfaceMesh.C:(.text.startup+0x981): undefined reference to `Foam::triSurfaceChecks::checkCollocatedPoints(Foam::triSurf&, Foam::word, double)'
checkSurfaceMesh.C:(.text.startup+0xa8b): undefined reference to `Foam::triSurf::writeSurface(Foam::fileName const&) const'
checkSurfaceMesh.C:(.text.startup+0xab2): undefined reference to `Foam::triSurf::~triSurf()'
checkSurfaceMesh.C:(.text.startup+0x1013): undefined reference to `Foam::triSurf::~triSurf()'
collect2: error: ld returned 1 exit status
/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/wmake/makefiles/general:140: recipe for target '/home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/bin/checkSurfaceMesh' failed
make[1]: Leaving directory '/home/u2berggeist/OpenFOAM/u2berggeist-v1712/cfmesh-cfdof/utilities/checkSurfaceMesh'
make[1]: *** [/home/u2berggeist/OpenFOAM/u2berggeist-v1712/platforms/linux64GccDPInt32Opt/bin/checkSurfaceMesh] Error 1
/home/u2berggeist/OpenFOAM/OpenFOAM-v1712/wmake/makefiles/apps:39: recipe for target 'checkSurfaceMesh' failed
make: *** [checkSurfaceMesh] Error 2