Bonjour,
Je cherche des logiciels de programmation de PIC sur Linux et celui-ci m'a l'air vraiment bien fait. Je dis "m'a l'air", car pour l'instant, impossible de l'installer!
Qqn a-t-il déjà installé ce logiciel sur une Debian? (Je travaille avec une Sarge)
Les erreurs de compilation fusent.
Il nécessite le paquet kdelibs-dev.
La version disponible en apt-get de gpsim n'est pas reconnue. Il faut la compiler.
Une fois tout cela fait, voilà les erreurs de compilation auxquels je me heurte actuellement.
face.cpp' || echo './'`interface.cpp
In file included from interface.cpp:11:
interface.h:92: error: parse error before `{' token
interface.h:95: error: destructors must be member functions
interface.h:101: error: virtual outside class declaration
interface.h:102: error: syntax error before `*' token
interface.h:105: error: parse error before `private'
interface.h:128: error: parse error before `}' token
interface.h:131: error: parse error before `{' token
interface.h:134: error: virtual outside class declaration
interface.h:136: error: parse error before `private'
interface.cpp:48: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp: In constructor `GpsimModule::GpsimModule()':
interface.cpp:48: error: class `GpsimModule' does not have any field named `
ExternalModule'
interface.cpp:50: error: invalid use of undefined type `class GpsimInterface'
interface.h:19: error: forward declaration of `class GpsimInterface'
interface.cpp:51: error: no matching function for call to `gpsimInterface::
add_interface(GpsimInterface*&)'
/usr/local/include/gpsim/gpsim_interface.h:157: error: candidates are: unsigned
int gpsimInterface::add_interface(Interface*)
interface.cpp:53: error: `initSHM' undeclared (first use this function)
interface.cpp:53: error: (Each undeclared identifier is reported only once for
each function it appears in.)
interface.cpp: At global scope:
interface.cpp:62: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp:77: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp: In member function `void GpsimModule::quitGpsim()':
interface.cpp:79: error: `gpsim_stop' undeclared (first use this function)
interface.cpp: At global scope:
interface.cpp:84: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp: In member function `void GpsimModule::updatePicData()':
interface.cpp:106: error: `get_state' undeclared (first use this function)
interface.cpp: At global scope:
interface.cpp:165: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp:206: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp:235: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp:267: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp:273: error: invalid use of undefined type `class GpsimModule'
interface.h:18: error: forward declaration of `class GpsimModule'
interface.cpp: In function `void signal_handler(int)':
interface.cpp:296: error: incomplete type 'GpsimModule' cannot be used to name
a scope
interface.cpp: At global scope:
interface.cpp:299: error: syntax error before `*' token
interface.cpp:302: error: syntax error before `*' token
interface.cpp:303: error: syntax error before `->' token
interface.cpp:307: error: `_gp_module' was not declared in this scope
interface.cpp:308: error: invalid use of undefined type `class GpsimInterface'
interface.h:19: error: forward declaration of `class GpsimInterface'
interface.cpp:308: error: invalid declarator
interface.cpp:308: error: syntax error before `{' token
interface.cpp:310: error: syntax error before `.' token
interface.cpp:311: error: ISO C++ forbids declaration of `realtime_mode' with
no type
interface.cpp:312: error: parse error before `}' token
interface.cpp:315: error: invalid use of undefined type `class GpsimInterface'
interface.h:19: error: forward declaration of `class GpsimInterface'
interface.cpp: In member function `void GpsimInterface::callback()':
interface.cpp:316: error: `gp_module' undeclared (first use this function)
interface.cpp:317: error: no matching function for call to `Cycle_Counter::
set_break_delta(const int&, GpsimInterface* const)'
/usr/local/include/gpsim/gpsim_time.h:188: error: candidates are: bool
Cycle_Counter::set_break_delta(long long unsigned int, TriggerObject*,
unsigned int)
/usr/local/include/gpsim/stimuli.h: At top level:
interface.h:103: warning: `void quitGpsim()' declared `static' but never
defined
make[2]: *** [interface.lo] Error 1
make[2]: Leaving directory `/home/leal/ktechlab-0.1.3/gpsim-interface'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leal/ktechlab-0.1.3'
make: *** [all] Error 2
Si qqn pouvait m'aider, cela serait vraiment très gentil, car il n'y a ni faq ni forum ni bugreport pour ce projet.
Meilleures Salutations à tous.
# Pikdev
Posté par rigalloux . Évalué à 1.
http://pikdev.free.fr/(...)
[^] # Re: Pikdev
Posté par Léal Bioley . Évalué à 1.
# Pour ceux que sa interesserait
Posté par Léal Bioley . Évalué à 2.
Simplement il faut la version exact de gpsim qui se trouve ici:
http://www.dattalo.com/gnupic/gpsim-0.21.2.tar.gz(...)
On compile et normalement tout se passe bien.
Pour la derniere release (22.04.2005)
Il faut simplement un pacquet debian supplémentaire
automake1.6
Et voila!
P.S. Se logiciel est fabuleux pour l'électronique et mériterais que quelques passionner contribue a agrandire la bibliothèque de symbole ;-)
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.