URL: https://linuxfr.org/forums/linux-debutant/posts/mtdev-h-erreur Title: mtdev.h erreur Authors: andree Date: 2013年05月15日T19:04:57+02:00 License: CC By-SA Tags: Score: -2 Bonjour, je suis entrain de faire la compilation d'une librairie et je reçois le message d'erreur suivant : LibMTDevInputDevice.cpp:41:19: error: mtdev.h: Aucun fichier ou dossier de ce type LibMTDevInputDevice.cpp:42:27: error: mtdev-mapping.h: Aucun fichier ou dossier de ce type LibMTDevInputDevice.cpp: In destructor ‘virtual avg::LibMTDevInputDevice::~LibMTDevInputDevice()’: LibMTDevInputDevice.cpp:58: error: ‘mtdev_close’ was not declared in this scope LibMTDevInputDevice.cpp:59: warning: possible problem detected in invocation of delete operator: LibMTDevInputDevice.cpp:59: warning: invalid use of incomplete type ‘struct mtdev’ LibMTDevInputDevice.h:35: warning: forward declaration of ‘struct mtdev’ LibMTDevInputDevice.cpp:59: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. LibMTDevInputDevice.cpp: In member function ‘virtual void avg::LibMTDevInputDevice::start()’: LibMTDevInputDevice.cpp:73: error: invalid use of incomplete type ‘struct mtdev’ LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’ LibMTDevInputDevice.cpp:74: error: ‘mtdev_open’ was not declared in this scope LibMTDevInputDevice.cpp:81: error: invalid use of incomplete type ‘struct mtdev’ LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’ LibMTDevInputDevice.cpp:81: error: ‘MTDEV_POSITION_X’ was not declared in this scope LibMTDevInputDevice.cpp:84: error: invalid use of incomplete type ‘struct mtdev’ LibMTDevInputDevice.h:35: error: forward declaration of ‘struct mtdev’ LibMTDevInputDevice.cpp:84: error: ‘MTDEV_POSITION_Y’ was not declared in this scope LibMTDevInputDevice.cpp: In member function ‘virtual std::vector, std::allocator>> avg::LibMTDevInputDevice::pollEvents()’: LibMTDevInputDevice.cpp:98: error: ‘mtdev_get’ was not declared in this scope LibMTDevInputDevice.cpp:103: error: ‘ABS_MT_SLOT’ was not declared in this scope make[3]: *** [LibMTDevInputDevice.lo] Erreur 1 make[3]: quittant le répertoire « /home/invitee/Bureau/conf/libavg-1.7.1/src/player » make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le répertoire « /home/invitee/Bureau/conf/libavg-1.7.1/src » make[1]: *** [all] Erreur 2 make[1]: quittant le répertoire « /home/invitee/Bureau/conf/libavg-1.7.1/src » make: *** [all-recursive] Erreur 1 quel package contient mtdev.h et mtdev-mapping.h ?? quel est la solution pour resoudre cette probleme ? Merci d'avance

AltStyle によって変換されたページ (->オリジナル) /