|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Multiples errors around the project
Don't know how to explain this but in my drivetrain subsystem, the line
"class drivetrain: public Subsystem {" has the error "changes meaning of 'drivetrain' from 'class drivetrain' [-fpermissive]" 2nd error is in Robot.h, under public:. static std::shared_ptr<drivetrain> drivetrain; has an error stating "declaration of 'std::shared_ptr<dtivetrain> Robot::drivetrain [-fpermissive]" 3rd error is in Robot.cpp, under Robot::RobotInit() drivetrain.reset(new drivetrain()); has an error on reset stating the candidates are "void reset();, void reset(#10000 *), void reset(#10000 *, #10001), and void reset(#10000 *, #10001, #10002)" send help ;-; |
|
#2
|
||||
|
||||
|
Re: Multiples errors around the project
Could you please post your full project code?
|
|
#3
|
|||
|
|||
|
Re: Multiples errors around the project
It's auto-generated RobotBuilder code.
|
|
#4
|
||||||
|
||||||
|
Re: Multiples errors around the project
Change your drivetrain subsystem name to Drivetrain. It can't differentiate between the class and instance.
|
|
#5
|
||||
|
||||
|
Re: Multiples errors around the project
|
|
#6
|
|||
|
|||
|
Re: Multiples errors around the project
ahhhh, I see. Thanks!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|