To install tessm on a Ubuntu x86 from http://membres-timc.imag.fr/Olivier.Francois/tess.html
# Install ChartDir
cd /usr/local
wget https://www.advsofteng.net/chartdir_cpp_linux_64.tar.gz
tar xzf chartdir_cpp_linux_64.tar.gz
rm chartdir_cpp_linux_64.tar.gz
cd /usr/local
wget https://www.advsofteng.net/chartdir_cpp_linux_64.tar.gz
tar xzf chartdir_cpp_linux_64.tar.gz
rm chartdir_cpp_linux_64.tar.gz
Verify that GSL is installed using
gsl-config --libs
It will return
-L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
Install tessm:
cd $HOME
wget http://membres-timc.imag.fr/Olivier.Francois/tessm-2.3.1.tar.gz
tar xzf tessm-2.3.1.tar.gz
cd tessm-2.3.1/
./configure CPPFLAGS="-I/usr/local/include -I/usr/local/ChartDirector/include" LDFLAGS="-L/usr/local/lib -L/usr/local/ChartDirector/lib"
Edit Voronoi.cpp and PlotUtilities.cpp:
Replace all
([\( ])Transparent
with
\1Chart::Transparent
And
([\( ])LineColor
with
\1Chart::LineColor
wget http://membres-timc.imag.fr/Olivier.Francois/tessm-2.3.1.tar.gz
tar xzf tessm-2.3.1.tar.gz
cd tessm-2.3.1/
./configure CPPFLAGS="-I/usr/local/include -I/usr/local/ChartDirector/include" LDFLAGS="-L/usr/local/lib -L/usr/local/ChartDirector/lib"
Edit Voronoi.cpp and PlotUtilities.cpp:
Replace all
([\( ])Transparent
with
\1Chart::Transparent
And
([\( ])LineColor
with
\1Chart::LineColor
make
Add in .profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ChartDirector/lib
alias tessm=$HOME/tessm-2.3.1/tessm
logout and login and enter
tessm
tessm
###########################
cd $HOME
wget http://membres-timc.imag.fr/Olivier.Francois/tessmAdmBYM-2.3.1.tar.gz
tar xzf tessmAdmBYM-2.3.1.tar.gz
rm tessmAdmBYM-2.3.1.tar.gz
cd tessmAdmBYM-2.3.1/
./configure CPPFLAGS="-I/usr/local/include -I/usr/local/ChartDirector/include" LDFLAGS="-L/usr/local/lib -L/usr/local/ChartDirector/lib"
Edit Voronoi.cpp and PlotUtilities.cpp:
Replace all
([\( ])Transparent
with
\1Chart::Transparent
And
([\( ])LineColor
with
\1Chart::LineColor
In vi:
:%s/ Transparent/ Chart::Transparent/g
:%s/(Transparent/(Chart::Transparent/g
:%s/ LineColor/ Chart:: LineColor/g
:%s/(LineColor/(Chart:: LineColor/g
make
Add in .profile
alias tessm=$HOME/tessm-2.3.1/tessm
alias tessmAdmBYM=$HOME/tessmAdmBYM-2.3.1/tessmAdmBYM
logout and login and enter
tessmAdmBYM
###########################
cd $HOME
wget http://membres-timc.imag.fr/Olivier.Francois/tessmAdmCAR-2.3.1.tar.gz
tar xzf tessmAdmCAR-2.3.1.tar.gz
rm tessmAdmCAR-2.3.1.tar.gz
cd tessmAdmCAR-2.3.1/
./configure CPPFLAGS="-I/usr/local/include -I/usr/local/ChartDirector/include" LDFLAGS="-L/usr/local/lib -L/usr/local/ChartDirector/lib"
Edit Voronoi.cpp and PlotUtilities.cpp:
Replace all
([\( ])Transparent
with
\1Chart::Transparent
And
([\( ])LineColor
with
\1Chart::LineColor
make
Add in the .profile
alias tessmAdmCAR=$HOME/tessmAdmCAR-2.3.1/tessmAdmCAR
logout and login and enter
tessmAdmCAR
Aucun commentaire:
Enregistrer un commentaire