I have been building an experiment using the v1718 CAEN interface to talk to my modules and I am using the CAENVMElib Linux Library (2.50). I've managed to deal with data type issues by including additional libraries to my driver code but there is one type error that persists:
In file included from /usr/include/CAENVMElib.h:27:0,
/usr/include/CAENVMEtypes.h:323:9: error: unknown type name ‘VARIANT_BOOL’
CAEN_BOOL cvDS0; /* Data Strobe 0 signal */
The header file used to defined the CAEN types (CAENVMEtypes.h) defines 'CAEN_BOOL' like this:
#define CAEN_BYTE unsigned char
#define CAEN_BOOL int
#define CAEN_BYTE byte
#define CAEN_BOOL VARIANT_BOOL
Has anyone ever ran into that problem when setting up an experiment using the CAEN standard?
Thanks for your help.