{"id":16525399,"url":"https://github.com/patriciogonzalezvivo/ada_example","last_synced_at":"2025-10-28T08:31:26.044Z","repository":{"id":38107445,"uuid":"443050145","full_name":"patriciogonzalezvivo/ada_example","owner":"patriciogonzalezvivo","description":"Simple example of an ADA program","archived":false,"fork":false,"pushed_at":"2022-06-26T21:46:33.000Z","size":53,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T12:51:14.543Z","etag":null,"topics":["c-plus-plus","cpp","glfw","linux","macos","opengl","raspberry-pi","raspberrypi","windows"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patriciogonzalezvivo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-30T11:06:19.000Z","updated_at":"2022-11-25T23:20:46.000Z","dependencies_parsed_at":"2022-08-24T23:40:29.839Z","dependency_job_id":null,"html_url":"https://github.com/patriciogonzalezvivo/ada_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patriciogonzalezvivo%2Fada_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patriciogonzalezvivo%2Fada_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patriciogonzalezvivo%2Fada_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patriciogonzalezvivo%2Fada_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patriciogonzalezvivo","download_url":"https://codeload.github.com/patriciogonzalezvivo/ada_example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238622966,"owners_count":19502953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","cpp","glfw","linux","macos","opengl","raspberry-pi","raspberrypi","windows"],"created_at":"2024-10-11T17:02:31.510Z","updated_at":"2025-10-28T08:31:25.731Z","avatar_url":"https://github.com/patriciogonzalezvivo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a \"Hello World\" program using [ADA](https://github.com/patriciogonzalezvivo/ada).\n\nPlease visit [ADA](https://github.com/patriciogonzalezvivo/ada) repository for more information on how to compile.\n\n\n## 1. Install Dependencies\n\n### Windows \n\n* [Visual Studio 2019 or higher](https://visualstudio.microsoft.com/vs/). Make sure to check \"Desktop development with C++\" and \"Universal Windows Platform development\" are installed\n* A [git](https://gitforwindows.org/) client \n* CMake (through [Scoop](https://scoop.sh/) is recommended)\n\n\n### MacOS\n\n```bash\nbrew install glfw3 pkg-config\n```\n\nFor video support (using FFMpeg library LIBAV), also do:\n\n```bash\nbrew install ffmpeg --build-from-source\n```\n\n### Linux: Debian based distributions with X11 Window Managers (Ex: Ubuntu, Raspberry Pi OS, etc) \n\n```bash\nsudo apt install git cmake xorg-dev libglu1-mesa-dev\n```\n\nFor video support (using FFMpeg library LIBAV), also do:\n\n```bash\nsudo apt install ffmpeg libavcodec-dev libavcodec-extra libavfilter-dev libavfilter-extra libavdevice-dev libavformat-dev libavutil-dev libswscale-dev libv4l-dev libjpeg-dev libpng-dev libtiff-dev\n```\n\n### Linux: Debian based distributions with no X11 Window manager (Raspberry Pi OS)\n\n```bash\nsudo apt install git cmake libgbm-dev libdrm-dev libegl1-mesa-dev libgles2-mesa-dev\n```\n\n### Linux: Fedora distribution\n\n```bash\nsudo dnf install git gcc-c++ cmake mesa-libGLU-devel glfw-devel libXi-devel libXxf86vm-devel \nsudo yum install libXdamage-devel \n\n```\n\nFor video support (using FFMpeg library LIBAV), also do:\n```bash\nsudo dnf install ffmpeg ffmpeg-devel\n```\n\n### Linux: Arch distribution\n\n```bash\nsudo pacman -S glu glfw-x11\n```\n\nFor video support (using FFMpeg library LIBAV), also do:\n\n```bash\nsudo pacman -S ffmpeg\n```\n\n### Emscripten WebAssembly project\n\nFollow [emscripten installation instructions](https://emscripten.org/docs/getting_started/downloads.html#installation-instructions):\n\n```bash\ngit clone https://github.com/emscripten-core/emsdk.git\ncd emsdk\ngit pull\n./emsdk install latest\n./emsdk activate latest\nsource ./emsdk_env.sh\ncd ..\n```\n\n\n## 2. Compiling the projects\n\n### For windows managers like MacOS, Windows or Linux (with X11 Window Manager) (all through GLFW) \n\n```bash\ngit clone --recursive https://github.com/patriciogonzalezvivo/ada_example.git\ncd ada_test\nmkdir build\ncd build\ncmake ..\nmake\n./hello_world\n```\n\n### For Linux with no X11 Window Manager\n\n```bash\ngit clone --recursive https://github.com/patriciogonzalezvivo/ada_example.git\ncd ada_test\nmkdir build\ncd build\ncmake -DNO_X11=TRUE ..\nmake\n./hello_world\n```\n\n### As a Emscripten WebAssembly project\n\n```bash\ngit clone --recursive https://github.com/patriciogonzalezvivo/ada_example.git\ncd ada_test\nmkdir build\ncd build\ncmake .. -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake\nmake\n\npython3 -m http.server \n```\n\nThen open http://localhost:8000/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatriciogonzalezvivo%2Fada_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatriciogonzalezvivo%2Fada_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatriciogonzalezvivo%2Fada_example/lists"}