Homebrew How do I Compile Files to 3DSx?

I don't understand what this response means. What are you asking?
This whole time I putting file names and wasting time...:(

--------------------- MERGED ---------------------------

Argh, I'm so confused!:wacko: I'm going through all of this just to change B to A and Y to X on blargSnes!
 
Last edited by Stardust3033,
Which part don't you understand?
I don't think I understood you when you said:

"Assuming you have devkitPro, devkitARM and ctrulib all set up correctly, you need to download the source code for the software you want to compile, cd into the directory containing the Makefile, and then follow the build instructions provided by the source code."

How do I correctly set up ctrulib and what do you mean when you say: "cd into the directory containing the Makefile?"
 
Open the folder. Hold shift and right click on blank space. Click "open command window here." Type the word make and press enter.
 
Open the folder. Hold shift and right click on blank space. Click "open command window here." Type the word make and press enter.
(I'm assuming you mean the source folder I want to compress) What if it says: "'make' is not recognized as an internal or external command, operable program or batch file."
 
(I'm assuming you mean the source folder I want to compress) What if it says: "'make' is not recognized as an internal or external command, operable program or batch file."
Then you don't have make installed. Install it, add to path, then type make again.
 
make should already be installed. It's part of MING32. You were already within the directory you needed to be in when you posted the output of the ls command. So get back to there (open MING32, cd to the directory containing the blargSnes makefile) and then type the word make and press enter.
 
@Lordsble
I'm going to be brutally honest here. If you don't know how to use the 'cd' command, then I don't think there's much chance that you will be successful in your goal of editing the blargSnes source code and recompiling it. While I and others are happy to try and help, it seems that you lack a grasp of the basics of how command line interfaces work, and this is essential when building source code. I'm really sorry if this sounds unkind - it's not meant to be. I just don't think I can realistically talk somebody so inexperienced through doing what you're trying to achieve.
 
@Lordsble
I'm going to be brutally honest here. If you don't know how to use the 'cd' command, then I don't think there's much chance that you will be successful in your goal of editing the blargSnes source code and recompiling it. While I and others are happy to try and help, it seems that you lack a grasp of the basics of how command line interfaces work, and this is essential when building source code. I'm really sorry if this sounds unkind - it's not meant to be. I just don't think I can realistically talk somebody so inexperienced through doing what you're trying to achieve.
He doesn't understand how to use CD.
After a whole day and a half of research, learning, giving up etc. It came to me. I studied and re-read all of these post, watched a million videos, and put two and two together. I installed make and gcc, learned commands, changed the PATH. (directory) And came to a conclusion. This conclusion could be wrong...or it could be right. Remember you're talking to a beginner, someone who started this homebrew thing 2 or 3 weeks ago...The conclusion...snes.c, the file I've been trying to compile, can't be compiled. Why do I think so, because now when I type the command make it says: "make: nothing to be done for `snes.c'." But when I use the command gcc it says: "snes.c:19:17: fatal error: 3ds.h: No such file or directory #include <3ds.h> ^compilation terminated." That makes me think my conclusion is 50% true. So can snes.c be compiled so I change blargSnes controls, I don't know. I'm not sure if you guys get what I'm saying, but thats life. Sometimes you gotta figure out things yourself. Thanks for all the help, I REALLY appreciate it.
 
Last edited by Stardust3033,
"snes.c:19:17: fatal error: 3ds.h: No such file or directory #include <3ds.h> ^compilation terminated."
This either means ctrulib is not installed, or that the path to its headers has not been set. Make sure you follow the ctrulib installation guide correctly.
 
After a whole day and a half of research, learning, giving up etc. It came to me. I studied and re-read all of these post, watched a million videos, and put two and two together. I installed make and gcc, learned commands, changed the PATH. (directory) And came to a conclusion. This conclusion could be wrong...or it could be right. Remember you're talking to a beginner, someone who started this homebrew thing 2 or 3 weeks ago...The conclusion...snes.c, the file I've been trying to compile, can't be compiled. Why do I think so, because now when I type the command make it says: "make: nothing to be done for `snes.c'." But when I use the command gcc it says: "snes.c:19:17: fatal error: 3ds.h: No such file or directory #include <3ds.h> ^compilation terminated." That makes me think my conclusion is 50% true. So can snes.c be compiled so I change blargSnes controls, I don't know. I'm not sure if you guys get what I'm saying, but thats life. Sometimes you gotta figure out things yourself. Thanks for all the help, I REALLY appreciate it.
Your inability or unwillingness to follow instructions appear to be your main obstacle. The first response on the first page has all of the information you need.
 

Site & Scene News

Popular threads in this forum