Go Back   the Magicball Network > Forums > MBN Main Forums > Off topic
Buy LBA1/Relentless from GOG.com Buy LBA1/Relentless from DotEmu Buy LBA2/Twinsen's Odyssey from DotEmu Buy LBA2/Twinsen's Odyssey from GOG.com Buy Little big Adventure from GOG.com or DotEmu Buy Little big Adventure 2 from DotEmu or GOG.com

Welcome to the Magicball Network.

You are currently viewing our site as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Off topic General off-topic chat goes in here.

Reply
 
Thread Tools
  #1  
Old 2016-11-12, 00:03
MrQuetch's Avatar
MrQuetch MrQuetch is offline
Quetching a Mr.
 
Join Date: Apr 2011
Location: United States
Posts: 708
Post N64 Homebrew Compilation Error

So I've been learning how to program in C lately, and I've had major success on it. I've got all of the necessary files that I need, and am almost getting physical code on my Nintendo 64 from PC - which is really awesome, as so Darkflame confirmed to me. However, I've got one major problem. If I can't get this problem solved, I cannot do major home brewing for my console. I'm wondering if anyone with a good knowledge of UNIX / Linux OS's and GCC compilers can help me resolve this current issue.

I'm running VM with a WinXP ISO, and have been following a tutorial on http://www.n64squid.com/homebrew. I've got everything, as said, but when I come to compile code, or use the Win CMD, this happens: I'm getting a fatal error in a source file that tells me one of it's header files either doesn't exist or is in the directory. I know what you're thinking, I know this sounds really stupid - but I've checked my GCC compilers and the header files themselves - everything is in their proper locations. My batch file even points to the right folder to execute the "makefile" in the source code directory.

Just for better clarification, I've posted an image below.



The "ultra64" header file is located in the "includes" folder, yet the source code just doesn't know. I really hope someone out there knows how to resolve this major predicament. I've been searching for several hours, and although some things have been very helpful, I still cannot get the source file to output the n64 / v64/ z64 rom.

I posted something similar to this in the modifications section, and that was done in Ubuntu, which is a UNIX / Linux OS, so it was already setup to "makefile" from the terminal. Windows needs the GCC compiler, which I've downloaded, but cannot get the header files recognized in the source files. I've got so close now, and its just taunting me now at how far I've come, but haven't been able to resolve the issue of getting these errors. So you may ask, why do this in WinXP if it can already be done in Ubuntu? Well, truth be told, I'm no Linux user. So, I'm trying to get the Linux code lines to work in the Win OS.

When I run my batch file from the CMD, a bunch of lines come up, but they are all different kinds of errors. Again, this is somehow related to the source files not recognizing the header files.



Surely someone on the MBN knows how to fix these common problems. I would greatly appreciate some advice / help.
Maybe if someone checked the tutorial I linked, that person could further guide me in the right direction.

In the mean time, I'll keep trying to find a proper solution. Who knows, maybe I'm doing something wrong that I do not know of.
__________________
I am a Quetch. However, I am a Mr. Quetch.

Last edited by MrQuetch; 2016-11-12 at 00:09.
Reply With Quote
  #2  
Old 2016-11-12, 03:26
MrQuetch's Avatar
MrQuetch MrQuetch is offline
Quetching a Mr.
 
Join Date: Apr 2011
Location: United States
Posts: 708
Never mind. I ended up solving it. I have to double-click a batch file in order for Windows to run it. Before, I was trying to run the batch file from within the cmd of Windows. For some reason, it's always the little quirks that keep me from being able to accomplish what I want to. If anyone wants to compile their own code for the N64, take a look at http://www.n64squid.com/homebrew. You won't regret it if you love programming or tinkering with software.
__________________
I am a Quetch. However, I am a Mr. Quetch.
Reply With Quote
Reply

Tags
brew, compilation, error, home, n64

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LBA 2 Cutscenes Compilation rosenrot Member Announcements 6 2016-05-02 23:41
I need some help with an error in LBA 1 anongirl Member Announcements 6 2012-07-13 21:50
error trying to mod gabandre LBA Modifications - General 12 2008-11-20 21:42
Official MBN Spam Compilation Thread! Streg Off topic 13 2006-10-15 23:52
DVD Compilation Possible? Double-J Off topic 7 2005-11-24 13:47


All times are GMT +2. The time now is 12:57.




News Feed
Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2016, the Magicball Network