This repo is not used anymore. Development of Orca was moved here: https://github.com/orca-app/orca https://orca-app.dev/
Go to file
Martin Fouilleul d0ad92f0b8 Load images in pong example 2023-06-25 20:36:02 +02:00
cstdlib zsh bus error garbage 2023-06-25 20:33:42 +02:00
ext/wasm3 puling logging functionality from milepost into orca 2023-04-18 18:06:47 +02:00
milepost@4b491ee94a Load images in pong example 2023-06-25 20:36:02 +02:00
resources First draft of in-app debug console 2023-04-20 15:47:18 +02:00
samples/pong Load images in pong example 2023-06-25 20:36:02 +02:00
scripts Explicitly mark symbols imported from the runtime and avoid --allow-undefined (get compile-time errors on non-runtime-provided undefined symbols) 2023-06-25 20:18:14 +02:00
sdk Load images in pong example 2023-06-25 20:36:02 +02:00
src Load images in pong example 2023-06-25 20:36:02 +02:00
.gitignore Adding printing functions and asserts 2023-04-18 10:46:02 +02:00
.gitmodules silence clang warning on const qualifiers 2023-06-20 10:26:28 +02:00
Readme.md update readme and angle install notes 2023-04-26 15:59:03 +02:00
build.bat [win32] runtime compiles, and boots (without loading wasm module) 2023-06-17 20:10:11 +02:00
build.sh Get enough of libc added for stb_image, maybe 2023-06-25 20:33:16 +02:00

Readme.md

Install

Clone the repo with the --recurse-submodules option.

Get and build ANGLE (see milepost/ext/angle_install_notes.md), and put libEGL.dylib and libGLESv2.dylib in milepost/bin.

Cd to orca and build milepost (the platform layer), wasm3 (the wasm runtime), then orca:

cd Orca
./build.sh milepost
./build.sh wasm3
./build.sh orca

Build the sample orca app:

pushd samples/pong ; ./build.sh ; popd

This creates a Pong.app bundle in samples/pong that you can double click to run.

You can also build milepost example apps like so:

cd milepost
pushd examples/canvas ; ./build.sh ; popd
pushd examples/perf_text ; ./build.sh ; popd
pushd examples/tiger ; ./build.sh ; popd