Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2019-09-11 19:41:01

rbroab
Member
Registered: 2017-06-13
Post 88/89

Cygwin Command Not Found

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
ERROR: wram.asm(224):
    Constant mustn't be negative: -20
make: *** [Makefile:46: wram.o] Error 5



This same error has occurred with different forks of pokecrystal

Offline

#2 2019-09-12 01:19:54

Danny-E 33
Administrator
Registered: 2012-06-09
Post 1,146/1,149

Re: Cygwin Command Not Found

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.

Offline

#3 2019-09-12 05:09:24

rbroab
Member
Registered: 2017-06-13
Post 89/89

Re: Cygwin Command Not Found

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?

Offline

#4 2019-09-13 01:58:53

Danny-E 33
Administrator
Registered: 2012-06-09
Post 1,147/1,149

Re: Cygwin Command Not Found

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.

Offline

#5 2019-09-28 11:54:06

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 339/340

Re: Cygwin Command Not Found

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.

Offline

Board footer

Powered by FluxBB