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

Cannot build on Linux #73

Open
arromdee opened this issue Dec 9, 2020 · 2 comments
Open

Cannot build on Linux #73

arromdee opened this issue Dec 9, 2020 · 2 comments

Comments

@arromdee
Copy link

arromdee commented Dec 9, 2020

Following the instructions on https://docs.libretro.com/development/retroarch/compilation/linux-and-bsd/ results in being unable to compile bsnes balanced (or more precisely, being unable to compile it with openGL).

Adding $(info statements to the Makefile to trace through it and find the problem shows me that the platform is set to "unix-opengl" and the Makefile does not understand that, causing it to fall through to the else statement that applies to Windows. It then tries to compile a .dll using Windows libraries, which fails.

In addition, the libretro-build.sh script doesn't properly report the error. What actually happens is that bsnes is compiled twice, once successfully (as unix) and once unsuccessfully (as unix-opengl). However, the summary at the end of the script just says that the core was not processed successfully, rather than saying that it was successfully processed one way and unsuccessfully another.

@arromdee arromdee changed the title Cannoit build on Linux Cannot build on Linux Dec 9, 2020
@hizzlekizzle
Copy link
Contributor

This core is software rendered. Why do you need to compile it with OpenGL?

It should just be:
make target=libretro profile=balanced

@arromdee
Copy link
Author

arromdee commented Dec 9, 2020

I "need to compile" it with OpenGL because when I follow the instructions on the Retroarch web page that tell me how to compile it, the steps described in the instructions will try to compile it with OpenGL. I actually had no idea whether it 'needs OpenGL, but I could imagine some reasons (for instance, it might use it to scale in fullscreen mode, or to rotate Mode 7).

If the instructions are wrong, they need to be fixed.

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

2 participants