Hi,
I am trying to compile my driver for openvibe, but when i do it i have an compilation error.
C:\openvibe\openvibe-applications\acquisition-server\tags\0.5.0\src\deltamed\ovasCDriverToto.cpp(135) : error C2872: 'boolean'ÿ: ambiguous symbol
is may be 'c:\program files\microsoft sdks\windows\v6.0a\include\rpcndr.h(156)ÿ: unsigned char boolean'
or 'c:\openvibe\openvibe\tags\0.5.0\include\openvibe\ov_types.h(13)ÿ: OpenViBE::boolean'
In my code, when i include <windows.h>, i have this error.
Can you help me?
conflict between windows.h en openvibe
Re: conflict between windows.h en openvibe
yannick,
just #define OpenViBE::boolean boolean after the includes in your .cpp file... this is done in all the cpp files including windows.h ! See for example the MindMedia driver :
Best regards,
Yann
just #define OpenViBE::boolean boolean after the includes in your .cpp file... this is done in all the cpp files including windows.h ! See for example the MindMedia driver :
Code: Select all
#if defined OVAS_OS_Windows
#include <windows.h>
#define boolean OpenViBE::boolean
#endif
Yann