Visual Studio 2017

The engine.
Post Reply
ale.mnc
Posts: 9
Joined: Tue Jul 11, 2017 8:45 am

Visual Studio 2017

Post by ale.mnc »

Hello,

I am running SMILE for VS2015 on VS2017.
I get an error from autolink.h saying that my version of Visual C++ is not supported.
Is it possible to overcome this issue or should I go back to VS2015?
Apparently my _MSC_VER==1914

Thank you for your support,
Alessandro
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Visual Studio 2017

Post by shooltz[BayesFusion] »

SMILE for VS2015 requires MS C++ toolset v140. You may have it installed on your system. In your project's properties, go to Configuration|General and check if the "Platform Toolset" dropdown list contains the "Visual Studio 2015 (v140)". Switching the project to this toolset version will give you the ability to use VS2017 IDE with SMILE for VS2015.

We will be supporting VS2017 natively in the next SMILE release, which is scheduled to go public later this summer.
davidfdavis
Posts: 6
Joined: Mon Aug 27, 2018 2:06 pm

Re: Visual Studio 2017

Post by davidfdavis »

I am having a similar problem and am a novice in VS2017 and CPP. I followed this suggestion, but still received errors. See attached screen shot. Suggestions?
Picture1.png
Picture1.png (194.29 KiB) Viewed 5485 times
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Visual Studio 2017

Post by shooltz[BayesFusion] »

We have just uploaded SMILE 1.2.1 for Visual Studio 2017 - you can get it from our download site at https://download.bayesfusion.com

PS: your screenshot shows the Visual C++ code for .NET. If you want to target .NET, your options also include SMILE.NET, which can be used from C# or VB.NET.
Post Reply