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

Empty macOS Dev-Latest build #11799

Closed
mikadocat opened this issue Feb 14, 2019 · 24 comments · Fixed by #14839
Closed

Empty macOS Dev-Latest build #11799

mikadocat opened this issue Feb 14, 2019 · 24 comments · Fixed by #14839

Comments

@mikadocat
Copy link

macOS Dev-Latest build only contains 'Version.txt'.
https://build.ppsspp.org/?page/downloads#osx

@hrydgard
Copy link
Owner

@angelXwind is on it, I think.

@Nimble-Bubble
Copy link

Still hasn't been fixed.

@duduke
Copy link

duduke commented Apr 4, 2019

I've installed a build environment on my Mojave 14.4 and the latest GIT does indeed fails compiling.
I can provide logs if requested.

Thanks.

@unknownbrackets
Copy link
Collaborator

Did you use a recursive clone and follow these instructions?

https://github.com/hrydgard/ppsspp/wiki/Build-instructions

It's generally easy to install, but you MUST download the git submodules (this is the first step people forget), and you must install certain Homebrew dependencies.

-[Unknown]

@unknownbrackets
Copy link
Collaborator

I wouldn't recommend Qt. If you want to use Qt, you'll need to install it (it's not small):

https://stackoverflow.com/questions/29431882/get-qt5-up-and-running-on-a-new-mac

I usually use cd build && cmake -GXcode .., like here:
https://github.com/hrydgard/ppsspp/wiki/Build-instructions#cmake-other-platforms

-[Unknown]

@fortezhuo
Copy link

fortezhuo commented Jun 11, 2019

Hi,

I have tried.. but I can't find executable app but I have find PPSSPP.xcodeproj generated

And here the logs

09:15 ppsspp (master) ✗ cmake -GXcode 
Normal Build
-- No build type selected, default to Release
CMAKE_SYSTEM_PROCESSOR: x86_64
Generating for x86, Release
Generating for x86_64, Release
-- Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY) 
-- Google Mock was not found - tests based on that will not build
-- spirv-tools not linked - illegal SPIRV may be generated for HLSL
--  Found avcodec: /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/include /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/lib/libavcodec.a
--  Found avdevice: /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/include /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/lib/libavdevice.a
--  Found avformat: /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/include /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/lib/libavformat.a
--  Found avutil: /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/include /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/lib/libavutil.a
--  Found swresample: /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/include /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/lib/libswresample.a
--  Found swscale: /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/include /Users/forte/Downloads/ppsspp/ffmpeg/macosx/x86_64/lib/libswscale.a
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 
-- Up-to-date: /Users/forte/Downloads/ppsspp/assets/ui_atlas.zim
-- Up-to-date: /Users/forte/Downloads/ppsspp/assets/logo.png
-- Up-to-date: /Users/forte/Downloads/ppsspp/assets/icon_regular_72.png
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/forte/Downloads/ppsspp

And while I run command make

 09:15 ppsspp (master) ✗ make
make: *** No targets specified and no makefile found.  Stop.

@unknownbrackets
Copy link
Collaborator

Ah sorry, if you use cmake -G Xcode it generates an Xcode project file you can build. If you use cmake .. instead (will now have to remove the build dir first), then it generates a Makefile for make.

If you just run ./b.sh it does the cmake and make version for you.

-[Unknown]

@fortezhuo
Copy link

Unfortunately.. I still found error message :

09:15 ppsspp (master) ✗ make
make: *** No targets specified and no makefile found.  Stop.

And I still try to run this command

cmake --build <build folder> --config release

And failed too

PhaseScriptExecution CMake\ PostBuild\ Rules PPSSPP.build/Debug/PPSSPPSDL.build/Script-2160D802937C45BC8E9EAF95.sh
    cd /Users/forte/Downloads/ppsspp
    /bin/sh -c /Users/forte/Downloads/ppsspp/PPSSPP.build/Debug/PPSSPPSDL.build/Script-2160D802937C45BC8E9EAF95.sh
/bin/bash /Users/forte/Downloads/ppsspp/SDL/macbundle.sh /Users/forte/Downloads/ppsspp/PPSSPPSDL.app
No such file: /Users/forte/Downloads/ppsspp/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL!
make: *** [PPSSPPSDL_buildpart_0] Error 1
Command /bin/sh failed with exit code 2

** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution CMake\ PostBuild\ Rules PPSSPP.build/Debug/PPSSPPSDL.build/Script-2160D802937C45BC8E9EAF95.sh

@unknownbrackets
Copy link
Collaborator

That looks like a problem with #11831, but if there was an error it was earlier up. Try this:

find /Users/forte/Downloads/ppsspp -name PPSSPPSDL

If it gives you a response (meaning it found a PPSSPPSDL) paste that into the Terminal and hit enter. It should run PPSSPP.

-[Unknown]

@fortezhuo
Copy link

Sorry for late response..

Finally it works just use "./b.sh" But I decided to purge existing ppsspp folder and re-clone again.
And PPSSPP.app 1.8.0 generated successfully..

PPSSPPSDL.zip

@unknownbrackets
Thank you for allocating time for replying this issue..

@poofeg
Copy link

poofeg commented Dec 1, 2019

@fortezhuo Can you build 1.9.4?

@govo
Copy link

govo commented Jan 4, 2020

Sorry for late response..

Finally it works just use "./b.sh" But I decided to purge existing ppsspp folder and re-clone again.
And PPSSPP.app 1.8.0 generated successfully..

PPSSPPSDL.zip

@unknownbrackets
Thank you for allocating time for replying this issue..

Thank you! I have build 1.9.4, A PPSSPPSDL.app generated successfully, and run the UI successfully, but when pay any game, it crash, could you please show me how to make it work? Thank you!

@govo
Copy link

govo commented Jan 4, 2020

This what I build for 1.9.4, but crash when run game roms.
PPSSPPSDL 1.9.4 but can not run game roms.zip

@govo
Copy link

govo commented Jan 4, 2020

Sorry for late response..

Finally it works just use "./b.sh" But I decided to purge existing ppsspp folder and re-clone again.
And PPSSPP.app 1.8.0 generated successfully..

PPSSPPSDL.zip

@unknownbrackets
Thank you for allocating time for replying this issue..

Even I build 1.8.0, it still the same, can not run roms.
WX20200104-234015@2x

@unknownbrackets
Copy link
Collaborator

That's #12495. The latest macOS versions have increased security restrictions for jit.

-[Unknown]

@CarterLi
Copy link
Contributor

CarterLi commented Jan 4, 2020

Sorry for late response..
Finally it works just use "./b.sh" But I decided to purge existing ppsspp folder and re-clone again.
And PPSSPP.app 1.8.0 generated successfully..
PPSSPPSDL.zip
@unknownbrackets
Thank you for allocating time for replying this issue..

Even I build 1.8.0, it still the same, can not run roms.
WX20200104-234015@2x

1.8.0 works on my mac without issues

image

@unknownbrackets
Copy link
Collaborator

It's related to the version of macOS you're using, not the version of PPSSPP. You'll experience problems on Catalina or newer, but that's #12495. It has nothing to do with the builds.

-[Unknown]

@govo
Copy link

govo commented Jan 4, 2020

Thank for all of you! I build 1.9.4 in an old mac os, then it is successfully to run roms, even in Catalina.

This is the 1.9.4 ppsspp:
PPSSPPSDL.zip
WX20200105-032431@2x

Hope it can help :)

@hrydgard
Copy link
Owner

hrydgard commented Jan 5, 2020

This doesn't fix the buildbot, but the Catalina-breaking bug has now been fixed, just for the record.

@govo
Copy link

govo commented Jan 5, 2020

Create job! Thank you very much!

@govo
Copy link

govo commented Jan 15, 2020

Hi , after playing "Metal gear solid peace walker", the one builded on Catalina still easily crash, but the one builded on older OS is more stable.

@unknownbrackets
Copy link
Collaborator

Apparently brew has ppsspp builds now. Maybe we should suggest people use that from the website.

Note: brew is using system ffmpeg though, which as we know causes problems.

-[Unknown]

@CatGreen90
Copy link

"Now"? Homebrew's ppsspp build have been around since at least 2017. (Probably longer, but I can't check because the original repo the recipe was migrated from was deleted.)

@unknownbrackets
Copy link
Collaborator

Fair enough, I hadn't seen it was added before. It's unfortunate that it uses system ffmpeg, but it seems like that's a decent workaround to these builds no longer being available?

-[Unknown]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants