Chargement...
 
[Voir/Cacher menus de gauche]
[Voir/Cacher menus de droite]

7 - Développer/Traduire/Documenter/Annoncer une application

Dernier post

dino ne compile plus sur debian stretch

olinuxx utilisateur non connecté France
Le petit séquenceur MIDI dino ne compile plus sur une debian stretch alors qu'il compilait sur debian jessie.

Le terminal informe de plusieurs erreurs comme celles là :

/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: In instantiation of 'sigc::bind_return_functor<T_return, T_functor> sigc::bind_return(const T_functor&, T_return) [with T_return = bool; T_functor = sigc::bound_mem_functor0<void, Dino::Deleter>]':
deleter.hpp:64:63:   required from here
/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h:230:10: error: no matching function for call to 'sigc::bind_return_functor<bool, sigc::bound_mem_functor0<void, Dino::Deleter> >::bind_return_functor(const sigc::bound_mem_functor0<void, Dino::Deleter>&, bool&)'
 { return bind_return_functor<T_return, T_functor>(_A_functor, _A_ret_value); }
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h:24:0,
                 from /usr/include/sigc++-2.0/sigc++/sigc++.h:107,
                 from /usr/include/glibmm-2.4/glibmm/thread.h:50,
                 from /usr/include/glibmm-2.4/glibmm.h:89,
                 from deleter.hpp:24,
                 from controller.cpp:25:


In file included from /usr/include/libxml++-2.6/libxml++/validators/schemavalidator.h:12:0,
                 from /usr/include/libxml++-2.6/libxml++/libxml++.h:74,
                 from pattern.hpp:31,
                 from patternselection.hpp:28,
                 from notecollection.cpp:24:
/usr/include/libxml++-2.6/libxml++/schema.h:48:40: error: 'nullptr' was not declared in this scope
   explicit Schema(Document* document = nullptr, bool embed = false);
                                        ^~~~~~~
/usr/include/libxml++-2.6/libxml++/schema.h:62:50: error: 'nullptr' was not declared in this scope
   virtual void set_document(Document* document = nullptr, bool embed = false);
                                                  ^~~~~~~
In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:74:0,
                 from pattern.hpp:31,
                 from patternselection.hpp:28,
                 from notecollection.cpp:24:


In file included from /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:13:0,
                 from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:9,
                 from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
                 from /usr/include/sigc++-2.0/sigc++/signal_base.h:27,
                 from /usr/include/sigc++-2.0/sigc++/signal.h:8,
                 from /usr/include/sigc++-2.0/sigc++/sigc++.h:104,
                 from /usr/include/glibmm-2.4/glibmm/thread.h:50,
                 from /usr/include/glibmm-2.4/glibmm.h:89,
                 from deleter.hpp:24,
                 from controller.cpp:25:
/usr/include/sigc++-2.0/sigc++/limit_reference.h: In instantiation of 'sigc::limit_reference<T_type>::limit_reference(T_type&) [with T_type = Dino::Deleter]':
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1984:18:   required from 'sigc::bound_mem_functor0<T_return, T_obj>::bound_mem_functor0(T_obj&, sigc::bound_mem_functor0<T_return, T_obj>::function_type) [with T_return = void; T_obj = Dino::Deleter; sigc::bound_mem_functor0<T_return, T_obj>::function_type = void (Dino::Deleter::*)()]'
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:6168:10:   required from 'sigc::bound_mem_functor0<T_return, T_obj> sigc::mem_fun(T_obj&, T_return (T_obj2::*)()) [with T_return = void; T_obj = Dino::Deleter; T_obj2 = Dino::Deleter]'
deleter.hpp:64:56:   required from here
/usr/include/sigc++-2.0/sigc++/limit_reference.h:79:24: error: invalid initialization of reference of type 'sigc::trackable&' from expression of type 'Dino::Deleter'
       invoked(_A_target)
                        ^
In file included from pattern.hpp:30:0,
                 from patternselection.hpp:28,
                 from notecollection.cpp:24:
