Problems with compiling Cinder

When I try to run a cinder sample(in this case CubeMapping(I’ve tried other samples)), I get a lot of errors.
I just expected everything to work once I opened it up and compiled it; alas it didn’t :frowning:

Severity Code Description Project File Line Suppression State
Error (active) E0276 name followed by ‘::’ must be a class or namespace name CubeMapping C:\Users\Abdul\Documents\Visual Studio 2019\Projects\Cinder\cinder_0.9.2_vc2015\include\cinder\app\AppBase.h 364

And apart from the samples I created my own project:
#include “cinder/app/App.h”
#include “cinder/app/RendererGl.h”
#include “cinder/gl/gl.h”

using namespace ci;
using namespace ci::app;

class BasicApp : public App {
public:
void draw() override;
};

void BasicApp::draw()
{
gl::clear();
}

CINDER_APP(BasicApp, RendererGl)

just a short example from the cinder guides.

But I get this same error almost 100 times:

Severity Code Description Project File Line Suppression State
Error LNK2038 mismatch detected for ‘RuntimeLibrary’: value ‘MTd_StaticDebug’ doesn’t match value ‘MDd_DynamicDebug’ in main.obj cinderTest C:\Users\Abdul\Documents\Visual Studio 2019\Projects\cinderTest\cinder.lib(Window.obj) 1

another error I get is:
LNK2005 “public: __thiscall std::locale::id::id(unsigned int)” (??0id@locale@std@@QAE@I@Z) already defined in cinder.lib(Window.obj) cinderTest C:\Users\Abdul\Documents\Visual Studio 2019\Projects\cinderTest\msvcprtd.lib(MSVCP140D.dll) 1

I included …\cinder_0.9.2_vc2015\include
and added lib …\cinder_0.9.2_vc2015\lib\msw\x86\Debug\v140
I specified cinder. lib as linker input.

So what is causing this mismatch and naming collusions?
And why aren’t the samples just working straight out of the box?
Am I maybe including/linking the wrong files? or might there be something wrong with my setup?

I hope that someone has any ideas so that I can start trying out this library.
Although it has been a hassle and cumbersome thus far Cinder really looks awesome, so I’d love to give it a try.

I really hope someone could help me with this.
thanks.

https://libcinder.org/docs/guides/cmake/cmake.html