French Forest Sector Model (FFSM++)

Laboratoire d'Economie Forestière - LEF - Nancy, France

User Tools

Site Tools


en:dev:development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:dev:development [2018/05/16 15:03]
Antonello Lobianco [Developing FFSM]
en:dev:development [2020/07/30 16:32] (current)
Antonello Lobianco [ADOL-C] Reinserted the lib64 trick as it seems it is indeed needed
Line 8: Line 8:
 This section contains detailed instructions on how to get and install the IDE and all the necessary prerequisites, in both Windows or Linux environment. For the former, third party libraries (IPOPT, Adol-C, ColPack) are already available within the FFSM source code repository, so the instruction for their installation refers only to the case that a new version of them is released and the user want to upgrade to it.\\ This section contains detailed instructions on how to get and install the IDE and all the necessary prerequisites, in both Windows or Linux environment. For the former, third party libraries (IPOPT, Adol-C, ColPack) are already available within the FFSM source code repository, so the instruction for their installation refers only to the case that a new version of them is released and the user want to upgrade to it.\\
  
-===== Linux (Ubuntu 16.04) =====+===== Linux (Ubuntu 20.04) =====
  
-//See older revisions of this page for older Ubuntu systems and for tips to solving some errors no longer occurring in Ubuntu 16.10.//+//See older revisions of this page for older Ubuntu systems and for tips to solving some errors no longer occurring in Ubuntu 18.04 and 16.10.//
  
 The following packages and their prerequisites should be installed: The following packages and their prerequisites should be installed:
 <code bash> <code bash>
-sudo apt-get install qt5-default qt5-qmake qtcreator libatlas-base-dev libatlas-dev gfortran zlib1g-dev libboost-all-dev +sudo apt-get install qt5-default qt5-qmake qtcreator libatlas-base-dev gfortran zlib1g-dev libboost-all-dev
-# Optional, for the qtcreator helper: +
-sudo apt-get install libgstreamer0.10-0 libgstreamer0.10-dev libgstreamer-plugins-base0.10-0+
 </code> </code>
  
Line 33: Line 31:
   * Needed ColPack >= 1.0.8   * Needed ColPack >= 1.0.8
   * Type:<code bash>   * Type:<code bash>
 +sudo apt-get install libtool
 git clone https://github.com/CSCsw/ColPack.git  # Download ColPack git clone https://github.com/CSCsw/ColPack.git  # Download ColPack
 cd ColPack                                       # ColPack Root Directory cd ColPack                                       # ColPack Root Directory
 +git checkout 10b780b52a25c6ccef3d2abc12055ee85b7e8667 # checkout a version know to works
 autoreconf -vif                                 autoreconf -vif                                
 ./configure --prefix=/usr 'CXXFLAGS=-O3' 'CFLAGS=-O3' ./configure --prefix=/usr 'CXXFLAGS=-O3' 'CFLAGS=-O3'
Line 40: Line 40:
 sudo make install sudo make install
 </code> </code>
-//Notes: The web site cscapes seems to no longer exists. {{:en:dev:colpack-1.0.9.tar.gz|Here is a copy of the last available ColPack library, the 1.0.9}}. // 
- 
  
  
Line 52: Line 50:
 sudo make install sudo make install
 </code> </code>
 +
   * On 64 bits Linux, symlink all libadoc.* libraries from /usr/lib64 to /usr/lib:<code bash>   * On 64 bits Linux, symlink all libadoc.* libraries from /usr/lib64 to /usr/lib:<code bash>
 cd /usr/lib cd /usr/lib
Line 62: Line 61:
 ===== Windows (XP or 7) ===== ===== Windows (XP or 7) =====
  
 +New Sept 2018 (work in progress)
 +
 +Download:
 +  - qt installer from https://qt.io
 +    - modules Qt 5.11.1 (MinGW 5.3.0 32 bits)
 +    - tools:
 +      - Qt Creator 4.7.0 CDB Debug Suport
 +      - MinGW 5.3.0
 +      -  Qt Installer Framework 3.0
 +  - Git for windows from https://gitforwindows.org
 +  - Tortoise Git from https://tortoisegit.org
 ===== MinGW ===== ===== MinGW =====
  
en/dev/development.1526475786.txt.gz · Last modified: 2018/06/18 16:44 (external edit)