{"id":18008268,"url":"https://github.com/clemapfel/mousetrap_julia_binding","last_synced_at":"2026-03-07T02:03:46.239Z","repository":{"id":174478509,"uuid":"652244609","full_name":"Clemapfel/mousetrap_julia_binding","owner":"Clemapfel","description":"Interface between  mousetrap C++ and Julia component, cf. https://github.com/Clemapfel/mousetrap.jl","archived":false,"fork":false,"pushed_at":"2024-07-18T13:13:20.000Z","size":255,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-06T01:26:06.418Z","etag":null,"topics":["cpp-interface","julia-interface"],"latest_commit_sha":null,"homepage":"https://clemens-cords.com/mousetrap","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clemapfel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-11T14:46:25.000Z","updated_at":"2025-08-08T11:59:39.000Z","dependencies_parsed_at":"2023-10-16T08:40:10.722Z","dependency_job_id":"4c41113f-7e27-4267-8d59-ed162e6a74ca","html_url":"https://github.com/Clemapfel/mousetrap_julia_binding","commit_stats":null,"previous_names":["clemapfel/mousetrap_julia_binding"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Clemapfel/mousetrap_julia_binding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clemapfel%2Fmousetrap_julia_binding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clemapfel%2Fmousetrap_julia_binding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clemapfel%2Fmousetrap_julia_binding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clemapfel%2Fmousetrap_julia_binding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clemapfel","download_url":"https://codeload.github.com/Clemapfel/mousetrap_julia_binding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clemapfel%2Fmousetrap_julia_binding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30205893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cpp-interface","julia-interface"],"created_at":"2024-10-30T01:18:05.916Z","updated_at":"2026-03-07T02:03:46.207Z","avatar_url":"https://github.com/Clemapfel.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mousetrap Julia Binding\n\n\u003e **If you are looking to run mousetrap using Julia, you are in the wrong place. Please visit [mousetrap.jl](https://github.com/Clemapfel/mousetrap.jl) instead.**\n\n Julia-interface for the [mousetrap C++ component](https://github.com/Clemapfel/mousetrap). Imports most C++ classes such \nthat they can be wrapped by the macros defined in [`src/mousetrap.jl`](https://github.com/Clemapfel/mousetrap.jl/blob/main/src/mousetrap.jl).\n\nThis project contains the code for the Julia interface, as well as all relevant files to cross-compile both the Julia interface and the stand-alone C++ component.\n\n---\n\n## Installation\n\n### Dependencies\n\n+ Linux or Windows operating system\n+ [mousetrap](https://github.com/Clemapfel/mousetrap)\n+ [jlcxx](https://github.com/JuliaInterop/libcxxwrap-julia)\n+ [Julia](https://julialang.org/downloads/), installed system-wide\n\n### Installation `mousetrap_julia_binding`\n\n```\ngit clone https://github.com/Clemapfel/mousetrap_julia_binding.git\ncd mousetrap_julia_binding\nmkdir build\ncd build\ncmake .. -DMOUSETRAP_ENABLE_OPENGL_COMPONENT=ON\nmake install -j 8\n```\nWhere `make install` may require `sudo` depending on your default install location.\n\nOn MacOS, it may be necessary to set `-DMOUSETRAP_ENABLE_OPENGL_COMPONENT=OFF` instead.\n\n---\n\n## `mousetrap_jll` BinaryBuilder package\n\n`mousetrap` and `mousetrap_julia_binding` can be compiled using Julias `BinaryBuilder`. To be able to cross-compile, a 64-bit Linux operating system is required, though the compiled library product work for both linux, windows, and mac. \n\n### Dependencies\n\n+ Linux operating system\n+ [BinaryBuilder](https://github.com/JuliaPackaging/BinaryBuilder.jl)\n\n### Compiling for Linux\n\nFor linux, enter `mousetrap_julia_binding/mousetrap_jll`, then enter `/linux`, `/windows`, or `/apple`, depending on which OS you want to cross-compile for, not your actual operating system (which has to linux anyway).\n\nThen, execute (in one of the above listed directories):\n\n```\n# in mousetrap_julia_binding/mousetrap_jll/linux (or /windows, /apple)\njulia build_tarballs.jl\n```\n\nWhich will deposit the shared libraries in `mousetrap_julia_binding/mousetrap_jll/*/products`, where `*` is one of `linux`, `windows`, or `apple`.\n\nIf you want to instead install a `_jll` package locally, run `julia build_tarballs.jl --deploy=local` instead, which will create a package `mousetrap_*_jll` in your `.julia/dev`, where `*` is one of `linux`, `windows`, or `apple`.\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemapfel%2Fmousetrap_julia_binding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclemapfel%2Fmousetrap_julia_binding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemapfel%2Fmousetrap_julia_binding/lists"}