<br><font size=2 face="sans-serif">I solved my earlier problem with CMake
- I was in the wrong directory! I was in src when I should have been the
level above. Duh! Now it builds the solution file for VC8. However, it
fails to compile.</font>
<br>
<br><font size=2 face="sans-serif">Looking at the project settings it looks
like there has been some token mangling. Under Preprocessor I see the following:</font>
<br>
<br><font size=2 face="sans-serif">WIN32</font>
<br><font size=2 face="sans-serif">_WINDOWS</font>
<br><font size=2 face="sans-serif">_DEBUG</font>
<br><font size=2 face="sans-serif">PACKAGE_DATA_DIR=\"C:/Program,_CRT_SECURE_NO_DEPRECATE,_CRT_NONSTDC_NO_DEPRECATE,YY_NO_UNISTD_H,BIG_ENDIAN=0,LITTLE_ENDIAN=1,BYTE_ORDER=BIG_ENDIAN,WIN32,NOMINMAX,_SECURE_SCL_THROWS=1,_SECURE_SCL=1,_CRT_SECURE_NO_DEPRECATE,_CRT_NONSTDC_NO_DEPRECATE,_MBCS,_VC80_UPGRADE=0x0600,HAVE_CONFIG_H,BUILD_LIBICALDLL,CMAKE_INTDIR=\"Debug\",ical_EXPORTS</font>
<br>
<br><font size=2 face="sans-serif">I did edit CMakeLists.txt. I added this
line:</font>
<br>
<br><font size=2 face="sans-serif"> add_definitions(-DWIN32 -DNOMINMAX
-D_SECURE_SCL_THROWS=1 -D_SECURE_SCL=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_MBCS -D_VC80_UPGRADE=0x0600)</font>
<br>
<br><font size=2 face="sans-serif">This is just to make all the macros
consistent with the rest of our build. They need to be, especially in the
area of checked iterators, otherwise we get weird and nasty errors at runtime.</font>
<br>
<br><font size=2 face="sans-serif">It looks to me like PACKAGE_DATA_DIR
has been clipped and other macro settings have got mixed in somehow. Can
anyone shed any light on this please?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
<br>
Andrew Marlow<br>
</font><pre>
___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.
Please refer to http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H for additional disclosures.
</pre>