Giter Site home page Giter Site logo

Comments (4)

wescopeland avatar wescopeland commented on June 29, 2024

It is not a perfect solution, but I know in the past some Linux users have had success using Wine. On macOS, I've had success using Parallels even on Apple Silicon hardware.

from ralibretro.

Jamiras avatar Jamiras commented on June 29, 2024

I'm pretty sure RAlibretro itself could be compiled and used on Linux. It's using SDL as a compatibility layer.

The problem is the toolkit (https://github.com/RetroAchievements/RAIntegration/), which you're prompted to download when launching RAlibretro for the first time. It is currently very Windows dependent. Much of the UI-related code calls the Win32 APIs directly (it's not even using MFC or a similar Microsoft-provided UI layer).

The discussion for updating the DLL is here.

As suggested above, many users have been able to develop on Linux using WINE.

from ralibretro.

dgchrt avatar dgchrt commented on June 29, 2024

Thanks for the answers so far. Apparently, running it on a Mac goes beyond the OS problem, which can be circumvented by using WINE as aforementioned. I get these errors, though:

[ERROR] [OGL] Error in getProcAddress: symbol glGenVertexArrays not found
[ERROR] [OGL] Error in getProcAddress: symbol glDeleteVertexArrays not found
[ERROR] [OGL] Error in getProcAddress: symbol glBindVertexArray not found
[ERROR] [OGL] Error in getProcAddress: symbol glBindSampler not found

Which seem to be related to the fact that Apple supports OpenGL up to version 2.1, which does not include vertex arrays (apparently, an OpenGL 3.0 thing). And I'm not sure the bundled SDL2.dll would ever support Metal (a Windows DLL supporting Metal? Very unlikely).

Maybe an older version of RALibRetro could bundle an older version of libSDL that would support OpenGL 2.1? But I couldn't find anything about it in its releases.

from ralibretro.

CasualPokePlayer avatar CasualPokePlayer commented on June 29, 2024

macOS supports higher OpenGL versions, even as far as OpenGL 4.1 according to their documentation, but only if you request a core profile and use the newer NSOpenGL interface.

Looking at RALibretro, it doesn't appear to explicitly require a verison (although it does request a core profile here, although regardless it probably should set the version here). This likely just results in the older OpenGL 2.1 interface being used in WINE.

(also, a more concerning issue wrt versions is glBindSampler, which is OpenGL 3.3)

from ralibretro.

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.