Problème de compilation suite à une mise à niveau de linux

Fermé
tortue - 3 sept. 2014 à 12:59
sambia39 Messages postés 610 Date d'inscription vendredi 31 juillet 2009 Statut Membre Dernière intervention 9 février 2023 - 4 sept. 2014 à 10:27
Bonjour,

Je viens de mettre à niveau ubuntu pour passer à la dernièreJe souhaiterais version. Suite à cela j'ai eu plusieurs problèmes, deja parce que l'installation de grub-pc avait échoué, ce qui normalement est réglé, les installations de linux-image-3.2.0-(33..67)-generic avaient également échoués (pour ca je n'ai encore rien fait et je ne sais pas si je devrais) et ensuite lorsque j'essaie de compiler un programme c++ qui auparavant fonctionnait, j'ai des messages d'erreurs qui me sont totalement opaques...
Je souhaiterais vous montrer ces messages, pour savoir si en les lisant vous pourriez me donner des pistes de résolution..
Voici donc (je mets que jusque la premiere erreur car il y a des pages de messages...) :

In file included from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eo:63:0,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/casGeneralEA.cpp:25:
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eoProportionalCombinedOp.h: In member function `virtual void eoPropCombinedQuadOp<EOT>::add(eoQuadOp<EOT>&, double, bool)':
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eoProportionalCombinedOp.h:192:17: note: #pragma message: The use of the verbose parameter in eoPropCombinedQuadOp::add is deprecated and will be removed in the next release.
#pragma message "The use of the verbose parameter in eoPropCombinedQuadOp::add is deprecated and will be removed in the next release."
^
In file included from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eo:83:0,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/casGeneralEA.cpp:25:
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eoCombinedContinue.h: In constructor `eoCombinedContinue<EOT>::eoCombinedContinue(eoContinue<EOT>&, eoContinue<EOT>&)':
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eoCombinedContinue.h:65:17: note: #pragma message: The double continuators constructor of eocombinedContinue is deprecated and will be removed in the next release.
#pragma message "The double continuators constructor of eocombinedContinue is deprecated and will be removed in the next release."
^
In file included from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eo:83:0,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/casGeneralEA.cpp:25:
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eoCombinedContinue.h: In member function `void eoCombinedContinue<EOT>::removeLast()':
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eoCombinedContinue.h:80:17: note: #pragma message: The removeLast method of eocombinedContinue is deprecated and will be removed in the next release, use pop_back instead.
#pragma message "The removeLast method of eocombinedContinue is deprecated and will be removed in the next release, use pop_back instead."
^
In file included from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/utils/eoStdoutMonitor.h:35:0,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/utils/checkpointing:32,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/eo:140,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/casGeneralEA.cpp:25:
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/utils/eoOStreamMonitor.h: In constructor `eoOStreamMonitor::eoOStreamMonitor(std::ostream&, bool, std::string, unsigned int, char)':
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/../../src/utils/eoOStreamMonitor.h:52:17: note: #pragma message: WARNING: the use of the verbose parameter in eoOStreamMonitor constructor is deprecated and will be removed in the next release
#pragma message "WARNING: the use of the verbose parameter in eoOStreamMonitor constructor is deprecated and will be removed in the next release"
^
In file included from /usr/include/boost/graph/graph_traits.hpp:27:0,
from /usr/include/boost/graph/adjacency_list.hpp:33,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/utils.h:5,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/eocasGeneralInit.h:17,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/casGeneralEA.cpp:40:
/usr/include/boost/pending/property.hpp: In instantiation of `struct boost::lookup_one_property<boost::property<boost::vertex_bundle_t, VertexProperties>, boost::vertex_bundle_t>':
/usr/include/boost/graph/detail/adjacency_list.hpp:1504:89: required from `struct boost::adj_list_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties> >, boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties>, boost::listS>::config, boost::directed_graph_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties> >, boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties>, boost::listS>::config> >'
/usr/include/boost/graph/detail/adjacency_list.hpp:2026:11: required from `class boost::vec_adj_list_impl<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties> >, boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties> >, boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties>, boost::listS>::config, boost::directed_graph_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties> >, boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties>, boost::listS>::config> >'
/usr/include/boost/graph/adjacency_list.hpp:261:9: required from `class boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties> >'
/usr/include/boost/graph/graph_traits.hpp:57:52: required from `struct boost::graph_traits<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::property<boost::vertex_bundle_t, VertexProperties>, boost::property<boost::edge_bundle_t, EdgeProperties>, boost::property<boost::graph_bundle_t, graphProperties> > >'
/home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/utils.h:91:37: required from here
/usr/include/boost/pending/property.hpp:158:10: error: ambiguous class template instantiation for `struct boost::lookup_one_property_internal<boost::property<boost::vertex_bundle_t, VertexProperties>, boost::vertex_bundle_t, void>'
struct lookup_one_property: lookup_one_property_internal<T, Tag> {};
^
In file included from /usr/include/boost/graph/graph_traits.hpp:27:0,
from /usr/include/boost/graph/adjacency_list.hpp:33,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/utils.h:5,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/eocasGeneralInit.h:17,
from /home/pouette/ParadisEO-2.0/eo/tutorial/Templates/casGeneral/src/casGeneralEA.cpp:40:
/usr/include/boost/pending/property.hpp:107:3: error: candidates are: struct boost::lookup_one_property_internal<T, boost::vertex_bundle_t>
BGL_DO_ONE_BUNDLE_TYPE(vertex)
Désolée, tout ceci est un peu moche...
je serais tres heureuse si vous aviez des suggestions..
A voir également:

1 réponse

sambia39 Messages postés 610 Date d'inscription vendredi 31 juillet 2009 Statut Membre Dernière intervention 9 février 2023 49
4 sept. 2014 à 10:27
Bonjour
Ton problème peut venir du fait que ta library boost est absente ?
Essaye cette commande sous Ubuntu

sudo apt-get update && sudo apt-get upgrade && sudo apt-get install libboost-dev && sudo apt-get install build-essential
à bientôt
0