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.
Looking at the project settings it looks like there has been some token
mangling. Under Preprocessor I see the following:
I did edit CMakeLists.txt. I added this line:
add_definitions(-DWIN32 -DNOMINMAX -D_SECURE_SCL_THROWS=1
-D_SECURE_SCL=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
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.
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
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.
Get latest updates about Open Source Projects, Conferences and News.