Guidance is required to configure Visual Studio 2012 compiler with VIX API. I have already installed VIX API on my computer with Windows 8 64bit operating system.
Can anyone show me step by step how to:
- setup the compiler
- compile samples
- compile my own program
I have already read VMWare Reference guide for VIX API.
Any help will be appreciated.
My answer is based on the VMWare Reference guide 1- the first thing you should consider is that you need to work with wrapper library
2- if you want to work with VS2008 and later version, you must use compile with Dynamic lib.
2.1- righClick on Project >> propertice >> configuration propertice >>c/c++ >> code generation >> runtime library: set to 'Multi-threaded(/MT)'
2.2- righClick on Project >> propertice >> configuration propertice >> linker >> general >> Aditional library Directory: add installed directory of vix to this option . for example:"C:\VMware_VIX"
2.3- in the above path, check 'link library dependencies' and 'use library dependency inputs' option to 'yes'.
2.4- in above linker path, linker >> input >> additional dependencies , add this '.lib' files.
now , click 'ok'. you can compile and run you program :)