CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Compiling checkMesh fails (https://www.cfd-online.com/Forums/openfoam-installation/72225-compiling-checkmesh-fails.html)

kjetil January 29, 2010 04:25

Compiling checkMesh fails
 
Foamers,
I am trying to recompile the OF 1.6.x, but get an error on compiling the checkMesh. It returns:
make[3]: Entering directory `/home/kjetil/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/mesh/manipulation/checkMesh'
g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/kjetil/OpenFOAM/OpenFOAM-1.6.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/kjetil/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/kjetil/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/printMeshStats.o Make/linuxGccDPOpt/checkTopology.o Make/linuxGccDPOpt/checkGeometry.o Make/linuxGccDPOpt/checkMesh.o -L/home/kjetil/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \
-lmeshTools -lOpenFOAM -liberty -ldl -lm -o /home/kjetil/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/checkMesh

Make/linuxGccDPOpt/checkGeometry.o: In function `Foam::checkGeometry(Foam::polyMesh const&, bool)':
checkGeometry.C:(.text+0x2a40): undefined reference to `Foam::pointSet::pointSet(Foam::polyMesh const&, Foam::word const&, Foam::topoSet const&, Foam::IOobject::writeOption)'
collect2: ld returned 1 exit status

How can I fix this? I can't find any "clean"-function either, as this has helped in similar situations before..

kjetil February 8, 2010 11:05

Okay, so this is solved by doing a git clone over again and recompile. But this does take a lot of time; is there any other (more clever) way of doing this, to avoid errors and unnecessary recompilations? I'm sure a solution to this would help not only me ..


All times are GMT -4. The time now is 20:55.