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

[PS2] Compile Fail at missing gsKit.h #104

Open
MasterNama17083 opened this issue Sep 9, 2024 · 5 comments
Open

[PS2] Compile Fail at missing gsKit.h #104

MasterNama17083 opened this issue Sep 9, 2024 · 5 comments

Comments

@MasterNama17083
Copy link

MasterNama17083 commented Sep 9, 2024

I was building PS2 also I've installed PS2DEV toolchain via WSL and then I copied ps2dev into the tools folder.
btw, I've been compiling some platforms and later soon.

How do I fix this?
image

@fgsfdsfgs
Copy link
Owner

fgsfdsfgs commented Sep 9, 2024

You seem to be missing gsKit. It used to be mentioned in the Readme that you need to install it separately, but that was removed in a recent PR (#102). I thought it was now bundled with ps2sdk, but apparently not?
Either that or the header file is now called gskit.h instead of gsKit.h or something.

EDIT: Ah, it's something similar. In the Makefile there are two lines that contain $(PS2DEV)/gskit/. Change it to $(PS2DEV)/gsKit/. I'll commit a change for this as well.

@MasterNama17083
Copy link
Author

Yeah it seems to be uppercase Kit letter with this Makefile lol.
And, Again I tried with the reinstalled source code when compiled that says same error.

@binavik
Copy link

binavik commented Sep 14, 2024

Instructions in the readme say to have the PS2DEV and PS2SDK system variables defined but the code below it to download the prebuilt ps2dev binaries only define PS2SDK. run "export PS2DEV=$(pwd)/ps2dev" in terminal (with the ps2dev folder in the same directory of course) and try compiling it again.

@LinkToTheAsh
Copy link

@binavik thank you! definining "PS2DEV" export PS2DEV=$(pwd)/ps2dev before running make worked for me!

@godreborn
Copy link

found out from a friend that this apparently no longer works with docker (same error). I'm not sure if docker uses its own Makefile or the one located in the repo folder, but it was tested in windows and linux. compiling normally works fine, so I'm not sure.

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

5 participants