Trying to compile vixDiskLibSample in VDDK 6.5 and getting errors.
I have not had this problem with other (previous) versions of VDDK (notably 5.5.4, 5.5.5, 6.0.0, 6.0.1 and 6.0.2).
Using Microsoft Visual Studio 2015.
Downloaded and extracted VMware-vix-disklib-6.5.0-4604867.x86_64.
Opened and upgraded ...\VMware-vix-disklib-6.5.0-4604867.x86_64\doc\sample\vixDiskLibSample.sln.
Opened Configuration Manager for VS project and set Platform to x64.
Downloaded and extracted boost_1_62_0.zip (source: http://www.boost.org/users/history/version_1_62_0.html) to ...\VMware-vix-disklib-6.5.0-4604867.x86_64\doc\sample\boost.
Set VS project to include ...\VMware-vix-disklib-6.5.0-4604867.x86_64\doc\sample\boost\*.*.
Getting the following errors on build:
Severity | Code | Description | Project | File | Line | Suppression State |
Error | C1083 | Cannot open include file: 'boost/fusion/support/config.hpp': No such file or directory | vixDiskLibSample | ...\VMware-vix-disklib-6.5.0-4604867.x86_64\doc\sample\boost\fusion\include\adapt_adt_named.cpp | 10 |
|
Error | C1083 | Cannot open include file: 'boost/config/warning_disable.hpp': No such file or directory | vixDiskLibSample | ...\VMware-vix-disklib-6.5.0-4604867.x86_64\doc\sample\boost\spirit\home\support\char_encoding\unicode\create_tables.cpp | 7 |
|
Error | C1083 | Cannot open include file: 'boost/asio/impl/src.hpp': No such file or directory | vixDiskLibSample | ...\VMware-vix-disklib-6.5.0-4604867.x86_64\doc\sample\boost\asio\impl\src.cpp | 25 |
|
Error | C1083 | Cannot open include file: 'boost/asio.hpp': No such file or directory | vixDiskLibSample | ...\VMware-vix-disklib-6.5.0-4604867.x86_64\doc\sample\vixDiskLibSample.cpp | 34 |
|
Could this be because I am using the wrong version of Boost? Or, could the VMware developers who tested vixDiskLibSample in VDDK 6.5 have made custom edits to the Boost headers in their development environment?
Any help is much appreciated.