My "setenv.bat" is as simple as:
Code: Select all
@echo off
set path=c:\cc65\bin;%path%;
set CC65_HOME=c:\cc65\
cc65 --version
Moderator: Moderators
Code: Select all
@echo off
set path=c:\cc65\bin;%path%;
set CC65_HOME=c:\cc65\
cc65 --version
Either system or user variables should work. System variables are system-wide (= for all users). You only need to add C:\cc65\bin, I mistakenly said C:\cc65 in my earlier post.nesrocks wrote:So I tried instead of System Variables, adding it to the User Variables, at the end of the already present variables. Now the path appears on the cmd. But the command is not recognized when compiling the project.
Then I added C:\cc65\bin to the path, along with C:\cc65. Alas, the game compiled (miedow). I have to say, I don't think this is an ideal scenario for cc65 usage, it's too complicated to discover without proper guidance. I consider myself to be an advanced dos and windows user, and I had never set PATH on environment variables under windows (on DOS I did). I don't know what the solution is, but this is definitely scary to new developers. Can I update the wiki with these new instructions for windows users?