Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Compile error with VS2017 (Read 1240 times)
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Compile error with VS2017
Feb 1st, 2019 at 6:44am
Print Post  
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++)
Select All
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?
« Last Edit: Feb 1st, 2019 at 6:45am by Marius »  
Back to top
IP Logged
 
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Re: Compile error with VS2017
Reply #1 - Feb 1st, 2019 at 8:03am
Print Post  
Problem solved. Seems the call is to a function not a variable so the () must be added.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint