KermM I'm just wondering how you did division in your routine. For me I do the operation 1/divisor then use my fixed multiplication routine. It usually works well and fast but can be inaccurate on very large numbers. And then for addition and subtraction I'm assuming we did those identically.
I don't think GCC likes me anymore...
For some reason, the includes in my code have stopped working.
Code:
Errors:
Code:
I haven't touched the includes section of the source since I started with the file and it's worked before. I have no idea what could be causing it.
For some reason, the includes in my code have stopped working.
Code:
#include <display.h>
#include <keyboard_syscalls.h>
#include <SYSTEM_syscalls.h>
#include <keyboard.hpp>
#include <display_syscalls.h>
(snip several dozen lines of code)
int main(void) {
int key;
int x = 0;
int y = 0;
int z = 0;
Bdisp_AllCr_VRAM();
while (iContinue) {
Bdisp_PutDisp_DD();
GetKey(&key);
switch (key) {
...
}
}
return 0;
}
Errors:
Code:
sh3eb-elf-ld.exe:
File.o: In function '_main':
File.o: undefined reference to '_Bdisp_AllCr_VRAM'
File.o: undefined reference to '_Bdisp_PutDisp_DD'
File.o: undefined reference to '_GetKey'
I haven't touched the includes section of the source since I started with the file and it's worked before. I have no idea what could be causing it.
Did you move files around? I for some reason it is clearly not linking against libfxcg, which is the issue.
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
<Michael_V> or create a Borg collective and call it The 83+
<Michael_V> Lower your slide cases and prepare to be silent linked. Memory clears are futile.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
» Goto page Previous 1, 2, 3
» View previous topic :: View next topic
» View previous topic :: View next topic
Page 3 of 3
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement