Home
Reply
Regular Contributor
sawarsi
Posts: 53

compilation problems

i am having problems compiling code where ACIS header files are included with Visual Studion 2008 Express edition. i get errors from winbase.h, etc. such as :

 

error C2059: syntax error : 'constant'

 

haven't seen these problems with V2005 professional. perhaps i need to define other preprocessor defines? any ideas?

 

thanks

 

Spatial Moderator
ybiyani
Posts: 223

Re: compilation problems

Hello sawarsi,

 

Please note Spatial support VS2008  professional. Anyways please see if you are using all the flags listed here http://doc.spatial.com/index.php/Compiler_Flags_for_Windows_32-bit_Visual_C%2B%2B_2008 and if I recollect correctly it _WIN32_WINNT=0X502 that is missing.

 

Regards,

Yogesh