You are not logged in.
My PC died recently and I had to move what I could over to a new PC. I had to reinstall Cygwin, but I've had issues trying to compile any ROM. Using a Windows 10 PC, when installing Cygwin I chose the 3 packages, make, git, and gcc-core. Did I miss one?
Here is the error I'm encountering when trying to build a ROM
make: python: Command not found
rgbasm -o wram.o wram.asm
Constant mustn't be negative: -20
make: *** [Makefile:46: wram.o] Error 5
This same error has occurred with different forks of pokecrystal
There are actually two errors in your error message.
python is not installed but is required to build your project. If you were looking at the up-to-date INSTALL.md then it doesn't tell you to install python because it is no longer required.
But it is clearly required for the out-of-date project that you're trying to build.
The second error is an error from rgbds.
That error means you are using too new of a version of rgbds, for the specific project you are trying to build.
The newer versions of rgbds do not allow negative spaces to be declared. But old versions of the disassemblies took advantage of negative spaces in wram.asm.
In order to build your out-of-date project, you need to be using a rgbds older than 0.3.3.
Thanks for the help. I uninstalled Cygwin, then reinstalled it with the Python Setup Tools, but unfortunately I'm still getting the "make: python: Command not found"
Went through the INSTALL.md and saw it was asking for rgbds version 0.2.5, so I went ahead and replaced the up-to-date version that I was using
I'm now getting this error
D:\Projects\Cygwin\usr\local\bin\rgbasm.exe: Unable to open incbin file 'gfx/misc/pack.2bpp': No such file or directory
make: *** [Makefile:49: main.o] Error 1
This is the fork I'm trying to compile. https://github.com/Dabomstew/pokecrystal-speedchoice
I thought it was fairly up-to-date, but maybe it's just built on an old version?
You are getting the "No such file" error because that file is created by the python scripts. Once you install python, that error will go away.
In the cygwin setup installer, you need to install "python" and not "python setup tools".
FYI, you do not need to uninstall cygwin. You can simply re-run the setup installer to select additional packages.
Instead I have similar issues... I installed Cygwin64 'cuase I'm trying to compile the Spaceworld demo translation, but I obtain the -bash: makefile: not found command (or similar, I have the italian version)
There is an online compiler to avoid these issues with Cygwin and all the requirements?
The italian Pokémon Green creator.