View Single Post
  #6   Spotlight this post!  
Unread 06-02-2017, 20:14
alst alst is offline
Programming Mentor
AKA: Alan
FRC #0830 (RatPack)
Team Role: Mentor
 
Join Date: Jul 2015
Rookie Year: 1830
Location: MI
Posts: 11
alst is an unknown quantity at this point
Re: C++ programming help

This error often shows up when you've forgotten to define virtual methods. In this case, since your Robot class inherits from SampleRobot, you should have definitions for at least one of RobotInit(), Disabled(), Autonomous(), OperatorControl(), Test(), or RobotMain(). If you've defined some of these, make sure they're spelled/capitalized correctly and are defined inside the robot class (or qualified, e.g. with "void Robot::Autonomous(){...}").

If that doesn't help, it would be helpful if you could post your code somewhere (or at least a portion that reproduces the issue).
Reply With Quote