Hi,
Im new to Cinder and would like to use Visual Studio with Cinder.
I started with this link https://libcinder.org/docs/guides/windows-setup/index.html but was unable to open the sample image with visual studio 2013.
How do I go about compiling with Visual studio?
accept to upgrade project’s compiler version to v141
compile the project for the versions you want to use, usually Debug and Release both x64 and x86(win32).
now you can test any of the projects in the samples folder.
If you use another version of Visual Studio this might also work. If you downloaded the released version of Cinder from the website just open the cinder.sln and compile it with the version of Visual Studio that you have.
Hi,
I was trying to open VC2013/cinder.sln in my visual studio 2017 but i kept getting errors while compiling.
Am i supposed to add any dependencies? Untitled|690x388
I used the Vc2015 in my 2017 visual studio and tried compiling but there these errors popping up.
So i was wondering if i need to do any additional steps?
sorry to hear you’re still struggling with this. In your latest screenshot, it looks like you’re missing the boost library. I assume you’re using Cinder’s Git version? When cloning the repository, make sure to also update its submodules. A repository contains all files necessary to compile and build an application. Sometimes it depends on another repository (in this case the boost library), which is then added as a “linked repository” called a submodule. The easiest way to download all of that is when cloning Cinder like this:
If you want to update the submodules afterwards, open a command window, browse to the root of your cinder folder and run:
git submodule update --init --recursive
See also this guide, which describes everything in more detail. I should mention that the guide was written with VS2013 in mind. When using VS2015 and above, open the cinder project file in the vs2015 folder. The name and location of the cinder.lib file have been changed, too. See this old post with a description.