Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Compile error with VS2017 (Read 312 times)
Marius
Developer
****
Offline



Posts: 192
Centurion RSA
Compile error with VS2017
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?
Back to top
« Last Edit: Feb 1st, 2019 at 6:45am by Marius »  
marius_d.liebenberg  
IP Logged
 
Marius
Developer
****
Offline



Posts: 192
Centurion RSA
Re: Compile error with VS2017
Reply #1 - Feb 1st, 2019 at 8:03am
 
Problem solved. Seems the call is to a function not a variable so the () must be added.
Back to top
 
marius_d.liebenberg  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print