CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   updating OpenFOAM-1.6-ext (

cnsidero July 1, 2011 16:39

updating OpenFOAM-1.6-ext
I thought I'd throw this out to the community before I log it in the openfoam-extend bug tracking system in case I'm missing something obvious.

I had previously built and had been using OpenFOAM-1.6-ext successfully (about 2-3 months ago) and wanted to update it to include some fixes. So I:


$>git pull
and then


(both from the $WM_PROJECT_DIR of course). The majority of it builds OK but I get some errors, specifically anything looking for source files previously residing in the meshTools dir. Here's a sample error:


make: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude/meshTools.H', needed by `polyDualMesh/polyDualMesh.dep'.  Stop.
Because meshTools.H does not exist in that directory - it's in /opt/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude and not src/meshTools/lnInclude . In fact, there are a bunch of source and header files that are in src/OpenFOAM/lnInclude but the build system is expecting them in src/meshTools/lnInclude .

Did the location of some files change but the necessary updates not make it into the dependency files? Or am I way out to lunch, my build tree got borked up somehow and should build from a clean pull? I'll include the full error log if/when someone asks for it.

Thanks, Chris

cnsidero July 1, 2011 17:14

Nm, I forgot to clean the source tree before rebuilding so all the old .dep files remained. It's been a long day ... ugh.

All times are GMT -4. The time now is 22:08.