OF 2.3.x libconformalVoronoiMesh Compilation Error
Foamers,
I'm attempting to compile OF 2.3.x (ddafa9836ad9) on RHEL 5.7 using GCC 4.9.0. Everything compiles fine except for a small portion of foamyHexMesh (the app that I wanted to test). I receive the following error... Code:
/home/brock/my_apps/binutils-2.24/bin/ld: /usr/lib/../lib64/libmpfr.a(clear.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC The error notes to add -fPIC and recompile, however I have been unable to correctly identify where that needs to be added. Can anyone help me diagnose and fix this error? Thanks! Brock |
Figured it out
Foamers,
I figured it out. I compiled CGAL with mpfr and gmp libraries that I placed in... Code:
ThirdParty-2.3.x/platforms/linux64 I ended up having to put the mpfr and gmp libraries I used to compile CGAL into $FOAM_SITE_LIBBIN so that they would get used instead of the system versions of mpfr and gmp. Cheers, Brock |
alternatevly give wmake libso correct path
Hi,
I encountered the same problem: Code:
... Code:
... |
All times are GMT -4. The time now is 15:41. |