I use CentOS 7, Qt-creator with qt5, with c++ with gcc-g++ compiler.
It seems like the pleora eBus SDK library is missing 3 functions.
- function named PvSleepMs(int ms)
- function named PvKbHit()
- function named PvGetChar()
Am I missing something?
these are my includes
#include "settings.h"
#include <QList>
#include <QDesktopServices>
#include <PvSampleUtils.h>
#include <PvDevice.h>
#include <PvDeviceGEV.h>
#include <PvDeviceU3V.h>
#include <PvStream.h>
#include <PvStreamGEV.h>
#include <PvStreamU3V.h>
#include <PvBuffer.h>
#include <list>
#include <string.h>
#include <math.h>
#include <PvGenStateStack.h>
these are my error messeges
/home/topinshs/TOPINS_HS_170108/PvSampleUtils.h:229: error: ‘PvKbHit’ was not declared in this scope
while( PvKbHit() )
^
/home/topinshs/TOPINS_HS_170108/PvSampleUtils.h:231: error: ‘PvGetChar’ was not declared in this scope
PvGetChar();
^
/home/topinshs/TOPINS_HS_170108/PvSampleUtils.h:419: error: ‘PvSleepMs’ was not declared in this scope
PvSleepMs( 1000 );
^
Ce commentaire a été supprimé par l'auteur.
RépondreSupprimerHi, I have the same problem. Did you find a solution?
RépondreSupprimerThanks
Adam
Hi Yassine. I have the same problem as well. Any solution found?
RépondreSupprimerالسلام! تعمل مزية جاوب: في كل الحالات: لقيت حل ولا ما لقيتش وشكراً
RépondreSupprimerI had the same problem. I was running on linux (debian) and compared the g++ compile line supplied by the pleora sdk makefile (which was working). I added CXXFLAGS = -D_UNIX_ -D_LINUX_ to my makefile and the compile completed.
RépondreSupprimer