CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] [v3.0+] Compilation problem in Debian 8.2

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By leguichet

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2016, 09:55
Default [v3.0+] Compilation problem in Debian 8.2
  #1
New Member
 
gao
Join Date: Feb 2014
Posts: 7
Rep Power: 12
leguichet is on a distinguished road
Hi,

I am a beginner of OpenFOAM and trying to compile it on my laptop with Debian-8.2.
The compilation stopped.
I had libboot-1.55 already installed via sudo apt-get install.

Could someone help me? Thank you very much!

Leguichet

-L/home/gao/OpenFOAM/ThirdParty-v3.0+/platforms/linux64Gcc/boost-system/lib -lboost_thread -lmeshTools -ldecompositionMethods -lrenumberMethods -o /home/gao/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Opt/lib/libSloanRenumber.so
/usr/bin/ld: cannot find -lboost_thread
collect2: error: ld returned 1 exit status
/home/gao/OpenFOAM/OpenFOAM-v3.0+/wmake/Makefile:162: recipe for target '/home/gao/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Opt/lib/libSloanRenumber.so' failed
make: *** [/home/gao/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Opt/lib/libSloanRenumber.so] Error 1

Last edited by leguichet; May 29, 2016 at 11:33.
leguichet is offline   Reply With Quote

Old   May 29, 2016, 14:28
Default
  #2
New Member
 
gao
Join Date: Feb 2014
Posts: 7
Rep Power: 12
leguichet is on a distinguished road
Solved by typing

unset BOOST_ARCH_PATH

Quote:
Originally Posted by leguichet View Post
Hi,

I am a beginner of OpenFOAM and trying to compile it on my laptop with Debian-8.2.
The compilation stopped.
I had libboot-1.55 already installed via sudo apt-get install.

Could someone help me? Thank you very much!

Leguichet

-L/home/gao/OpenFOAM/ThirdParty-v3.0+/platforms/linux64Gcc/boost-system/lib -lboost_thread -lmeshTools -ldecompositionMethods -lrenumberMethods -o /home/gao/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Opt/lib/libSloanRenumber.so
/usr/bin/ld: cannot find -lboost_thread
collect2: error: ld returned 1 exit status
/home/gao/OpenFOAM/OpenFOAM-v3.0+/wmake/Makefile:162: recipe for target '/home/gao/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Opt/lib/libSloanRenumber.so' failed
make: *** [/home/gao/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Opt/lib/libSloanRenumber.so] Error 1
jherb and beatlejuice like this.
leguichet is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[waves2Foam] Compilation problem on OF 2.4.0 Nick_civ OpenFOAM Community Contributions 3 November 29, 2016 03:02
Compilation problem when including C file mcell SU2 Installation 3 February 6, 2016 13:15
UDF compilation problem ordinary Fluent UDF and Scheme Programming 1 November 6, 2015 13:36
code compilation problem with wmake bmikuz OpenFOAM Programming & Development 2 October 17, 2012 09:30
Compiled UDF / Compilation problem mikhail FLUENT 1 October 13, 2000 06:12


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