jeudi 11 janvier 2018

Pleora eBus SDK library missing 3 functions?

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.

  1. function named PvSleepMs(int ms)
  2. function named PvKbHit()
  3. 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 );
                ^

5 commentaires:

  1. Ce commentaire a été supprimé par l'auteur.

    RépondreSupprimer
  2. Hi, I have the same problem. Did you find a solution?

    Thanks
    Adam

    RépondreSupprimer
  3. Hi Yassine. I have the same problem as well. Any solution found?

    RépondreSupprimer
  4. السلام! تعمل مزية جاوب: في كل الحالات: لقيت حل ولا ما لقيتش وشكراً

    RépondreSupprimer
  5. I 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