(x-post from 'bugs') mesquite-2.1.2 compile fix for newer gcc
Hi everyone,
I've seen a lot of heartache around over trying to compile the Thirdparty stage 3 package mesquite-2.1.2 with newer gcc (4.6.x) versions. I was able to add a couple lines into the spec file that effectively patches the source code and allows a clean installation. The key is in this file: Code:
/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SPECS/mesquite-2.1.2.spec Code:
find ./src/ObjectiveFunction -ls -type f -exec sed -i 's/size_t/std::size_t/g' {} \; Code:
make -j $WM_NCOMPROCS Cheers! Kyle |
Hi again,
Just posted an alternative patch in the original post regarding this topic in the "Bugs" section of the forum. Philippose |
All times are GMT -4. The time now is 22:44. |