Hi everyone.
I'm trying to test out libgba to see if it works under dkARM so I wrote a simple soruce file to plot a colored pixel to the screen. And for the time being, I'm using the template makefile for the source. When I navigate to the directory and run make in msys, I get an error in function CIDExit declaring an undefined reference to main.
My guess would be that using main as a starting method is bad but that doesn't seem right. Has anyone encountered this before?
Make Errors
-
- Site Admin
- Posts: 2004
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Make Errors
The template projects expect the source code to be in the source directory, laid out in exactly the same way as the supplied examples.
Your problem is placing the source files somewhere that make can't see them thus trying to link object files with no main function.
Your problem is placing the source files somewhere that make can't see them thus trying to link object files with no main function.
Who is online
Users browsing this forum: No registered users and 3 guests