tsdconseil / opencv-demonstrator

OpenCV demonstrator (GUI)
http://www.tsdconseil.fr/log/opencv/demo/index-en.html
GNU Lesser General Public License v3.0
141 stars 57 forks source link

Compilation problem of libcutil #78

Open SebAmb opened 6 years ago

SebAmb commented 6 years ago

Hi,

I try to compile libcutil but it is canceled because journal.hpp is not found. Could you please add this file in the project or tell me if it is related to a specific library I have to install.

Thanks for your help.

Best regards,

Sebastien

juliena82 commented 6 years ago

Bonjour Sébastien,

En effet, pardon j'avais oublié quelques fichiers lors du dernier commit. Je viens de pousser une mise à jour avec les fichiers manquants.

N'hésitez pas à me dire si il manquait encore quelque chose...

Julien

SebAmb commented 6 years ago

Bonjour Julien,

Merci pour cette mise à jour. Je viens de tenter une compilation sous linux version 64 bits mais j'obtiens des erreurs lors de la compilation de src/mmi/theme.cc

Aurais-tu une idée ?

Merci beaucoup.

Sébastien


Compilation c++ : src/mmi/theme.cc... src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:48: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:63: error: template argument 1 is invalid void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:29: error: invalid use of template-name ‘Glib::RefPtr’ without an argument list void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:35: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive] void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ src/mmi/theme.cc:23:41: error: expected ‘,’ or ‘...’ before ‘<’ token void on_parsing_error(const Glib::RefPtr& section, const Glib::Error& error) ^ In file included from include/mxml.hpp:7:0, from include/cutil.hpp:23, from src/mmi/theme.cc:1: src/mmi/theme.cc: In member function ‘void utils::mmi::ThemeCB::on_parsing_error(int)’: src/mmi/theme.cc:25:34: error: ‘error’ was not declared in this scope infos("on_parsing_error(): %s",error.what().c_str()); ^ include/journal.hpp:142:93: note: in definition of macro ‘infos’

define infos(...) utils::journal::gen_trace(utils::journal::AL_NORMAL, func, __VA_ARGS__)

^ src/mmi/theme.cc: At global scope: src/mmi/theme.cc:18:15: warning: ‘utils::mmi::theme_en_cours’ defined but not used [-Wunused-variable] static Theme *theme_en_cours = nullptr;

De: "Julien" notifications@github.com À: "tsdconseil/opencv-demonstrator" opencv-demonstrator@noreply.github.com Cc: "sebastien ambellouis" sebastien.ambellouis@ifsttar.fr, "Author" author@noreply.github.com Envoyé: Vendredi 10 Novembre 2017 09:30:29 Objet: Re: [tsdconseil/opencv-demonstrator] Compilation problem of libcutil (#78)

Bonjour Sébastien,

En effet, pardon j'avais oublié quelques fichiers lors du dernier commit. Je viens de pousser une mise à jour avec les fichiers manquants.

N'hésitez pas à me dire si il manquait encore quelque chose...

Julien

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .

juliena82 commented 6 years ago

Pardon Sébastien, j'ai du ajouter du code qui ne marche que sous Windows (sans m'en rendre compte). Du coup, je vais refaire une compilation sous Linux dès que possible, et corriger les problèmes. Je te tiens au courant dès que c'est fait (j'espère dans les prochains jours...)

SebAmb commented 6 years ago

Bonjour Julien

C est bien ce que je redoutais. Pas de problème. J attends de t'es news.

Sébastien

Envoyé depuis mon HTC

----- Message de réponse ----- De : "Julien" notifications@github.com Pour : "tsdconseil/opencv-demonstrator" opencv-demonstrator@noreply.github.com Cc : "SebAmb" sebastien.ambellouis@ifsttar.fr, "Author" author@noreply.github.com Objet : [tsdconseil/opencv-demonstrator] Compilation problem of libcutil (#78) Date : sam., nov. 11, 2017 20:20

Pardon Sébastien, j'ai du ajouter du code qui ne marche que sous Windows (sans m'en rendre compte). Du coup, je vais refaire une compilation sous Linux dès que possible, et corriger les problèmes. Je te tiens au courant dès que c'est fait (j'espère dans les prochains jours...)

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/tsdconseil/opencv-demonstrator/issues/78#issuecomment-343687824

Bonjour Julien

C est bien ce que je redoutais. Pas de problème. J attends de t'es news.

Sébastien

Envoyé depuis mon HTC

----- Message de réponse ----- De : "Julien" notifications@github.com Pour : "tsdconseil/opencv-demonstrator" opencv-demonstrator@noreply.github.com Cc : "SebAmb" sebastien.ambellouis@ifsttar.fr, "Author" author@noreply.github.com Objet : [tsdconseil/opencv-demonstrator] Compilation problem of libcutil (#78) Date : sam., nov. 11, 2017 20:20

phtlnx commented 6 years ago

bonjour,

je confirme avoir la même erreur. Archlinux : Linux : 4.14.4-1-ARCH #1 SMP PREEMPT Tue Dec 5 19:10:06 UTC 2017 x86_64 GNU/Linux gcc : 7.2.1 20171128 gtkmm3 : 3.22 gtk3 : 3.22.26

en attendant une mise à jour, bonne journée.

Phil