/usr/include/sigc++-2.0/sigc++/signal.h: In instantiation of 'struct sigc::internal::signal_emit1<void, std::__cxx11::basic_string<char>, sigc::nil>':
/usr/include/sigc++-2.0/sigc++/signal.h:2904:54:   required from 'class sigc::signal1<void, std::__cxx11::basic_string<char>, sigc::nil>'
/usr/include/sigc++-2.0/sigc++/signal.h:4296:7:   required from 'class sigc::signal<void, std::__cxx11::basic_string<char> >'
pattern.hpp:239:32:   required from here
/usr/include/sigc++-2.0/sigc++/signal.h:1027:41: error: no type named 'call_type' in 'class sigc::slot<void(std::__cxx11::basic_string<char>), sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>'
   typedef typename slot_type::call_type call_type;
                                         ^~~~~~~~~
/usr/include/sigc++-2.0/sigc++/signal.h: In instantiation of 'struct sigc::internal::signal_emit1<void, int, sigc::nil>':
/usr/include/sigc++-2.0/sigc++/signal.h:2904:54:   required from 'class sigc::signal1<void, int, sigc::nil>'
/usr/include/sigc++-2.0/sigc++/signal.h:4296:7:   required from 'class sigc::signal<void, int>'
pattern.hpp:241:29:   required from here
/usr/include/sigc++-2.0/sigc++/signal.h:1027:41: error: no type named 'call_type' in 'class sigc::slot<void(int), sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>'
/usr/include/sigc++-2.0/sigc++/signal.h: In instantiation of 'struct sigc::internal::signal_emit1<void, const Dino::Note&, sigc::nil>':
/usr/include/sigc++-2.0/sigc++/signal.h:2904:54:   required from 'class sigc::signal1<void, const Dino::Note&, sigc::nil>'
/usr/include/sigc++-2.0/sigc++/signal.h:4296:7:   required from 'class sigc::signal<void, const Dino::Note&>'
pattern.hpp:245:37:   required from here
/usr/include/sigc++-2.0/sigc++/signal.h:1027:41: error: no type named 'call_type' in 'class sigc::slot<void(const Dino::Note&), sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>'
In file included from /usr/include/sigc++-2.0/sigc++/signal.h:8:0,
                 from /usr/include/sigc++-2.0/sigc++/sigc++.h:104,
                 from /usr/include/glibmm-2.4/glibmm/thread.h:50,
                 from /usr/include/glibmm-2.4/glibmm.h:89,
                 from deleter.hpp:24,
                 from controller.cpp:25:
/usr/include/sigc++-2.0/sigc++/signal_base.h:198:10: warning: inline function 'sigc::internal::signal_exec::signal_exec(const sigc::internal::signal_impl*)' used but never defined
   inline signal_exec(const signal_impl* sig) noexcept
          ^~~~~~~~~~~
In file included from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:22:0,
                 from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23,
                 from /usr/include/glibmm-2.4/glibmm.h:93,
                 from deleter.hpp:24,
                 from controller.cpp:25:


/usr/include/sigc++-2.0/sigc++/signal.h:1542:41: error: no type named 'call_type' in 'class sigc::slot<void(int, int, int), sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>'
   typedef typename slot_type::call_type call_type;
                                         ^~~~~~~~~
In file included from /usr/include/sigc++-2.0/sigc++/functors/slot.h:8:0,
                 from /usr/include/sigc++-2.0/sigc++/signal_base.h:27,
                 from /usr/include/sigc++-2.0/sigc++/signal.h:8,
                 from /usr/include/sigc++-2.0/sigc++/sigc++.h:104,
                 from /usr/include/glibmm-2.4/glibmm/thread.h:50,
                 from /usr/include/glibmm-2.4/glibmm.h:89,
                 from deleter.hpp:24,
                 from controller.cpp:25:


/usr/include/sigc++-2.0/sigc++/signal.h:1281:41: error: no type named 'call_type' in 'class sigc::slot<void(int, int), sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>'
   typedef typename slot_type::call_type call_type;
                                         ^~~~~~~~~
