libretro / libretro/bsnes2014

Cannot build on Linux

Open
#73 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
9
Forks
22
Avg merge
43m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the Linux compilation instructions, then inspect the Makefile platform branches and libretro-build.sh. Reproduce the bsnes balanced OpenGL build and trace the unix-opengl path; done means it no longer selects Windows libraries and the script summary distinguishes successful and failed processing attempts.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, shell
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.