Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Our C++ is not running out of debug (http://www.chiefdelphi.com/forums/showthread.php?t=90428)

colinchocolate 29-01-2011 15:30

Our C++ is not running out of debug
 
Whenever I try downloading the code from winriver, it only allows us to download through debug. Whenever I go through the deploy option, it gives me the no code in robot error on the driver's station. Any ideas?

Austinh100 29-01-2011 15:37

Re: Our C++ is not running out of debug
 
We are having the exact same problem, any help would be appreciated :D

mikets 30-01-2011 06:42

Re: Our C++ is not running out of debug
 
Hook up the debug console to see what failed. We had a similar problem last year and found out our code was exceeding the 16-bit "call" distance so we had to add -mlongcall in the linker option to get the code to load.

colinchocolate 01-02-2011 20:16

Re: Our C++ is not running out of debug
 
-mlongcall worked great! Thanks! :)

basicxman 01-02-2011 22:16

Re: Our C++ is not running out of debug
 
Quote:

Originally Posted by colinchocolate (Post 1013706)
-mlongcall worked great! Thanks! :)

Pro tip: In Window->Preferences you can set default build properties so you never have to worry about these things :)

colinchocolate 05-02-2011 11:53

Re: Our C++ is not running out of debug
 
Hooray! Another error. we are getting a "Relocation value does not fit in 24 bits" message. I added the -mlongcall tag in the build properties>build command. Anyone have any ideas? It worked before after we added the tag, but stopped working suddenly this weekend.

HutchScout 05-02-2011 11:56

Re: Our C++ is not running out of debug
 
We are also getting the same "Relocation value does not fit in 24 bits" message on our NetConsole when the bot attempts to load FRC_UserProgram at startup. Trying to find a solution.


All times are GMT -5. The time now is 13:36.

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