Code Monkey home page Code Monkey logo

Comments (26)

RevoSucks avatar RevoSucks commented on May 29, 2024

Do you have devkitpro installed and linked within your environment properly?

I see your using MSYS, so if you're using the one that came with devkitpro, you might be fine, but I want to be sure.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

Yes I have. I've been using it since DizzyEgg's things for EM. :)

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

make's errors aren't much use. Can you post the full output (or at least the errors leading up to the final one)?

from pokeruby.

RevoSucks avatar RevoSucks commented on May 29, 2024

Do you have an up to date devkitpro? We made some changes a little while ago which unfortunately broke older devkitpros being able to build pokeruby.

from pokeruby.

camthesaxman avatar camthesaxman commented on May 29, 2024

devkitARM r46 or r47 are required. Older versions don't build a matching ROM due to an alignment bug in the linker. I think something else is the issue here.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

Alright. I just updated my devkitARM to r47 but I'm still getting the same error. Something about preproc.exe not being able to start.

from pokeruby.

RevoSucks avatar RevoSucks commented on May 29, 2024

what path is preproc.exe? It should be pokeruby/tools/preproc/preproc.exe, where pokeruby is your working directory.

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

The install instructions mention that there are some tools needed to build. On Windows, if you don't want to build them, you can download them:

Then get the compiled tools from https://github.com/pret/pokeruby-tools. Copy the tools/ folder over the tools/ folder in your pokeruby directory.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

It's there. It's in the correct directory.

I noticed though that it seems to be finding files with ".o" extension. I checked the directory where it is trying to find the said files and I found the exact same files just with the extension ".i" and ".s"

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

I obviously already read that and got the tools.

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

What is the exact error?

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

Okay, I'll run over this again.

  1. I run "make" in the root directory which is "pokeruby-master"
  2. Error prompt by "preproc.exe" not being able to start correctly thus "0xc000007b"
  3. I noticed that it is trying to find files with ".o" extension in the "build/ruby/src/" folder and when I went there, there are files with the exact same name but with ".i" and ".s" extension. (e.g. agb_flash.o is missing but there is agb_flash.i and agb_flash.s)

from pokeruby.

RevoSucks avatar RevoSucks commented on May 29, 2024

You need to copy paste the full error.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

Shall I post an image? Wait.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

This is the error when I type in "make"
https://i.imgur.com/UW7RFBi.png
This one after I press "OK"
https://i.imgur.com/gs2XpAf.png

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

You need to use the msys terminal. It should be under programs. If not, you can run C:\\devkitPro\msys\msys.bat.

Will fix the instructions to mention this.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

I actually did this beforehand. Still the same results.

from pokeruby.

RevoSucks avatar RevoSucks commented on May 29, 2024

Your window says cmd.exe. You're running CMD and not MSYS.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

No no. I actually did use MSYS before. I just used cmd for the sake of that screenshot. I was in a hurry. Still don't believe me? I used MSYS again just now it just says the same exact things as those in the screenshot.

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

Ok, I think I know what it is. Some of the tools also need Visual C++ to work. This is mentioned on the pokeruby-tools page but not in the install instructions.

You may need the Visual C++ runtime DLL to run some of these executables. Please choose the file called vc_redist.x86.exe.

You can get it here. https://www.microsoft.com/en-us/download/details.aspx?id=5555

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

Alright. Just came back installing everything. Actually, I even installed every version of Visual C++. Still doesn't work. I think pokeruby just hates me. If it's bothering you too much now, don't mind me anymore. I mean it works on everyone else except me. Majority works, and I'm the only one who can't make it work so it must be my problem. So yeah. Thanks for the efforts though. Maybe I won't get to touch this ever. :)

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

Maybe I gave you the wrong link. Try a newer one from https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

Like I said, I installed every version of Visual C++ to make sure all whatever DLLs are there. Still to no avail. I'm sorry for the inconvenience.

from pokeruby.

yenatch avatar yenatch commented on May 29, 2024

Were they 32-bit or 64? The tools need 32.

from pokeruby.

camthesaxman avatar camthesaxman commented on May 29, 2024

Visual C++ 2015 32-bit is the specific one you need.
I believe 0xc000007b means that some file needed to run the program is corrupt or misconfigured.

from pokeruby.

bwrobin avatar bwrobin commented on May 29, 2024

Yep. It works now. It was Visual C++ 2015 32-bit. Sorry for the late notice. Thanks everyone for not giving up on me. :D

from pokeruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.