Makefile:435: recipe for target 'controller.lo' failed
make[4]: *** [controller.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /usr/include/sigc++-2.0/sigc++/signal.h:8:0,
                 from pattern.hpp:30,
                 from patternselection.hpp:28,
                 from notecollection.cpp:24:
/usr/include/sigc++-2.0/sigc++/signal_base.h:198:10: warning: inline function 'sigc::internal::signal_exec::signal_exec(const sigc::internal::signal_impl*)' used but never defined
   inline signal_exec(const signal_impl* sig) noexcept
          ^~~~~~~~~~~
Makefile:435: recipe for target 'notecollection.lo' failed
make[4]: *** [notecollection.lo] Error 1


Si quelqu'un sait comment les résoudre, je suis preneur !

ycollet utilisateur non connecté France
Dans le Makefile, sur la première ligne (CXXFLAGS), remplace -std=c++0x par -std=c++11.

olinuxx utilisateur non connecté France
Merci. Y'a du mieux.

Maintenant, la construction plante avec :

song.cpp:504:42: error: no matching function for call to 'make_pair(int32_t&, int32_t&)'
     return make_pair<int, int>(beat, tick);
                                          ^
In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from song.cpp:22:


ycollet utilisateur non connecté France
Je viens de regarder. A priori, la branche master du dépôt git de dino compile bien sous debian 9.

ycollet utilisateur non connecté France
Compiler dino à partir de la branche master, ça suffit où est-ce qu'il faut patcher la version release dispo sur sourceforge ?

olinuxx utilisateur non connecté France
À partir d'un clone du git, la compilation passe, mais je n'obtiens pas de binaire "dino". Un peu pas-pratique :-)

Ceci dit, je me dis que vu que le dernier commit date de mars 2011 Image , ça n'est pas très grave.

Tu arrives à compiler et obtenir un binaire toi ?

ycollet utilisateur non connecté France
Uniquement avec la version master du dépôt git.
Quand je passe sur la branche Branch_0_2, la compilation plante avec les mêmes erreurs que tu as indiqué dans ton message.

ycollet utilisateur non connecté France
Ce soir, si j'ai un peu de temps, je vais regarder les différences qu'il y a entre la version Branch_0_2 et la branche master. Histoire de voir si ce sont justes des modifications pour la compilation ou si des features ont été ajoutées.

Afficher les articles :
Aller au forum :

Documentation [Afficher / Cacher]

Connexion
[Afficher / Cacher]



Mégaphone [Afficher / Cacher]

bluedid29, 21:05, dim. 19 Nov 2017: Sortie de LibraZiK 2 :-) [Lien]
sub26nico, 13:48, dim. 19 Nov 2017: Salut et bienvenue à JohnWebster :-)
sub26nico, 00:18, dim. 19 Nov 2017: Salut et bienvenue à jjs95 :-)
bluedid29, 04:28, sam. 18 Nov 2017: Bon samedi musical ! :-) Je sens qu'aujourd'hui il va faire beau ;)
sub26nico, 20:38, ven. 17 Nov 2017: Salut et bienvenue à caline10mao :-)
sub26nico, 18:33, jeu. 16 Nov 2017: Salut et bienvenue à BlackVelvet :-)
sub26nico, 13:47, jeu. 16 Nov 2017: Salut et bienvenue à RnoxMadTan :-)
sub26nico, 23:32, mer. 15 Nov 2017: Salut et bienvenue à niconico :-)
sub26nico, 23:53, mar. 14 Nov 2017: Salut et bienvenue à jpcima :-)
olinuxx, 17:25, dim. 12 Nov 2017: Bonjour et bienvenue à loik56 :-)
sub26nico, 14:52, dim. 12 Nov 2017: Salut et bienvenue à NahMecl :-)
sub26nico, 01:23, dim. 12 Nov 2017: Salut et bienvenue à pitoufo3 :-)