|
[Sponsors] |
(x-post from 'bugs') mesquite-2.1.2 compile fix for newer gcc |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2012, 15:00 |
(x-post from 'bugs') mesquite-2.1.2 compile fix for newer gcc
|
#1 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
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' {} \; find ./src/QualityMetric -ls -type f -exec sed -i 's/size_t/std::size_t/g' {} \; Code:
make -j $WM_NCOMPROCS Cheers! Kyle |
|
May 9, 2012, 18:32 |
|
#2 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hi again,
Just posted an alternative patch in the original post regarding this topic in the "Bugs" section of the forum. Philippose |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thirdparty mesquite-2.1.2 compile fix for newer gcc | kmooney | OpenFOAM Bugs | 3 | May 10, 2012 10:27 |
Cmake cannot recognize gcc to compile ParaView | CAVT | OpenFOAM | 3 | July 27, 2010 21:38 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |
Need Makefile for GCC in windows to compile UDFs | Filipe Madureira | FLUENT | 2 | December 28, 2005 17:08 |