Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2017-12-20 05:46:38

value chain
Member
Registered: 2016-09-25
Post 34/42

'make' running error on cygwin

Hello guys

My old computer broke down and i bought another one. I reinstalled cygwin and i'm trying to run 'make', but i'm getting the following error:

$ make
Traceback (most recent call last):
  File "extras/pokemontools/scan_includes.py", line 9, in <module>
    import argparse
  File "/usr/lib/python2.7/argparse.py", line 85, in <module>
    import collections as _collections
  File "/usr/lib/python2.7/collections.py", line 20, in <module>
    from _collections import deque, defaultdict
ImportError: Exec format error

Do i have to install cygwin again? Or am i missing a file?

Thank you guys

EDIT:
I did it. Turns out i had to download the 32-bit version. Also, the syntax changed between the release i downloaded first and the release i downloaded this time. Now when i compile cygwin just spams warnings, which i don't have a problem with, but i had to change the file 'wram.asm' for the newer version because cygwin couldn't compile it... a variable was defined with a negative number; apparently the older version of cygwin didn't recognize this variable as such.
For cygwin to compile i also had to delete all the files with the extension '.o' from /home/user/pokered before running make. Why? No idea.

I'll just leave this here in case someone needs it.

And if that someone is bugged by all these warnings and is not as lazy as i am, i suggest searching every .asm file and make the following changes manually:

JP [HL] for JP HL
LD HL,[SP+e8] for LD HL,SP+e8

See ya guys later

Last edited by value chain (2017-12-21 09:27:45)

Offline

#2 2017-12-24 07:20:26

value chain
Member
Registered: 2016-09-25
Post 37/42

Re: 'make' running error on cygwin

Guys, when i compiled the rom, an audio problem showed up. Digging deeper on the problem i found out that you guys removed some code from main.asm and changed to some files on /engine.

Where can i find something like a history on main.asm and the files that derived from it? On github it shows only the changes on main.asm itself but not on the files that derived from it. Also, updating audio.asm didn't solve the audio problem.

Please help me, my only alternative is to download all the disassembly again and implement all the changes again T_T
I don't want to do all this work, and i certainly don't want to have to do it again every time you update the disassembly.

Offline

#3 2017-12-24 16:05:52

Ammako
Member
Registered: 2016-03-06
Post 132/158

Re: 'make' running error on cygwin

It's not Cygwin, it's rgbds. You may need version 0.2.5 if you were working on an older copy of pokered, 0.3.3 if newer.

Offline

#4 2017-12-24 16:09:01

Fairor
Member
Registered: 2017-11-23
Post 20/24

Re: 'make' running error on cygwin

value chain I'm not sure if I can help you because I'm new, but I had audio problems with a branch of Pokered and fixed it by switching to an older version of RGBDS (v0.2.5).

Offline

#5 2017-12-25 00:47:22

value chain
Member
Registered: 2016-09-25
Post 39/42

Re: 'make' running error on cygwin

Ammako wrote:

It's not Cygwin, it's rgbds. You may need version 0.2.5 if you were working on an older copy of pokered, 0.3.3 if newer.

Maya Hack wrote:

value chain I'm not sure if I can help you because I'm new, but I had audio problems with a branch of Pokered and fixed it by switching to an older version of RGBDS (v0.2.5).

It was rgbds. You probably saved 4 or so months of continuous work for me. Thanks a whole bunch guys :D

Offline

Board footer

Powered by FluxBB