Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I assemble on mac? #175

Closed
testtest765 opened this issue Feb 24, 2018 · 16 comments
Closed

How do I assemble on mac? #175

testtest765 opened this issue Feb 24, 2018 · 16 comments

Comments

@testtest765
Copy link

I'm on mac. I'm completely new to programming. How do I assemble a ROM that reflects the changes I've made? The command in install.md builds the original disassembly.

@PikalaxALT
Copy link
Contributor

Run make in the directory with the modified code.

@testtest765
Copy link
Author

I'm sorry to be an absolute knob. I'm a little lost.

Is this what you're referring to?

image

When I open that I get the following:

image

@PikalaxALT
Copy link
Contributor

you should be in Terminal, not Finder

@testtest765
Copy link
Author

@PikalaxALT I really appreciate you trying to guide me through this. I'm sorry to say that I'm still very lost.

Can you explain this to me as if I'm five years old?

I'm in Finder only because the repository is saved on my desktop.

I'm not sure exactly what to type into the Terminal.

@PikalaxALT
Copy link
Contributor

PikalaxALT commented Feb 24, 2018

cd ~/pokered
make

@testtest765
Copy link
Author

testtest765 commented Feb 24, 2018

Thanks!

I tried making a fresh pokered diassembly without any modifications. The only problem is I get the following error:

image

@Asday
Copy link

Asday commented Feb 24, 2018

@xCrystal
Copy link
Member

xCrystal commented Feb 24, 2018

Make sure you have the latest version of rgbds installed (v0.3.5 as of now). Also make sure that you install 32-bit or 64-bit cygwin and rgbds according to your SO.

@testtest765
Copy link
Author

testtest765 commented Feb 24, 2018

@Asday I've tried that and can successfully build a ROM that way. However, I can't seem to build a ROM from files saved on my mac.

@xCrystal I have the latest version of rgbds installed. I don't think I can install cygwin since I'm on a mac.

image

I really appreciate both of you trying to help me. Thank you!

@PikalaxALT
Copy link
Contributor

git submodule init
git submodule update

@testtest765
Copy link
Author

@PikalaxALT
image

@yenatch
Copy link
Contributor

yenatch commented Feb 24, 2018

the issue is that git clone --recursive also clones the extras submodule which has some of the tools needed to build. when you download a zip or leave out --recursive the submodule doesn't get cloned. this is why it says they're missing

when you download a zip it also doesn't work with git, which makes submodules annoying to deal with

the simplest way to get the submodule working is to make your folder a git repo. do this:

git init
git remote add origin https://github.com/pret/pokered
git fetch origin
git reset --soft origin/master
git submodule update --init

this should be fixed by #168, which will not need the submodule to build

@xCrystal
Copy link
Member

@testtest765 My bad, went on autopilot with that reply lol

@testtest765
Copy link
Author

@yenatch @xCrystal @PikalaxALT

Thank you for all of your help! I've figured it out.

@yenatch
Copy link
Contributor

yenatch commented Feb 25, 2018

oops. i meant --soft, not --hard

@kiranzip
Copy link

Someone close this issue, it has been solved

@Sanqui Sanqui closed this as completed Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants