I can't compile my project...


#1

Hi

The question may not be directly related to open AT, but I got some strange errors when I try to compile my project under Visual C++. I followed the OpenAT install procedure step by step.
The Hello_world sample compiles without any errors in rte configuration. But my projects returns this kind of errors:

2>c:\pouetIT\inc\appli.h(753) : error C2146: erreur de syntaxe : absence de ‘)’ avant l’identificateur ‘Event’
2>c:\pouetIT\inc\appli.h(753) : error C2061: erreur de syntaxe : identificateur ‘Event’
2>c:\pouetIT\inc\appli.h(753) : error C2059: erreur de syntaxe : ‘;’
2>c:\pouetIT\inc\appli.h(753) : error C2059: erreur de syntaxe : ‘,’
2>c:\pouetIT\inc\appli.h(753) : error C2059: erreur de syntaxe : ‘)’

The syntax error is on a line which seems to be correct:
DefExtern void DOTA_AnDEventHandler ( adl_adEvent_e Event, u32 Progress );

The problem occurs only in rte configuration, so I believe that this is more Visual-related…


#2

Hi !

Are you sure you have included the .h header file that contains adl_adEvent_e type definition in your appli.h file ?


#3

… thank you colin…
That’s it ! Our OpenAT distributor gave us an old version, without the WIP plugin…