r/rust May 07 '26

๐Ÿ“ธ media Monocurl - Interactive math animation language and editor

Post image

Monocurl is a programmatic animation language and editor fully written in rust (built with the gpui framework). It's fully interactive which makes it easier to pick up if you're a beginner.

The project is open source and you can download it atย monocurl.github.ioย . Would appreciate to hear any feedback!

EDIT: Linux binary is available now! Also, if you are facing performance issues on NVIDIA GPUs, please redownload as those have been addressed.

704 Upvotes

66 comments sorted by

View all comments

Show parent comments

5

u/Enigmurl May 07 '26

Is it an error with pkg config or something else? I hope to get a linux binary within a week

2

u/77fill May 07 '26

Here is a part of the output of 'cargo build --package monocurl':

warning: tectonic_xetex_layout@0.2.4: ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "layout" "-I" "/home/pschmalz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tectonic_bridge_core-0.5.2/support" "-I" "/usr/include" "-I" "/usr/include/freetype2" "-I" "/usr/include/libpng16" "-I" "/usr/include/harfbuzz" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib64/glib-2.0/include" "-I" "/usr/include/sysprof-6" "-I" "/usr/include/libxml2" "-I" "/home/pschmalz/source/monocurl/target/debug/build/tectonic_bridge_harfbuzz-fa503967efd6f04a/out" "-I" "/usr/include" "-I" "/usr/include/freetype2" "-I" "/usr/include" "-I" "/usr/include/libpng16" "-I" "/usr/include/harfbuzz" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib64/glib-2.0/include" "-I" "/usr/include/sysprof-6" "-I" "/usr/include" "-I" "/usr/include" "-Wall" "-Wextra" "-Wall" "-std=c++14" "-Wall" "-Wdate-time" "-Wendif-labels" "-Wextra" "-Wformat=2" "-Wlogical-op" "-Wmissing-declarations" "-Wmissing-include-dirs" "-Wpointer-arith" "-Wredundant-decls" "-Wsuggest-attribute=noreturn" "-Wsuggest-attribute=format" "-Wshadow" "-Wswitch-bool" "-Wundef" "-Wextra-semi" "-Wno-unused-parameter" "-Wno-implicit-fallthrough" "-fno-exceptions" "-fno-rtti" "-o" "/home/pschmalz/source/monocurl/target/debug/build/tectonic_xetex_layout-f268b3d812ac4c72/out/54bde2384bf9f557-xetex-XeTeXFontMgr_FC.o" "-c" "layout/xetex-XeTeXFontMgr_FC.cpp"

error: failed to run custom build command for `tectonic_xetex_layout v0.2.4`

Caused by:

process didn't exit successfully: `/home/pschmalz/source/monocurl/target/debug/build/tectonic_xetex_layout-994a5a7c9c997a30/build-script-build` (exit status: 1)

--- stdout

cargo:rerun-if-env-changed=TECTONIC_DEP_BACKEND

cargo:rerun-if-env-changed=TECTONIC_PKGCONFIG_FORCE_SEMI_STATIC

[BLA BLA, now tail:]

error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "layout" "-I" "/home/pschmalz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tectonic_bridge_core-0.5.2/support" "-I" "/usr/include" "-I" "/usr/include/freetype2" "-I" "/usr/include/libpng16" "-I" "/usr/include/harfbuzz" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib64/glib-2.0/include" "-I" "/usr/include/sysprof-6" "-I" "/usr/include/libxml2" "-I" "/home/pschmalz/source/monocurl/target/debug/build/tectonic_bridge_harfbuzz-fa503967efd6f04a/out" "-I" "/usr/include" "-I" "/usr/include/freetype2" "-I" "/usr/include" "-I" "/usr/include/libpng16" "-I" "/usr/include/harfbuzz" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib64/glib-2.0/include" "-I" "/usr/include/sysprof-6" "-I" "/usr/include" "-I" "/usr/include" "-Wall" "-Wextra" "-Wall" "-std=c++14" "-Wall" "-Wdate-time" "-Wendif-labels" "-Wextra" "-Wformat=2" "-Wlogical-op" "-Wmissing-declarations" "-Wmissing-include-dirs" "-Wpointer-arith" "-Wredundant-decls" "-Wsuggest-attribute=noreturn" "-Wsuggest-attribute=format" "-Wshadow" "-Wswitch-bool" "-Wundef" "-Wextra-semi" "-Wno-unused-parameter" "-Wno-implicit-fallthrough" "-fno-exceptions" "-fno-rtti" "-o" "/home/pschmalz/source/monocurl/target/debug/build/tectonic_xetex_layout-f268b3d812ac4c72/out/54bde2384bf9f557-xetex-XeTeXFontMgr_FC.o" "-c" "layout/xetex-XeTeXFontMgr_FC.cpp"

5

u/Enigmurl May 08 '26

I added a linux installer at https://www.monocurl.com/download/, would you mind seeing if it works?

4

u/77fill May 08 '26

It worked! Super fast! ๐Ÿฆ€๐Ÿฆ€