View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002243 | OpenFOAM | Bug | public | 2016-09-12 14:00 | 2016-09-12 14:32 |
Reporter | sergiykhan | Assigned To | henry | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | RHEL | OS Version | 6.7 |
Summary | 0002243: CGAL wmake sets incorrect paths to MPFR and GMP | ||||
Description | When compiling OpenFOAM v1606, the ./makeGcc script gets the MPFR and GMP libraries placed in the lib64/ sub-directory, while $WM_PROJECT_DIR/wmake/rules/General/CGAL sets paths explicitly to /lib. $ ls -al $WM_THIRD_PARTY_DIR/platforms/linux64/gmp-5.1.2 include lib64 share $ ls -al $WM_THIRD_PARTY_DIR/platforms/linux64/mpfr-3.1.2 include lib64 share $ cat $WM_PROJECT_DIR/wmake/rules/General/CGAL CGAL_INC = \ -I$(CGAL_ARCH_PATH)/include \ -I$(MPFR_ARCH_PATH)/include \ -I$(GMP_ARCH_PATH)/include \ -I$(BOOST_ARCH_PATH)/include CGAL_LIBS = \ -L$(MPFR_ARCH_PATH)/lib \ -L$(GMP_ARCH_PATH)/lib \ -L$(BOOST_ARCH_PATH)/lib \ -L$(CGAL_ARCH_PATH)/lib \ -lCGAL \ -lmpfr The simple fix is to create symlinks like so: $ cd $WM_THIRD_PARTY_DIR $ (cd platforms/linux64/gmp-5.1.2; ln -s lib64 lib) $ (cd platforms/linux64/mpfr-3.1.2; ln -s lib64 lib) | ||||
Tags | No tags attached. | ||||