Go to Post To give credit where credits due, thanks to the GDC for this update. - Brandon Holley [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-01-2015, 14:47
vps vps is offline
Registered User
FRC #3021 (The Agency)
Team Role: Programmer
 
Join Date: Mar 2013
Rookie Year: 2011
Location: United States
Posts: 30
vps is an unknown quantity at this point
Problem calling START_ROBOT_CLASS(_CLASSNAME_) Wrapper

I'm having trouble calling my wrapper - it hasn't happened before. Here's the code that has been reduced to purely illustrate the problem.


Code:
//Atlas.h
#include "WPILib.h"

class Atlas: public SampleRobot {
	Gyro* gyro;				//just some filler here
public:
	Atlas();
	~Atlas();
	void Autonomous();
	void OperatorControl();
	void Test();
};
Code:
//Atlas.cpp
#include "Atlas.h"

Atlas::Atlas() {
	gyro = new Gyro(1);
}
Atlas::~Atlas() {
	delete gyro;
}

void Atlas::Autonomous() { }
void Atlas::OperatorControl() { }
void Atlas::Test() { }
Code:
//initialize.cpp
#include "Atlas.h"
START_ROBOT_CLASS(Atlas);    //error here
The error is:
Quote:
Invalid arguments '
Candidates are:
? HALReport(?, ?, ?, const char *)
'

help?

Last edited by vps : 11-01-2015 at 14:54.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi