Building with VS2012

Jul 1, 2013 at 5:04 PM
Hello,

I am using visual studio 2012, i downloaded the source code using "Download link" from the https://casablanca.codeplex.com/SourceControl/latest#readme.txt
And as per the guidelines i followed the below steps to build it

Go to Cpp-REST-SDK/Release and open the casablanca110.sln in Visual Studio
Right click on the solution and select build

But on building, i am getting the following errors

Error 1 error LNK1104: cannot open file 'C:\Project\VisualStudio\Cpp-REST-SDK\Binaries\Win32\Debug\Debug\UnitTestpp110.lib' C:\Project\libcurl\VisualStudio\Cpp-REST-SDK\Release\tests\Common\UnitTestpp\VS11\LINK TestUnitTestpp110

Error 2 error LNK1104: cannot open file 'C:\Project\VisualStudio\Cpp-REST-SDK\Binaries\Win32\Debug\Debug\UnitTestpp110.lib' C:\Project\libcurl\VisualStudio\Cpp-REST-SDK\Release\tests\Common\TestRunner\VS11\LINK TestRunner110

and when i navigate to the folder "C:\Project\VisualStudio\Cpp-REST-SDK\Binaries\Win32\Debug\Debug" i cannot find the file "UnitTestpp110.lib"

Can you please tell me if i am doing anything wrong?
Thanks in Advance
Jul 3, 2013 at 6:20 PM
Hi akshat87,

We don't use the solution file a lot and it appears we forgot to update/test it during one of our refreshes. We will fix it in our next release, which will be shortly. In the mean time if you want to continue to use the solution file I think you can fix it by adding the UnitTestpp110 project. It is located under https://casablanca.codeplex.com/SourceControl/latest#Release/tests/Common/UnitTestpp/VS11/UnitTestpp110.vcxproj.

Steve
Jul 3, 2013 at 6:39 PM
Thank you steve, this is of great help