#1 Le 13/12/2009, à 10:08
- usky
Aide à la compilation de Tint photo editor
Bonjour,
J'ai vu que ce logiciel avait une version linux
http://www.indii.org/software/tintii/download
Le README donne ces infos :
1. Requirements
------------------------------------------------------------------------tintii requires:
* wxWidgets v2.8.0 or later <http://www.wxwidgets.org/>
* Boost.uBLAS and Boost.Random <http://www.boost.org/>and for compilation:
* scons <http://www.scons.org/>
These are commonly installed with Linux distributions or readily available
through package managers.2. Installation
------------------------------------------------------------------------To compile the program use:
scons
This will check for dependencies and compile all sources. To run the program
after compilation use:./tint
For a list of build options use:
scons -h
Any of these options may be set either by editing the config.py file
or by specifying them as NAME=VALUE pairs on the command line. For
example, to build with assertions disabled either enter:NDEBUG = 'yes'
into config.py, or use:
scons NDEBUG=yes
on the command line.
Options given at the command line override those in config.py, and
those in config.py override the defaults for your system.
J'ai donc installé libwxbase2.8-dev et libboost-dev
Je lance scons :
scons
et j'ai un message d'erreur :
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/laurent/bin/tint photo editor/tintii-2.0.0/SConstruct", line 14, in <module>
scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/laurent/bin/tint photo editor/tintii-2.0.0/SConstruct", line 16, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/laurent/bin/tint photo editor/tintii-2.0.0/SConstruct", line 18, in <module>
Checking for C++ header file wx/wx.h... yes
Checking for C++ header file boost/numeric/ublas/vector.hpp... yes
Checking for C++ header file boost/numeric/ublas/matrix.hpp... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/nuvola/nuvola.o -c -O3 -Wall -funroll-loops `wx-config --cxxflags` -g -DNDEBUG src/nuvola/nuvola.cpp
In file included from src/nuvola/nuvola.cpp:7:
src/nuvola/nuvola.hpp:12: error: expected initializer before ‘*’ token
src/nuvola/nuvola.hpp:13: error: expected initializer before ‘*’ token
.....
src/nuvola/nuvola.hpp:28: error: expected initializer before ‘*’ token
src/nuvola/nuvola.cpp:9: error: expected constructor, destructor, or type conversion before ‘*’ token
src/nuvola/nuvola.cpp:10: error: expected constructor, destructor, or type conversion before ‘*’ token
...
src/nuvola/nuvola.cpp:25: error: expected constructor, destructor, or type conversion before ‘*’ token
src/nuvola/nuvola.cpp: In function ‘void nuvola_initialize_images()’:
src/nuvola/nuvola.cpp:31: error: ‘_img_nuvola_button_accept’ was not declared in this scope
src/nuvola/nuvola.cpp:31: error: expected type-specifier before ‘wxBitmap’
src/nuvola/nuvola.cpp:31: error: expected ‘;’ before ‘wxBitmap’
src/nuvola/nuvola.cpp:35: error: ‘_img_nuvola_button_cancel’ was not declared in this scope
src/nuvola/nuvola.cpp:35: error: expected type-specifier before ‘wxBitmap’
src/nuvola/nuvola.cpp:35: error: expected ‘;’ before ‘wxBitmap’
...
src/nuvola/nuvola.cpp:95: error: ‘_img_nuvola_viewmagfit’ was not declared in this scope
src/nuvola/nuvola.cpp:95: error: expected type-specifier before ‘wxBitmap’
src/nuvola/nuvola.cpp:95: error: expected ‘;’ before ‘wxBitmap’
scons: *** [src/nuvola/nuvola.o] Error 1
scons: building terminated because of errors.
Avez vous une idée pour régler ce problème ?
Un PC Desktop Sous Ubuntu 12.04 Unity + acer1410 sous Unity Plus de windows depuis 2007 Le PC acer est sous Windows7... Ubuntu ne marche plus correctement depuis la 12.04...
http://parrains.linux.free.fr/
Hors ligne
#2 Le 14/12/2009, à 20:27
- Darunia
Re : Aide à la compilation de Tint photo editor
Ton paquet wxWidget doit etre mal installé.
Installe libwxgtk2.8-dev
Hors ligne
#3 Le 04/08/2010, à 22:33
- winux12
Re : Aide à la compilation de Tint photo editor
bonsoir,
je remonte ce post, car sans solution pour installer Tintii 2.2.3, je ne trouve pas de .deb, seulement une archive tintii-2.2.3.tar.gz
la commande scons, me retourne :
scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 858, in _main
je sèche
La LIBERTE n'a pas de prix ... Dell E7270 - Core I7 - 16 Go Ram
TuxLibre - ARU2L
Adhérent à l'APRIL
1 Photo - 1 Jour Twitter
Hors ligne
#4 Le 06/08/2010, à 17:04
- Darunia
Re : Aide à la compilation de Tint photo editor
sudo apt-get install scons libwxgtk2.8-dev libboost-dev
tar xzvf tintii-2.2.3.tar.gz
cd tintii-2.2.3
scons
Normalement ça le fait
Hors ligne
#5 Le 06/08/2010, à 18:59
- winux12
Re : Aide à la compilation de Tint photo editor
sur la commande: tar xzvf tintii-2.2.3.tar.gz
j'ai le retour suivant:
tar: tintii-2.2.3.tar.gz : la fonction open a échoué: Aucun fichier ou dossier de ce type
tar: Erreur non récupérable : arrêt du traitement
tar: Child returned status 2
tar: Arrêt avec code d'échec à cause des erreurs précédentes
merci
PS: l'archive est sur le bureau
Dernière modification par winux12 (Le 06/08/2010, à 19:00)
La LIBERTE n'a pas de prix ... Dell E7270 - Core I7 - 16 Go Ram
TuxLibre - ARU2L
Adhérent à l'APRIL
1 Photo - 1 Jour Twitter
Hors ligne
#6 Le 06/08/2010, à 19:23
- winux12
Re : Aide à la compilation de Tint photo editor
j'avais fait une erreur de saisie dans la commande: tar xzvf /opt/tintii-2.2.3.tar.gz (un espace de trop)
l'install c'est bien déroulée, par contre je ne trouve pas de tintii nulle part!!!
mais quel C.N, je fais !!!
ok Merci ...
mais bizarre cette commande
scons
Dernière modification par winux12 (Le 06/08/2010, à 19:30)
La LIBERTE n'a pas de prix ... Dell E7270 - Core I7 - 16 Go Ram
TuxLibre - ARU2L
Adhérent à l'APRIL
1 Photo - 1 Jour Twitter
Hors ligne