![]() |
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 ;-; |
Re: Multiples errors around the project
Could you please post your full project code?
|
Re: Multiples errors around the project
1 Attachment(s)
Quote:
|
Re: Multiples errors around the project
Change your drivetrain subsystem name to Drivetrain. It can't differentiate between the class and instance.
|
Re: Multiples errors around the project
|
Re: Multiples errors around the project
Quote:
|
| All times are GMT -5. The time now is 09:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi