|
[Sponsors] |
December 12, 2009, 19:49 |
Installing OF1.6 from git
|
#1 |
Senior Member
|
With assistance i have successfully compiled OpenFOAM1.6 from source on ubuntu 9.10 with the system compiler(not OF supplied). Now I am now trying to compile the most recent git version.
.................................................. .................... Here is the process(i think): 1. Download the git version to the OF directory http://www.opencfd.co.uk/openfoam/download.html (does the git version need the downloaded source packs in addition or is this git folder all that is needed??) 2. Let the system know where it is at: export FOAM_INST_DIR=/home/eric/OpenFOAM.gcc source etc/bashrc 3. Change compiler to system compiler(optional) gedit etc/settings.sh 4. Compile ./Allwmake .................................................. .................... Initially I got an error where the compiler couldnt find ThirdParty-1.6.x I fixed this (maybe) by creating a link to my source pack folder ln -s ~/OpenFOAM/ThirdParty-1.6 ~/OpenFOAM/ThirdParty-1.6.x The new error says: CMake Error: your CXX compiler: "/bin/c++" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Configuring incomplete, errors occurred! I looked and sure enough "/bin/c++", but "/usr/bin/c++" did. so i used the code: export CMAKE_CXX_COMPILER=/usr/bin/c++ source etc/bashrc But it didnt have any effect on the error outputs of ./Allwmake Thoughts? Any help is greatly appreciated! I have reviewed the following related forums: http://www.cfd-online.com/Forums/ope...ion-1-6-a.html http://www.cfd-online.com/Forums/ope...-cookbook.html |
|
December 13, 2009, 19:00 |
|
#2 |
Senior Member
|
I figured out that through about 4 links "/usr/bin/c++" eventualy points to " /usr/bin/g++-4.4"
Maybe i should point the compiler somewhere else... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
git problem with http repository | az_monger | OpenFOAM Bugs | 2 | September 4, 2009 05:45 |
git svn clone of openfoam-extend | Bost | OpenFOAM | 12 | August 3, 2009 20:16 |
Urgent Git problem updating OF15x | thomasduerr | OpenFOAM Bugs | 4 | July 8, 2009 07:07 |
Urgent Git problem updating OF15x | thomasduerr | OpenFOAM | 0 | July 7, 2009 11:36 |
Installation Problem with GIT | sega | OpenFOAM Installation | 2 | May 8, 2009 08:46 |