XmacsLabs / mogan

Mogan STEM Suite (based on GNU TeXmacs): Enjoy exploring science and technology!
https://mogan.app
GNU General Public License v3.0
389 stars 31 forks source link

glue_lolly.cpp:No such file or directory #2101

Open prehonor opened 2 months ago

prehonor commented 2 months ago

Mogan Version

1.2.9.1

Operating System Version and Architecture

Linux nixos

Describe Bug

❯ xmake build research [ 9%]: linking.release goldfish [ 35%]: cache compiling.release src/Graphics/Fonts/smart_font.cpp [ 40%]: cache compiling.release src/Graphics/Fonts/virtual_font.cpp [ 41%]: cache compiling.release src/Graphics/Fonts/font.cpp [ 42%]: cache compiling.release src/Graphics/Fonts/font_database.cpp [ 42%]: cache compiling.release src/Kernel/Types/rectangles.cpp [ 43%]: cache compiling.release src/Kernel/Abstractions/player.cpp [ 43%]: cache compiling.release src/Scheme/Scheme/glue.cpp [ 43%]: cache compiling.release src/Scheme/S7/s7_blackbox.cpp [ 43%]: cache compiling.release src/Scheme/L2/init_glue_l2.cpp [ 44%]: cache compiling.release src/Scheme/L3/init_glue_l3.cpp [ 44%]: cache compiling.release src/Scheme/L4/init_glue_l4.cpp [ 44%]: cache compiling.release src/Scheme/L5/init_glue_l5.cpp [ 44%]: cache compiling.release src/Scheme/L5/object_l5.cpp [ 45%]: cache compiling.release src/Scheme/Plugins/init_glue_plugins.cpp [ 45%]: cache compiling.release src/System/Files/web_files.cpp [ 45%]: cache compiling.release src/System/Files/make_file.cpp [ 45%]: cache compiling.release src/System/Files/image_files.cpp [ 46%]: cache compiling.release src/System/Files/tm_file.cpp [ 46%]: cache compiling.release src/System/Config/preferences.cpp [ 46%]: cache compiling.release src/System/Boot/init_texmacs.cpp [ 46%]: cache compiling.release src/System/Boot/init_upgrade.cpp [ 47%]: cache compiling.release src/System/Link/dyn_link.cpp [ 47%]: cache compiling.release src/System/Link/texmacs_server.cpp [ 48%]: cache compiling.release src/System/Link/tm_link.cpp [ 48%]: cache compiling.release src/System/Link/connection.cpp [ 48%]: cache compiling.release src/System/Link/texmacs_client.cpp [ 48%]: cache compiling.release src/System/Link/pipe_link.cpp [ 49%]: cache compiling.release src/System/Language/language.cpp [ 49%]: cache compiling.release src/System/Language/dictionary.cpp [ 49%]: cache compiling.release src/System/Language/hyphenate.cpp [ 49%]: cache compiling.release src/System/Language/prog_language.cpp [ 50%]: cache compiling.release src/System/Language/math_language.cpp [ 50%]: cache compiling.release src/System/Language/text_language.cpp [ 50%]: cache compiling.release src/System/Language/impl_language.cpp [ 50%]: cache compiling.release src/System/Language/scheme_language.cpp error: src/Scheme/L2/init_glue_l2.cpp:72:10: 致命错误:glue_lolly.cpp:No such file or directory 72 | #include "glue_lolly.cpp" | ^~~~ 编译中断。

in src/Scheme/L2/init_glue_l2.cpp

Expected Behavior

成功编译 mogan

da-liii commented 2 months ago

移除项目根目录的 .xmake/build/ ,然后重新构建即可