CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Compiling checkMesh fails

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2010, 04:25
Default Compiling checkMesh fails
  #1
Senior Member
 
Join Date: Mar 2009
Location: Norway
Posts: 137
Rep Power: 17
kjetil is on a distinguished road
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 is offline   Reply With Quote

Old   February 8, 2010, 11:05
Default
  #2
Senior Member
 
Join Date: Mar 2009
Location: Norway
Posts: 137
Rep Power: 17
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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] How to delete cells in OF based on CheckMesh? AndTen OpenFOAM Meshing & Mesh Conversion 15 July 27, 2018 06:13
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
[Other] 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 12:13.