So, I installed NESICIDE on Windows 7 64-bit by:
1. Installing GNUMAKE from NESICIDE website
2. Installing cc65 snapshot from NESICIDE website
3. Installing NESICIDE from NESICIDE website
4. Manually adding "C:\Program Files (x86)\cc65-snapshot\bin;C:\Program Files (x86)\cc65-snapshot\bin;C:\Program Files (x86)\GnuWin32\bin" to Owner and System PATH variable
I started NESICIDE and picked new project -> NROM Hello World Project and gave it the folder C:\Projects\HelloWorld
It opened a clean new project. So clean I didn't see any assets at all. I created a new source file named main.c and copied the example from here:
http://rpgmaker.net/tutorials/227/
When I tried to compile NESICIDE complained about a linker file:
Nothing to build, no linker config file specified. Go to Project menu, select Project Properties, and switch to the Linker tab to add one.
I tried just copying the nes.cfg from the AlterEgo project but that didn't compile.
Was the NROM Hello World template supposed to be blank with no linker file? How do I get the tutorial from RPGMaker.Net to compile?
Trying to compile Hello World NESICIDE
Moderator: Moderators
- cpow
- NESICIDE developer
- Posts: 1097
- Joined: Mon Oct 13, 2008 7:55 pm
- Location: Minneapolis, MN
- Contact:
Re: Trying to compile Hello World NESICIDE
It seems you've stumbled onto an avenue of the tool that I started to pave but never completed. I was intending for there to be various project templates, of which a NROM-based "Hello World" project would be one. The intent was for the tool to populate everything you'd need -- linker map, source, CHR data -- to produce a simple demo that did nothing more than put "hello world" on the screen.slobu wrote: I started NESICIDE and picked new project -> NROM Hello World Project and gave it the folder C:\Projects\HelloWorld
It opened a clean new project. So clean I didn't see any assets at all. I created a new source file named main.c and copied the example from here:
http://rpgmaker.net/tutorials/227/
When I tried to compile NESICIDE complained about a linker file:
Nothing to build, no linker config file specified. Go to Project menu, select Project Properties, and switch to the Linker tab to add one.
I tried just copying the nes.cfg from the AlterEgo project but that didn't compile.
Was the NROM Hello World template supposed to be blank with no linker file? How do I get the tutorial from RPGMaker.Net to compile?
I never achieved internal consensus on the best way to store such project templates in the environment. I have everything I need...just need to pick the best way to store them. I think the answer will be "they'll be compressed archives in some subfolder of the program's installation.
You headed in the right direction, though...I don't know why the RPGMaker source wouldn't compile...I didn't write it. I don't know if it's meant to be compiled with CC65 or not. I can take a look later tonight.
I can probably get the project template thing done soonish.
Re: Trying to compile Hello World NESICIDE
Thanks for the reply!
It does indeed compile with the instructions provided in that RPGMaker.Net link. Here is the command line used:
cl65 -L C:\NES\lib -t nes -I C:\NES\include *.c -o hello.nes
It uses the include and lib folder from cc65 as well.
I don't quite understand what a linker file is. It seems to define what rom/ram configuration the binary should use? I'm not sure what a basic one for a cc65 "Hello World" example would look like.
Other than that, using the steps posted previously, the Tepples-SNROM and EXRAM examples do not compile. I'd rather get the Hello World NROM working if I had my druthers ^_^
Thanks again for this awesome tool!
It does indeed compile with the instructions provided in that RPGMaker.Net link. Here is the command line used:
cl65 -L C:\NES\lib -t nes -I C:\NES\include *.c -o hello.nes
It uses the include and lib folder from cc65 as well.
I don't quite understand what a linker file is. It seems to define what rom/ram configuration the binary should use? I'm not sure what a basic one for a cc65 "Hello World" example would look like.
Other than that, using the steps posted previously, the Tepples-SNROM and EXRAM examples do not compile. I'd rather get the Hello World NROM working if I had my druthers ^_^
Thanks again for this awesome tool!
- cpow
- NESICIDE developer
- Posts: 1097
- Joined: Mon Oct 13, 2008 7:55 pm
- Location: Minneapolis, MN
- Contact:
Re: Trying to compile Hello World NESICIDE
I am very close to solving the "it doesn't compile" -- stupid error on my part, I rearranged the order of the build to put CHR creation before code creation but the output directory didn't exist. Also I am very close to including working template project generation. I hope to have a version out this weekend with both of those. That should address the Tepples-SNROM and EXRAM example problems too.slobu wrote:Thanks for the reply!
It does indeed compile with the instructions provided in that RPGMaker.Net link. Here is the command line used:
cl65 -L C:\NES\lib -t nes -I C:\NES\include *.c -o hello.nes
It uses the include and lib folder from cc65 as well.
I don't quite understand what a linker file is. It seems to define what rom/ram configuration the binary should use? I'm not sure what a basic one for a cc65 "Hello World" example would look like.
Other than that, using the steps posted previously, the Tepples-SNROM and EXRAM examples do not compile. I'd rather get the Hello World NROM working if I had my druthers ^_^
Thanks again for this awesome tool!
Thanks for the feedback!
Re: Trying to compile Hello World NESICIDE
A spammer reported problems getting NESICIDE to work on 64 bit Windows. For the record, it works for me on 64-bit Windows 7.
Re: Trying to compile Hello World NESICIDE
I hope I'm not the person you're talkin' about. I blame myself for my problems getting NESICIDE configured 
- cpow
- NESICIDE developer
- Posts: 1097
- Joined: Mon Oct 13, 2008 7:55 pm
- Location: Minneapolis, MN
- Contact:
Re: Trying to compile Hello World NESICIDE
Tepples deleted the spam.slobu wrote:I hope I'm not the person you're talkin' about. I blame myself for my problems getting NESICIDE configured