Skip to content

Doubts while using -s USE_SDL=2 #24394

Closed
Closed
@anutosh491

Description

@anutosh491

Hi,

I am trying to run the "smallpt: Global Illumination in 99 lines of C++" by Kevin Beason https://www.kevinbeason.com/smallpt/ in xeus-cpp-lite

I think I might have shared the link for running C++ completely in the browser through Jupyterlite previously https://compiler-research.org/xeus-cpp/lab/index.html

Context :

  1. As we are heavy users of emscripten and emscripten has good support for SDL, we thought of running the above classic example in our notebook.
  2. Here's the PR adding the notebook Add smallpt example notebook running through xeus-cpp-lite compiler-research/xeus-cpp#299
  3. So now you should be able to see the example notebook in the file system (smallpt.ipynb) ... when you open the link above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions