CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Compiling checkMesh fails

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 29, 2010, 05:25
Default Compiling checkMesh fails
Join Date: Mar 2009
Location: Norway
Posts: 85
Rep Power: 8
kjetil is on a distinguished road
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 is offline   Reply With Quote

Old   February 8, 2010, 12:05
Join Date: Mar 2009
Location: Norway
Posts: 85
Rep Power: 8
kjetil is on a distinguished road
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 ..
kjetil is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete cells in OF based on CheckMesh? AndTen OpenFOAM Meshing & Mesh Conversion 13 June 24, 2015 04:09
checkMesh behaviour when no time dumps available? kati OpenFOAM Bugs 2 September 12, 2014 04:12
Segmentation fault when using checkMesh skabilan OpenFOAM Pre-Processing 4 June 5, 2008 17:15
CheckMesh for mesh quality gdbaldw OpenFOAM Meshing & Mesh Conversion 2 October 18, 2007 00:11
Discussing UDF and C++ Compiling Big Stone FLUENT 9 April 12, 2004 15:07

All times are GMT -4. The time now is 09:06.