Once you’ve installed Casablanca, you’ll need to add the required include/lib folders to your VC++ projects. I took the same approach used by the sample projects.
Open Project Properties / Configuration Properties / C/C++ / General and add the following entry to the Additional Include Directories. (note: line breaks added for formatting)
$([MSBuild]::GetRegistryValue( `HKEY_LOCAL_MACHINE\Software\Microsoft\Casablanca\OpenSourceRelease\110\SDK`, `InstallDir`))\include
Open Project Properties / Configuration Properties / Linker / General and add the following entry to the Additional Library Directories (separate ones for Debug and Release configs). (note: line breaks added for formatting)
$([MSBuild]::GetRegistryValue( `HKEY_LOCAL_MACHINE\Software\Microsoft\Casablanca\OpenSourceRelease\110\SDK`, `InstallDir`))\lib\x86\Debug\ $([MSBuild]::GetRegistryValue( `HKEY_LOCAL_MACHINE\Software\Microsoft\Casablanca\OpenSourceRelease\110\SDK`, `InstallDir`))\lib\x86\Release\
Now add casablanca110.lib to the Linker / Input / Additional Dependencies.
You’re all set at this point.
Reblogged this on My technical blog.
After installing Casablanca using nuget on VS2012, I d’ont find any registry entry specified. This tip don’t work 😦
Is there any other instllation method ?
btw, the c++ project must be in unicode to work ?? is MBCS supported or not ?
Thank you;