VS Arduino
Visual Micro >> General Board >> Compile error with VS2017
https://www.visualmicro.com/forums/YaBB.pl?num=1549003489

Message started by Marius on Feb 1st, 2019 at 6:44am

Title: Compile error with VS2017
Post by Marius on Feb 1st, 2019 at 6:44am
Hi
I had the unfortunate pleasure of having my laptop crashing on me. I had to install all new software and ended up using VS2017.

I am getting an error on a project that compiled when using VS2015 so I gather that I have some setting that is not correct.

The project is compiled for the Teensy 3.6 and I am using their Stepcontrol library. The error is this :-


Code (c++):
TestTrack.ino: 122:20: error: cannot convert 'StepControl<u, p>::isRunning<5u, 5000u>' from type 'bool (StepControl<>::)()' to type 'bool
   while (controller.isRunning)


I does not make a lot of sense to me. Any suggestions please?

Title: Re: Compile error with VS2017
Post by Marius on Feb 1st, 2019 at 8:03am
Problem solved. Seems the call is to a function not a variable so the () must be added.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2025. All Rights Reserved.