Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
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... Sad

For some reason, the includes in my code have stopped working.


#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;
     while (iContinue) {   
        switch (key) {
   return 0;




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.
Have you messed with the makefile at all? Those are linking errors, not compilation errors.
Nope, haven't touched the makefile.
Did you move files around? I for some reason it is clearly not linking against libfxcg, which is the issue.
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
Page 3 of 3
» All times are GMT - 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