In file included from ../ListCameras/main.cpp:55:
/opt/local/include/PvApi.h:97:26: error: Define PVDECL to be your compiler keyword for "standard call"
#error Define PVDECL to be your compiler keyword for "standard call"
^
/opt/local/include/PvApi.h:271:22: error: expected ')'
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:271:14: note: to match this '('
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:302:22: error: expected ')'
typedef void (PVDECL *tPvCameraEventCallback)(void* Context,
^
/opt/local/include/PvApi.h:302:14: note: to match this '('
typedef void (PVDECL *tPvCameraEventCallback)(void* Context,
^
/opt/local/include/PvApi.h:302:15: error: typedef redefinition with different types ('void (void *, tPvHandle, const tPvCameraEvent *, unsigned long)' vs 'void (void *, tPvInterface, tPvLinkEvent, unsigned long)')
typedef void (PVDECL *tPvCameraEventCallback)(void* Context,
^
/opt/local/include/PvApi.h:271:15: note: previous definition is here
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:412:22: error: expected ')'
typedef void (PVDECL *tPvFrameCallback)(tPvFrame* Frame);
^
/opt/local/include/PvApi.h:412:14: note: to match this '('
typedef void (PVDECL *tPvFrameCallback)(tPvFrame* Frame);
^
/opt/local/include/PvApi.h:412:15: error: typedef redefinition with different types ('void (tPvFrame *)' vs 'void (void *, tPvInterface, tPvLinkEvent, unsigned long)')
typedef void (PVDECL *tPvFrameCallback)(tPvFrame* Frame);
^
/opt/local/include/PvApi.h:271:15: note: previous definition is here
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:431:2: error: Define specific data types for your platform.
#error Define specific data types for your platform.
^
/opt/local/include/PvApi.h:508:6: error: variable has incomplete type 'void'
void PVDECL PvVersion(unsigned long* pMajor,unsigned long* pMinor);
^
/opt/local/include/PvApi.h:508:12: error: expected ';' after top level declarator
void PVDECL PvVersion(unsigned long* pMajor,unsigned long* pMinor);
^
;
/opt/local/include/PvApi.h:528:8: error: redefinition of 'PVDECL' as different kind of symbol
tPvErr PVDECL PvInitialize(void);
^
/opt/local/include/PvApi.h:271:15: note: previous definition is here
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:528:14: error: expected ';' after top level declarator
tPvErr PVDECL PvInitialize(void);
^
;
/opt/local/include/PvApi.h:546:8: error: redefinition of 'PVDECL' as different kind of symbol
tPvErr PVDECL PvInitializeNoDiscovery(void);
^
/opt/local/include/PvApi.h:271:15: note: previous definition is here
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:546:14: error: expected ';' after top level declarator
tPvErr PVDECL PvInitializeNoDiscovery(void);
^
;
/opt/local/include/PvApi.h:559:6: error: variable has incomplete type 'void'
void PVDECL PvUnInitialize(void);
^
/opt/local/include/PvApi.h:559:12: error: expected ';' after top level declarator
void PVDECL PvUnInitialize(void);
^
;
/opt/local/include/PvApi.h:593:8: error: redefinition of 'PVDECL' as different kind of symbol
tPvErr PVDECL PvLinkCallbackRegister(tPvLinkCallback Callback,
^
/opt/local/include/PvApi.h:271:15: note: previous definition is here
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:593:14: error: expected ';' after top level declarator
tPvErr PVDECL PvLinkCallbackRegister(tPvLinkCallback Callback,
^
;
/opt/local/include/PvApi.h:616:8: error: redefinition of 'PVDECL' as different kind of symbol
tPvErr PVDECL PvLinkCallbackUnRegister(tPvLinkCallback Callback,
^
/opt/local/include/PvApi.h:271:15: note: previous definition is here
typedef void (PVDECL *tPvLinkCallback)(void* Context,
^
/opt/local/include/PvApi.h:616:14: error: expected ';' after top level declarator
tPvErr PVDECL PvLinkCallbackUnRegister(tPvLinkCallback Callback,
^
;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [main.o] Error 1
22:12:10: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project ListCameras (kit: Desktop Qt 5.0.2 clang 64bit)
When executing step 'Make'