编译出错

编译的时候不在dependences下添加spdlog不会报错，添加进去就会出现如上所示的错误

是宏定义冲突吗

是宏定义冲突吗

编译输出如下
[main] 正在生成文件夹: LGFX_Simulator_SDL
[build] 正在启动生成
[proc] 执行命令: C:\software\CMake\bin\cmake.EXE --build c:/Users/82432/Desktop/LGFX_Simulator_SDL/build --config MinSizeRel --target all -j 10 --
[build] [ 19%] Built target smooth_ui_toolkit
[build] [ 26%] Built target mooncake
[build] [ 28%] Built target app_manager_basic
[build] [ 30%] Built target simplekv_test
[build] [ 31%] Building CXX object user/CMakeFiles/user.dir/simu_project/hal/hal.cpp.obj
[build] [ 34%] Built target input_device_register_test
[build] [ 36%] Built target app_register_test
[build] [ 38%] Built target mooncake_framework_test
[build] [ 40%] Built target app_user_data_test
[build] [ 42%] Built target mooncake_basic
[build] In file included from D:/software/mingw64/x86_64-w64-mingw32/include/windows.h:74,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/windows_include.h:11,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os-inl.h:28,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os.h:121,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg-inl.h:10,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg.h:36,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/logger.h:18,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry-inl.h:12,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry.h:122,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/spdlog/include/spdlog/spdlog.h:13,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/mooncake.h:24,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\simu_project\hal\hal.cpp:11:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:37:7: error: expected identifier before numeric constant
[build]        DOUBLE_CLICK = 0x0B,
[build]        ^~~~~~~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:37:7: error: expected '}' before numeric constant
[build] In file included from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1_init.hpp:60,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/LovyanGFX.hpp:31,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1_autodetect/common.hpp:24,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/LGFX_AUTODETECT.hpp:20,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\simu_project\hal\hal.h:14,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\simu_project\hal\hal.cpp:12:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:30:25: note: to match this '{'
[build]      enum CS816S_GESTURE {
[build]                          ^
[build] In file included from D:/software/mingw64/x86_64-w64-mingw32/include/windows.h:74,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/windows_include.h:11,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os-inl.h:28,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os.h:121,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg-inl.h:10,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg.h:36,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/logger.h:18,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry-inl.h:12,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry.h:122,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/spdlog/include/spdlog/spdlog.h:13,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/mooncake.h:24,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\simu_project\hal\hal.cpp:11:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:37:7: error: expected unqualified-id before numeric constant
[build]        DOUBLE_CLICK = 0x0B,
[build]        ^~~~~~~~~~~~
[build] In file included from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1_init.hpp:60,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/LovyanGFX.hpp:31,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1_autodetect/common.hpp:24,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/LGFX_AUTODETECT.hpp:20,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\simu_project\hal\hal.h:14,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\simu_project\hal\hal.cpp:12:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:41:19: error: expected unqualified-id before 'void'
[build]      Touch_CST816S(void)
[build]                    ^~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:41:19: error: expected ')' before 'void'
[build]      Touch_CST816S(void)
[build]                   ~^~~~
[build]                    )
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:57:3: error: expected unqualified-id before 'private'
[build]    private:
[build]    ^~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:72:1: error: expected declaration before '}' token
[build]  }
[build]  ^
[build] mingw32-make.exe[2]: *** [user\CMakeFiles\user.dir\build.make:211: user/CMakeFiles/user.dir/simu_project/hal/hal.cpp.obj] Error 1
[build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:457: user/CMakeFiles/user.dir/all] Error 2
[build] mingw32-make.exe: *** [Makefile:90: all] Error 2
[proc] 命令“C:\software\CMake\bin\cmake.EXE --build c:/Users/82432/Desktop/LGFX_Simulator_SDL/build --config MinSizeRel --target all -j 10 --”已退出，代码为 2
[driver] 生成完毕: 00:00:04.980
[build] 生成已完成，退出代码为 2

生成其他的就不会报这个错误

欸，添加spdlog是怎么个添加法

克隆项目

首次编译会提示没有smooth_ui_toolkit，再克隆smooth_ui_toolkit到文件夹下

添加库SDL，并修改CMakeLists.txt

# See how to install sdl2: https://wiki.libsdl.org/SDL2/Installation
cmake_minimum_required (VERSION 3.8)
project(LGFX_SDL)

add_definitions(-DLGFX_SDL)

# Simu project
file(GLOB_RECURSE SIMU_PROJECT_SRCS
    simu_project/core_test/*.c
    simu_project/core_test/*.cpp
    simu_project/widget_test/*.c
    simu_project/widget_test/*.cpp
    simu_project/hal/hal_simulator/*.c
    simu_project/hal/hal_simulator/*.cpp
)
set(SIMU_PROJECT_SRCS_EXTRA
    simu_project/simu_project.cpp
    simu_project/hal/hal.cpp
    simu_project/hal/lgfx_fx/lgfx_fx.cpp
)

# Mooncake
add_subdirectory("dependencies/mooncake")

# Smooth ui toolkit
add_subdirectory("dependencies/smooth_ui_toolkit")

# ビルド対象にするファイルを指定する;
# LovyanGFXのあるパスと位置関係を変えた場合は相対パス記述を環境に合わせて調整すること;
file(GLOB Target_Files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_DEPENDS
    *.cpp
    dependencies/LovyanGFX/src/lgfx/Fonts/efont/*.c
    dependencies/LovyanGFX/src/lgfx/Fonts/IPA/*.c
    dependencies/LovyanGFX/src/lgfx/utility/*.c
    dependencies/LovyanGFX/src/lgfx/v1/*.cpp
    dependencies/LovyanGFX/src/lgfx/v1/misc/*.cpp
    dependencies/LovyanGFX/src/lgfx/v1/panel/Panel_Device.cpp
    dependencies/LovyanGFX/src/lgfx/v1/panel/Panel_FrameBufferBase.cpp
    dependencies/LovyanGFX/src/lgfx/v1/platforms/sdl/*.cpp
    )
add_executable (LGFX_SDL ${Target_Files} ${SIMU_PROJECT_SRCS} ${SIMU_PROJECT_SRCS_EXTRA})

# includeするファイルのパスを指定する;
# LovyanGFXのあるパスと位置関係を変えた場合は相対パス記述を環境に合わせて調整すること;
target_include_directories(LGFX_SDL PUBLIC "dependencies/LovyanGFX/src/")

IF (CMAKE_SYSTEM_NAME MATCHES "Linux")

# Linux環境の場合;
# SDL2_INCLUDE_DIRS と SDL2_LIBRARIES を事前に設定しておく;
    find_package(SDL2 REQUIRED SDL2)
    include_directories(${SDL2_INCLUDE_DIRS})
    target_link_libraries(LGFX_SDL -lpthread ${SDL2_LIBRARIES} mooncake smooth_ui_toolkit)

ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Windows")

# 声明一个变量SDL2_DIR为SDL2安装路径
set(SDL2_DIR "./lib/SDL2-2.30.3/x86_64-w64-mingw32")
# 设置要包含的头文件的路径
include_directories(${SDL2_DIR}/include)
# 设置要关联的库的路径
link_directories(${SDL2_DIR}/bin)

target_link_libraries(LGFX_SDL mingw32 SDL2main SDL2 mooncake smooth_ui_toolkit)

    add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
    add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
    add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/Zc:__cplusplus>")

ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Darwin")

# MacOS(Darwin)環境の場合;
    find_package(SDL2 REQUIRED COMPONENTS SDL2)
    target_link_libraries(LGFX_SDL PRIVATE SDL2::SDL2 mooncake smooth_ui_toolkit)

ENDIF ()

target_compile_features(LGFX_SDL PUBLIC cxx_std_17)

报错如下
[main] 正在生成文件夹: smooth_ui_toolkit_simu
[build] 正在启动生成
[proc] 执行命令: C:\software\CMake\bin\cmake.EXE --build d:/github/c++/smooth_ui_toolkit_simu/build --config Debug --target all -j 10 --
[build] [ 23%] Built target smooth_ui_toolkit
[build] [ 32%] Built target mooncake
[build] [ 34%] Built target app_manager_basic
[build] [ 37%] Built target app_register_test
[build] [ 39%] Built target input_device_register_test
[build] [ 42%] Built target simplekv_test
[build] [ 44%] Built target app_user_data_test
[build] [ 47%] Built target mooncake_framework_test
[build] [ 50%] Built target mooncake_basic
[build] [ 51%] Building CXX object CMakeFiles/LGFX_SDL.dir/LGFX_SDL.cpp.obj
[build] [ 52%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/Fonts/IPA/lgfx_font_japan.c.obj
[build] [ 53%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/Fonts/efont/lgfx_efont_cn.c.obj
[build] [ 55%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/Fonts/efont/lgfx_efont_ja.c.obj
[build] [ 57%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/Fonts/efont/lgfx_efont_kr.c.obj
[build] [ 57%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/Fonts/efont/lgfx_efont_tw.c.obj
[build] [ 58%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/utility/lgfx_qoi.c.obj
[build] [ 60%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/utility/lgfx_qrcode.c.obj
[build] [ 62%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/utility/lgfx_pngle.c.obj
[build] [ 62%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/utility/lgfx_tjpgd.c.obj
[build] [ 64%] Building C object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/utility/miniz.c.obj
[build] [ 65%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/LGFXBase.cpp.obj
[build] [ 66%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/LGFX_Button.cpp.obj
[build] [ 67%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/LGFX_Sprite.cpp.obj
[build] [ 69%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/lgfx_fonts.cpp.obj
[build] [ 70%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/misc/DividedFrameBuffer.cpp.obj
[build] [ 71%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/misc/SpriteBuffer.cpp.obj
[build] [ 73%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/misc/common_function.cpp.obj
[build] [ 74%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp.obj
[build] [ 75%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/panel/Panel_Device.cpp.obj
[build] [ 76%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/panel/Panel_FrameBufferBase.cpp.obj
[build] [ 78%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/platforms/sdl/Panel_sdl.cpp.obj
[build] [ 79%] Building CXX object CMakeFiles/LGFX_SDL.dir/dependencies/LovyanGFX/src/lgfx/v1/platforms/sdl/common.cpp.obj
[build] [ 80%] Building CXX object CMakeFiles/LGFX_SDL.dir/main.cpp.obj
[build] [ 82%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/draw_line_test.cpp.obj
[build] [ 83%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/easing_path_test.cpp.obj
[build] [ 84%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/ring_buffer_test.cpp.obj
[build] [ 85%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/smooth_color_test.cpp.obj
[build] [ 87%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/smooth_drag_test.cpp.obj
[build] [ 88%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/smooth_line_chat_test.cpp.obj
[build] [ 89%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/transition_2d_test.cpp.obj
[build] [ 91%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/core_test/transition_test.cpp.obj
[build] [ 92%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/widget_test/base_test.cpp.obj
[build] [ 93%] Building CXX object CMakeFiles/LGFX_SDL.dir/simu_project/widget_test/select_menu_option.cpp.obj
[build] D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:25:10: error: 'void WidgetTest_1::onUpdate(const TimeSize_t&)' marked 'override', but does not override
[build]      void onUpdate(const TimeSize_t& currentTime) override { spdlog::info("1 update"); }
[build]           ^~~~~~~~
[build] D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:34:10: error: 'void WidgetTest_2::onUpdate(const TimeSize_t&)' marked 'override', but does not override
[build]      void onUpdate(const TimeSize_t& currentTime) override { spdlog::info("2 update"); }
[build]           ^~~~~~~~
[build] D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:43:10: error: 'void WidgetTest_3::onUpdate(const TimeSize_t&)' marked 'override', but does not override
[build]      void onUpdate(const TimeSize_t& currentTime) override { spdlog::info("3 update"); }
[build]           ^~~~~~~~
[build] D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp: In function 'void smooth_widget_base_test()':
[build] D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:71:34: error: no matching function for call to 'SmoothUIToolKit::Widgets::WidgetBase::update(long unsigned int)'
[build]          root.update(HAL::Millis());
[build]                                   ^
[build] In file included from D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/smooth_ui_toolkit.h:28,
[build]                  from D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:15:
[build] D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/widgets/base/base.h:152:26: note: candidate: 'virtual void SmoothUIToolKit::Widgets::WidgetBase::update()'
[build]              virtual void update(void);
[build]                           ^~~~~~
[build] D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/widgets/base/base.h:152:26: note:   candidate expects 0 arguments, 1 provided
[build] D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:75:34: error: no matching function for call to 'SmoothUIToolKit::Widgets::WidgetBase::update(long unsigned int)'
[build]          root.update(HAL::Millis());
[build]                                   ^
[build] In file included from D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/smooth_ui_toolkit.h:28,
[build]                  from D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:15:
[build] D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/widgets/base/base.h:152:26: note: candidate: 'virtual void SmoothUIToolKit::Widgets::WidgetBase::update()'
[build]              virtual void update(void);
[build]                           ^~~~~~
[build] D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/widgets/base/base.h:152:26: note:   candidate expects 0 arguments, 1 provided
[build] D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:79:34: error: no matching function for call to 'SmoothUIToolKit::Widgets::WidgetBase::update(long unsigned int)'
[build]          root.update(HAL::Millis());
[build]                                   ^
[build] In file included from D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/smooth_ui_toolkit.h:28,
[build]                  from D:\github\c++\smooth_ui_toolkit_simu\simu_project\widget_test\base_test.cpp:15:
[build] D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/widgets/base/base.h:152:26: note: candidate: 'virtual void SmoothUIToolKit::Widgets::WidgetBase::update()'
[build]              virtual void update(void);
[build]                           ^~~~~~
[build] D:/github/c++/smooth_ui_toolkit_simu/dependencies/smooth_ui_toolkit/src/widgets/base/base.h:152:26: note:   candidate expects 0 arguments, 1 provided
[build] mingw32-make.exe[2]: *** [CMakeFiles\LGFX_SDL.dir\build.make:556: CMakeFiles/LGFX_SDL.dir/simu_project/widget_test/base_test.cpp.obj] Error 1
[build] mingw32-make.exe[2]: *** Waiting for unfinished jobs....
[build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:178: CMakeFiles/LGFX_SDL.dir/all] Error 2
[build] mingw32-make.exe: *** [Makefile:90: all] Error 2
[proc] 命令“C:\software\CMake\bin\cmake.EXE --build d:/github/c++/smooth_ui_toolkit_simu/build --config Debug --target all -j 10 --”已退出，代码为 2
[driver] 生成完毕: 00:00:31.627
[build] 生成已完成，退出代码为 2

用这个工程试试

clone下来都可以使用，但是添加smooth_ui_toolkit_simu/simu_project进去就会报错。
我在主页上传了工程可以看看吗，这里
[main] 正在生成文件夹: LGFX_Simulator_SDL
[main] 正在配置项目: LGFX_Simulator_SDL
[proc] 执行命令: C:\software\CMake\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=MinSizeRel -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=D:\software\mingw64\bin\gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=D:\software\mingw64\bin\g++.exe -SC:/Users/82432/Desktop/LGFX_Simulator_SDL -Bc:/Users/82432/Desktop/LGFX_Simulator_SDL/build -G "MinGW Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] -- The C compiler identification is GNU 8.1.0
[cmake] -- The CXX compiler identification is GNU 8.1.0
[cmake] -- Detecting C compiler ABI info
[cmake] -- Detecting C compiler ABI info - done
[cmake] -- Check for working C compiler: D:/software/mingw64/bin/gcc.exe - skipped
[cmake] -- Detecting C compile features
[cmake] -- Detecting C compile features - done
[cmake] -- Detecting CXX compiler ABI info
[cmake] -- Detecting CXX compiler ABI info - done
[cmake] -- Check for working CXX compiler: D:/software/mingw64/bin/g++.exe - skipped
[cmake] -- Detecting CXX compile features
[cmake] -- Detecting CXX compile features - done
[cmake] -- Configuring done (1.2s)
[cmake] -- Generating done (0.2s)
[cmake] -- Build files have been written to: C:/Users/82432/Desktop/LGFX_Simulator_SDL/build
[build] 正在启动生成
[proc] 执行命令: chcp
[proc] 执行命令: C:\software\CMake\bin\cmake.EXE --build c:/Users/82432/Desktop/LGFX_Simulator_SDL/build --config MinSizeRel --target user -j 10 --
[build] [ 50%] Building CXX object user/CMakeFiles/user.dir/simu_project.cpp.obj
[build] [ 50%] Building CXX object user/CMakeFiles/user.dir/hal/hal.cpp.obj
[build] [ 75%] Building CXX object user/CMakeFiles/user.dir/hal/lgfx_fx/lgfx_fx.cpp.obj
[build] In file included from D:/software/mingw64/x86_64-w64-mingw32/include/windows.h:74,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/windows_include.h:11,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os-inl.h:28,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os.h:121,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg-inl.h:10,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg.h:36,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/logger.h:18,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry-inl.h:12,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry.h:122,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/spdlog/include/spdlog/spdlog.h:13,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/mooncake.h:24,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\hal\hal.cpp:11:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:37:7: error: expected identifier before numeric constant
[build]        DOUBLE_CLICK = 0x0B,
[build]        ^~~~~~~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:37:7: error: expected '}' before numeric constant
[build] In file included from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1_init.hpp:60,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/LovyanGFX.hpp:31,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\hal\hal.h:16,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\hal\hal.cpp:12:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:30:25: note: to match this '{'
[build]      enum CS816S_GESTURE {
[build]                          ^
[build] In file included from D:/software/mingw64/x86_64-w64-mingw32/include/windows.h:74,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/windows_include.h:11,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os-inl.h:28,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/os.h:121,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg-inl.h:10,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/log_msg.h:36,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/logger.h:18,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry-inl.h:12,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/spdlog/include/spdlog/details/registry.h:122,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/spdlog/include/spdlog/spdlog.h:13,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/mooncake/src/mooncake.h:24,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\hal\hal.cpp:11:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:37:7: error: expected unqualified-id before numeric constant
[build]        DOUBLE_CLICK = 0x0B,
[build]        ^~~~~~~~~~~~
[build] In file included from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1_init.hpp:60,
[build]                  from C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/LovyanGFX.hpp:31,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\hal\hal.h:16,
[build]                  from C:\Users\82432\Desktop\LGFX_Simulator_SDL\user\hal\hal.cpp:12:
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:41:19: error: expected unqualified-id before 'void'
[build]      Touch_CST816S(void)
[build]                    ^~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:41:19: error: expected ')' before 'void'
[build]      Touch_CST816S(void)
[build]                   ~^~~~
[build]                    )
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:50:21: error: virt-specifiers in 'init' not allowed outside a class definition
[build]      bool init(void) override;
[build]                      ^~~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:52:23: error: virt-specifiers in 'wakeup' not allowed outside a class definition
[build]      void wakeup(void) override {};
[build]                        ^~~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:53:22: error: virt-specifiers in 'sleep' not allowed outside a class definition
[build]      void sleep(void) override {};
[build]                       ^~~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:55:69: error: virt-specifiers in 'getTouchRaw' not allowed outside a class definition
[build]      uint_fast8_t getTouchRaw(touch_point_t* tp, uint_fast8_t count) override;
[build]                                                                      ^~~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:57:3: error: expected unqualified-id before 'private'
[build]    private:
[build]    ^~~~~~~
[build] C:/Users/82432/Desktop/LGFX_Simulator_SDL/lib/LovyanGFX/src/lgfx/v1/touch/Touch_CST816S.hpp:74:1: error: expected declaration before '}' token
[build]  }
[build]  ^
[build] mingw32-make.exe[3]: *** [user\CMakeFiles\user.dir\build.make:91: user/CMakeFiles/user.dir/hal/hal.cpp.obj] Error 1
[build] mingw32-make.exe[3]: *** Waiting for unfinished jobs....
[build] mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:457: user/CMakeFiles/user.dir/all] Error 2
[build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:464: user/CMakeFiles/user.dir/rule] Error 2
[build] mingw32-make.exe: *** [Makefile:254: user] Error 2
[proc] 命令“C:\software\CMake\bin\cmake.EXE --build c:/Users/82432/Desktop/LGFX_Simulator_SDL/build --config MinSizeRel --target user -j 10 --”已退出，代码为 2
[driver] 生成完毕: 00:00:08.879
[build] 生成已完成，退出代码为 2

在app目录下缺少spdlog依赖，在安装后出现编译问题  QAQ
没找到APP_BASE的感觉
[ 29%] Built target lovyangfx
[ 55%] Built target smooth_ui_toolkit
[ 64%] Built target mooncake
[ 65%] Building CXX object CMakeFiles/app_layer.dir/app/app.cpp.o
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:12,
                 from /mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:12:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:23:9: error: expected class-name before ‘{’ token
   23 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:32:18: error: ‘void MOONCAKE::APPS::AppTemplate::onResume()’ marked ‘override’, but does not override
   32 |             void onResume() override;
      |                  ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:33:18: error: ‘void MOONCAKE::APPS::AppTemplate::onRunning()’ marked ‘override’, but does not override
   33 |             void onRunning() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:34:18: error: ‘void MOONCAKE::APPS::AppTemplate::onDestroy()’ marked ‘override’, but does not override
   34 |             void onDestroy() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:38:9: error: expected class-name before ‘{’ token
   38 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:39:25: error: ‘const char* MOONCAKE::APPS::AppTemplate_Packer::getAppName()’ marked ‘override’, but does not override
   39 |             const char* getAppName() override { return "AppTemplate"; }
      |                         ^~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:40:19: error: ‘void* MOONCAKE::APPS::AppTemplate_Packer::newApp()’ marked ‘override’, but does not override
   40 |             void* newApp() override { return new AppTemplate; }
      |                   ^~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:41:18: error: ‘void MOONCAKE::APPS::AppTemplate_Packer::deleteApp(void*)’ marked ‘override’, but does not override
   41 |             void deleteApp(void* app) override { delete (AppTemplate*)app; }
      |                  ^~~~~~~~~
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:13:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:23:9: error:expected class-name before ‘{’ token
   23 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:32:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest::onResume()’ marked ‘override’, but does not override
   32 |             void onResume() override;
      |                  ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:33:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest::onRunning()’ marked ‘override’, but does not override
   33 |             void onRunning() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:34:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest::onDestroy()’ marked ‘override’, but does not override
   34 |             void onDestroy() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:38:9: error:expected class-name before ‘{’ token
   38 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:39:25: error:
 ‘const char* MOONCAKE::APPS::AppEasingPathSimpleTest_Packer::getAppName()’ marked ‘override’, but does not override
   39 |             const char* getAppName() override { return "AppEasingPathSimpleTest"; }
      |                         ^~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:40:19: error:
 ‘void* MOONCAKE::APPS::AppEasingPathSimpleTest_Packer::newApp()’ marked ‘override’, but does not override
   40 |             void* newApp() override { return new AppEasingPathSimpleTest; }
      |                   ^~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:41:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest_Packer::deleteApp(void*)’ marked ‘override’, but does not override
   41 |             void deleteApp(void* app) override { delete (AppEasingPathSimpleTest*)app; }
      |                  ^~~~~~~~~
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:14:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:23:9: error: expected class-name before ‘{’ token
   23 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:32:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest::onResume()’ marked ‘override’, but does not override
   32 |             void onResume() override;
      |                  ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:33:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest::onRunning()’ marked ‘override’, but does not override
   33 |             void onRunning() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:34:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest::onDestroy()’ marked ‘override’, but does not override
   34 |             void onDestroy() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:38:9: error: expected class-name before ‘{’ token
   38 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:39:25: error: const char* MOONCAKE::APPS::AppTransitionSimpleTest_Packer::getAppName()’ marked ‘override’, but does not override
   39 |             const char* getAppName() override { return "AppTransitionSimpleTest"; }
      |                         ^~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:40:19: error: void* MOONCAKE::APPS::AppTransitionSimpleTest_Packer::newApp()’ marked ‘override’, but does not override
   40 |             void* newApp() override { return new AppTransitionSimpleTest; }
      |                   ^~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:41:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest_Packer::deleteApp(void*)’ marked ‘override’, but does not override
   41 |             void deleteApp(void* app) override { delete (AppTransitionSimpleTest*)app; }
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:22:13: error: variable or field ‘app_run_startup_anim’ declared void
   22 | inline void app_run_startup_anim(MOONCAKE::Mooncake* mooncake)
      |             ^~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:22:44: error: ‘Mooncake’ is not a member of ‘MOONCAKE’; did you mean ‘mooncake::Mooncake’?
   22 | inline void app_run_startup_anim(MOONCAKE::Mooncake* mooncake)
      |                                            ^~~~~~~~
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/app.h:12,
                 from /mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:11:
/mnt/d/code/smooth_ui_toolkit_simu-main/dependencies/mooncake/src/mooncake.h:23:7: note: ‘mooncake::Mooncake’ declared here
   23 | class Mooncake {
      |       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:22:62: error: expected primary-expression before ‘)’ token
   22 | inline void app_run_startup_anim(MOONCAKE::Mooncake* mooncake)
      |                                                              ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:43:13: error: variable or field ‘app_install_default_startup_ap’ declared void
   43 | inline void app_install_default_startup_app(MOONCAKE::Mooncake* mooncake)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:43:55: error: ‘Mooncake’ is not a member of ‘MOONCAKE’; did you mean ‘mooncake::Mooncake’?
   43 | inline void app_install_default_startup_app(MOONCAKE::Mooncake* mooncake)
      |                                                       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/dependencies/mooncake/src/mooncake.h:23:7: note: ‘mooncake::Mooncake’ declared here
   23 | class Mooncake {
      |       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:43:73: error: expected primary-expression before ‘)’ token
   43 | inline void app_install_default_startup_app(MOONCAKE::Mooncake* mooncake)
      |                                                                         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:59:13: error: variable or field ‘app_install_apps’ declared void
   59 | inline void app_install_apps(MOONCAKE::Mooncake* mooncake)
      |             ^~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:59:40: error: ‘Mooncake’ is not a member of ‘MOONCAKE’; did you mean ‘mooncake::Mooncake’?
   59 | inline void app_install_apps(MOONCAKE::Mooncake* mooncake)
      |                                        ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/dependencies/mooncake/src/mooncake.h:23:7: note: ‘mooncake::Mooncake’ declared here
   23 | class Mooncake {
      |       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:59:58: error: expected primary-expression before ‘)’ token
   59 | inline void app_install_apps(MOONCAKE::Mooncake* mooncake)
      |                                                          ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:20:8: error: ‘Mooncake’ does not name a type
   20 | static Mooncake* _mooncake = nullptr;
      |        ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp: In function ‘void APP::Setup(SetupCallback_t)’:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:59:5: error: ‘_mooncake’ was not declared in this scope; did you mean ‘mooncake’?
   59 |     _mooncake = new Mooncake;
      |     ^~~~~~~~~
      |     mooncake
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:59:21: error: ‘Mooncake’ does not name a type
   59 |     _mooncake = new Mooncake;
      |                     ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:62:5: error: ‘app_run_startup_anim’ was not declared in this scope
   62 |     app_run_startup_anim(_mooncake);
      |     ^~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:63:5: error: ‘app_install_default_startup_app’ was not declared in this scope
   63 |     app_install_default_startup_app(_mooncake);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:64:5: error: ‘app_install_apps’ was not declared in this scope
   64 |     app_install_apps(_mooncake);
      |     ^~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp: In function ‘void APP::Loop()’:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:69:5: error: ‘_mooncake’ was not declared in this scope; did you mean ‘mooncake’?
   69 |     _mooncake->update();
      |     ^~~~~~~~~
      |     mooncake
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp: In function ‘void APP::Destroy()’:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:75:12: error: ‘_mooncake’ was not declared in this scope; did you mean ‘mooncake’?
   75 |     delete _mooncake;
      |            ^~~~~~~~~
      |            mooncake
make[2]: *** [CMakeFiles/app_layer.dir/build.make:76: CMakeFiles/app_layer.dir/app/app.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:179: CMakeFiles/app_layer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

在app目录下缺少spdlog依赖，在安装后出现编译问题 QAQ 没找到APP_BASE的感觉
[ 29%] Built target lovyangfx
[ 55%] Built target smooth_ui_toolkit
[ 64%] Built target mooncake
[ 65%] Building CXX object CMakeFiles/app_layer.dir/app/app.cpp.o
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:12,
                 from /mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:12:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:23:9: error: expected class-name before ‘{’ token
   23 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:32:18: error: ‘void MOONCAKE::APPS::AppTemplate::onResume()’ marked ‘override’, but does not override
   32 |             void onResume() override;
      |                  ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:33:18: error: ‘void MOONCAKE::APPS::AppTemplate::onRunning()’ marked ‘override’, but does not override
   33 |             void onRunning() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:34:18: error: ‘void MOONCAKE::APPS::AppTemplate::onDestroy()’ marked ‘override’, but does not override
   34 |             void onDestroy() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:38:9: error: expected class-name before ‘{’ token
   38 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:39:25: error: ‘const char* MOONCAKE::APPS::AppTemplate_Packer::getAppName()’ marked ‘override’, but does not override
   39 |             const char* getAppName() override { return "AppTemplate"; }
      |                         ^~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:40:19: error: ‘void* MOONCAKE::APPS::AppTemplate_Packer::newApp()’ marked ‘override’, but does not override
   40 |             void* newApp() override { return new AppTemplate; }
      |                   ^~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_template/app_template.h:41:18: error: ‘void MOONCAKE::APPS::AppTemplate_Packer::deleteApp(void*)’ marked ‘override’, but does not override
   41 |             void deleteApp(void* app) override { delete (AppTemplate*)app; }
      |                  ^~~~~~~~~
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:13:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:23:9: error:expected class-name before ‘{’ token
   23 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:32:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest::onResume()’ marked ‘override’, but does not override
   32 |             void onResume() override;
      |                  ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:33:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest::onRunning()’ marked ‘override’, but does not override
   33 |             void onRunning() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:34:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest::onDestroy()’ marked ‘override’, but does not override
   34 |             void onDestroy() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:38:9: error:expected class-name before ‘{’ token
   38 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:39:25: error:
 ‘const char* MOONCAKE::APPS::AppEasingPathSimpleTest_Packer::getAppName()’ marked ‘override’, but does not override
   39 |             const char* getAppName() override { return "AppEasingPathSimpleTest"; }
      |                         ^~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:40:19: error:
 ‘void* MOONCAKE::APPS::AppEasingPathSimpleTest_Packer::newApp()’ marked ‘override’, but does not override
   40 |             void* newApp() override { return new AppEasingPathSimpleTest; }
      |                   ^~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_easing_path_simple_test/app_easing_path_simple_test.h:41:18: error:
 ‘void MOONCAKE::APPS::AppEasingPathSimpleTest_Packer::deleteApp(void*)’ marked ‘override’, but does not override
   41 |             void deleteApp(void* app) override { delete (AppEasingPathSimpleTest*)app; }
      |                  ^~~~~~~~~
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:14:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:23:9: error: expected class-name before ‘{’ token
   23 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:32:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest::onResume()’ marked ‘override’, but does not override
   32 |             void onResume() override;
      |                  ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:33:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest::onRunning()’ marked ‘override’, but does not override
   33 |             void onRunning() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:34:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest::onDestroy()’ marked ‘override’, but does not override
   34 |             void onDestroy() override;
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:38:9: error: expected class-name before ‘{’ token
   38 |         {
      |         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:39:25: error: const char* MOONCAKE::APPS::AppTransitionSimpleTest_Packer::getAppName()’ marked ‘override’, but does not override
   39 |             const char* getAppName() override { return "AppTransitionSimpleTest"; }
      |                         ^~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:40:19: error: void* MOONCAKE::APPS::AppTransitionSimpleTest_Packer::newApp()’ marked ‘override’, but does not override
   40 |             void* newApp() override { return new AppTransitionSimpleTest; }
      |                   ^~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/app_transition_simple_test/app_transition_simple_test.h:41:18: error: void MOONCAKE::APPS::AppTransitionSimpleTest_Packer::deleteApp(void*)’ marked ‘override’, but does not override
   41 |             void deleteApp(void* app) override { delete (AppTransitionSimpleTest*)app; }
      |                  ^~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:22:13: error: variable or field ‘app_run_startup_anim’ declared void
   22 | inline void app_run_startup_anim(MOONCAKE::Mooncake* mooncake)
      |             ^~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:22:44: error: ‘Mooncake’ is not a member of ‘MOONCAKE’; did you mean ‘mooncake::Mooncake’?
   22 | inline void app_run_startup_anim(MOONCAKE::Mooncake* mooncake)
      |                                            ^~~~~~~~
In file included from /mnt/d/code/smooth_ui_toolkit_simu-main/app/app.h:12,
                 from /mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:11:
/mnt/d/code/smooth_ui_toolkit_simu-main/dependencies/mooncake/src/mooncake.h:23:7: note: ‘mooncake::Mooncake’ declared here
   23 | class Mooncake {
      |       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:22:62: error: expected primary-expression before ‘)’ token
   22 | inline void app_run_startup_anim(MOONCAKE::Mooncake* mooncake)
      |                                                              ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:43:13: error: variable or field ‘app_install_default_startup_ap’ declared void
   43 | inline void app_install_default_startup_app(MOONCAKE::Mooncake* mooncake)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:43:55: error: ‘Mooncake’ is not a member of ‘MOONCAKE’; did you mean ‘mooncake::Mooncake’?
   43 | inline void app_install_default_startup_app(MOONCAKE::Mooncake* mooncake)
      |                                                       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/dependencies/mooncake/src/mooncake.h:23:7: note: ‘mooncake::Mooncake’ declared here
   23 | class Mooncake {
      |       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:43:73: error: expected primary-expression before ‘)’ token
   43 | inline void app_install_default_startup_app(MOONCAKE::Mooncake* mooncake)
      |                                                                         ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:59:13: error: variable or field ‘app_install_apps’ declared void
   59 | inline void app_install_apps(MOONCAKE::Mooncake* mooncake)
      |             ^~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:59:40: error: ‘Mooncake’ is not a member of ‘MOONCAKE’; did you mean ‘mooncake::Mooncake’?
   59 | inline void app_install_apps(MOONCAKE::Mooncake* mooncake)
      |                                        ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/dependencies/mooncake/src/mooncake.h:23:7: note: ‘mooncake::Mooncake’ declared here
   23 | class Mooncake {
      |       ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/apps/apps.h:59:58: error: expected primary-expression before ‘)’ token
   59 | inline void app_install_apps(MOONCAKE::Mooncake* mooncake)
      |                                                          ^
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:20:8: error: ‘Mooncake’ does not name a type
   20 | static Mooncake* _mooncake = nullptr;
      |        ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp: In function ‘void APP::Setup(SetupCallback_t)’:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:59:5: error: ‘_mooncake’ was not declared in this scope; did you mean ‘mooncake’?
   59 |     _mooncake = new Mooncake;
      |     ^~~~~~~~~
      |     mooncake
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:59:21: error: ‘Mooncake’ does not name a type
   59 |     _mooncake = new Mooncake;
      |                     ^~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:62:5: error: ‘app_run_startup_anim’ was not declared in this scope
   62 |     app_run_startup_anim(_mooncake);
      |     ^~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:63:5: error: ‘app_install_default_startup_app’ was not declared in this scope
   63 |     app_install_default_startup_app(_mooncake);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:64:5: error: ‘app_install_apps’ was not declared in this scope
   64 |     app_install_apps(_mooncake);
      |     ^~~~~~~~~~~~~~~~
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp: In function ‘void APP::Loop()’:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:69:5: error: ‘_mooncake’ was not declared in this scope; did you mean ‘mooncake’?
   69 |     _mooncake->update();
      |     ^~~~~~~~~
      |     mooncake
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp: In function ‘void APP::Destroy()’:
/mnt/d/code/smooth_ui_toolkit_simu-main/app/app.cpp:75:12: error: ‘_mooncake’ was not declared in this scope; did you mean ‘mooncake’?
   75 |     delete _mooncake;
      |            ^~~~~~~~~
      |            mooncake
make[2]: *** [CMakeFiles/app_layer.dir/build.make:76: CMakeFiles/app_layer.dir/app/app.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:179: CMakeFiles/app_layer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

2.0重构后还没更新这个仓，要不试试这个吧QAQ https://github.com/Forairaaaaa/Phoebe

菲比跑起来了 回口回！


Scripts not reloading in editor

Technically it makes a lot more sense to make this an issue in the Godot repo, but thought it'd be worth tracking here as well.
I found this issue as part of the Known Limitations while I was working on #22. I also wonder what the .gdnlib properties called load_once and reloadable have to do with this.
I figured out that the native GDScript solution has a method called reload that we just need to implement in the PluginScript class of the Godot repo (together with some additions to the language descriptors).
Once we have that we just need to make some functions in our language_gdnative.c and we're set!

I also wonder what the .gdnlib properties called load_once and reloadable have to do with this.

These are regarding the GDNative library loading/reloading and doesn't affect the PluginScript language.
load_once is a flag for the engine to load the shared library only once, regardless of how many scripts reference it.
reloadable marks that the GDNative Library can be recompiled and reloaded without restarting the editor. This is marked as false for Lua PluginScript because it is a singleton library and, as by the docs, singleton libraries cannot be reloadable.
I think what is missing for the editor to reload existing scripts reload_all_scripts / reload_tool_script, but I'm not really sure. Maybe there is something the plugin could do to reload stuff, but I haven't searched too much.

From what I've seen the reload_all_scripts and reload_tool_script only seem to be relevant in a DEBUG context.
I'm not sure if that's a distro flag that makes it into production versions of Godot. It seems to be a shorthand for debugging purposes that just calls reload on all those script instances.

It seems script reloading is supported both in the editor build (which cannot be release builds and have DEBUG_ENABLED) and debug builds, so that the remote debugger can reload them. I guess this is what is called in editor to reload everything, but I'm still not 100% sure.


Commit Proxy uses DB Config

Replaces uses of the encryption server knob with the db config for the commit proxy
Code-Reviewer Section
The general pull request guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.

[ ] The PR has a description, explaining both the problem and the solution.
[ ] The description mentions which forms of testing were done and the testing seems reasonable.
[ ] Every function/class/actor that was touched is reasonably well documented.

For Release-Branches
If this PR is made against a release-branch, please also check the following:

[ ] This change/bugfix is a cherry-pick from the next younger branch (younger release-branch or main if this is the youngest branch)
[ ] There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)

Close in favor of: https://github.com/apple/foundationdb/pull/8911/files


num_search_workers does not work on windows x64

The num_search_workers does not seem to work on Windows 10 x64.
When executing the solver with "num_search_workers:8" it will either run forever or it will return Infeasible.
Without this parameter the solver returns a feasible solution without problems.
I am using the latest version of or tools from nu-get.
Is this a known issue?
Thank you

Please write useful feedback.
Without a source code source or a protobuf output of the model, I cannot do anything.

Sorry. I will attempt to get the protobuf output. Cannot share the source unfortunately.

Dear Laurent
I exported the value of model.Model.ToString() (C#) here:
https://www.dropbox.com/s/c0qj7wn36xug55e/proto_1.txt?dl=0
Is this what you meant by "protobuf output of the model" ?
When solving this model with "num_search_workers:8" and with "max_time_in_seconds:240.0" then the solver does not stop after 240 seconds and just keeps running.
When solving this model only with "max_time_in_seconds:240.0" then the solver stops correctly after timeout and yields a feasible result.
Is this of value?
Thanks,
Adrian

Thanks. I will have a look.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 25 avr. 2019 à 22:46, adihe<EMAIL_ADDRESS>a écrit :

Dear Laurent
I exported the value of model.Model.ToString() (C#) here:
https://www.dropbox.com/s/c0qj7wn36xug55e/proto_1.txt?dl=0
Is this what you meant by "protobuf output of the model" ?
When solving this model with "num_search_workers:8" and with
"max_time_in_seconds:240.0" then the solver does not stop after 240 seconds
and just keeps running.
When solving this model only with "max_time_in_seconds:240.0" then the
solver stops correctly after timeout and yields a feasible result.
Is this of value?
Thanks,
Adrian
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1217#issuecomment-486831661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LFFBPQQHXXHQOGEKDPSIKCXANCNFSM4HINWGAA
.

OK,
it runs fine on master. I get a solution with value 638300 quite easily.
I believe that if you restrict to 6 threads (no LNS, it should be OK).
We will soon release 7.1 that corrects the problem.
Thanks for the report.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le ven. 26 avr. 2019 à 08:48, Laurent Perron<EMAIL_ADDRESS>a écrit :

Thanks. I will have a look.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68
53 00
Le jeu. 25 avr. 2019 à 22:46, adihe<EMAIL_ADDRESS>a écrit :

Dear Laurent
I exported the value of model.Model.ToString() (C#) here:
https://www.dropbox.com/s/c0qj7wn36xug55e/proto_1.txt?dl=0
Is this what you meant by "protobuf output of the model" ?
When solving this model with "num_search_workers:8" and with
"max_time_in_seconds:240.0" then the solver does not stop after 240 seconds
and just keeps running.
When solving this model only with "max_time_in_seconds:240.0" then the
solver stops correctly after timeout and yields a feasible result.
Is this of value?
Thanks,
Adrian
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1217#issuecomment-486831661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LFFBPQQHXXHQOGEKDPSIKCXANCNFSM4HINWGAA
.

Thank you. With 6 threads it works like a charm for now.
Once v7.1 is released I'll restest again with 8 threads.

Hi again
I can confirm that the issue is resolved with latest code from master.
Thanks


Sign .eth records and cnames

This PR signs .eth records and cnames. It seems that we don't sign these:
dig @<IP_ADDRESS> -p 5349 fuckingfucker.eth A +dnssec

also cnames aren't getting signed since the plugin only signs the lookup type rrset.

Also confirmed that the A record is signed by the HNS root zone (note key tag 60944)
;; ANSWER SECTION:
fuckingfucker.eth.      60000 IN A <IP_ADDRESS>
fuckingfucker.eth.      10800 IN RRSIG A 13 2 60000 (
<PHONE_NUMBER>3026<PHONE_NUMBER>3026 60944 .
                                w5SL5CGo5eeJWpu+t8pPlDXS6fUzZaJWmDrZR9boZcYO
                                p07D0KQvAVuRTrXfJBKLZZfFCXndBsAph+XFCVTR1w== )

;; ANSWER SECTION:
.                       10670 IN DNSKEY 257 3 13 (
                                T9cURJ2M/Mz9q6UsZNY+Ospyvj+Uv+tgrrWkLtPQwgU/
                                Xu5Yk0l02Sn5ua2xAQfEYIzRO6v5iA+BejMeEwNP4Q==
                                ) ; KSK; alg = ECDSAP256SHA256 ; key id = 35215
.                       10670 IN DNSKEY 256 3 13 (
                                I5nPs6clFa1gnwn9IpVDGdJLfEONzgD1NcfuEwEIVuIo
                                HdZGgvVblsLNbRO+spW3nQYHg92svhy1HOjTiFBIsQ==
                                ) ; ZSK; alg = ECDSAP256SHA256 ; key id = 60944


Preheat Error after deploy - undefined local variable or method `cfn' for #Jets::Preheat:

Checklist

[x] Upgrade Jets: Are you using the latest version of Jets? This allows Jets to fix issues fast. There's a jets upgrade command that makes this a simple task. There's also an Upgrading Guide: http://rubyonjets.com/docs/upgrading/
[x] Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you're unsure or want to ask a question, do so on https://community.boltops.com
[x] Code sample: Have you put together a code sample to reproduce the issue and make it available?  Code samples help speed up fixes dramatically. If it's an easily reproducible issue, then code samples are not needed. If you're unsure, please include a code sample.

My Environment

Software
Version

Operating System
public.ecr.aws/sam/build-ruby3.2:latest-arm64

Jets
4.0.1

Ruby
3.2

Expected Behavior
After upgrade to 4.0.1 from v3, I ran the jets deploy command and expected the deploy to finish successfully.
Current Behavior
After UPDATE_COMPLETE, An error occurred when starting Preheat Job.
Step-by-step reproduction instructions
10:57:37AM DELETE_IN_PROGRESS AWS::Lambda::LayerVersion GemLayer
10:57:37AM UPDATE_COMPLETE AWS::CloudFormation::Stack ApiGateway
10:57:38AM DELETE_COMPLETE AWS::Lambda::LayerVersion GemLayer
10:57:38AM UPDATE_COMPLETE AWS::CloudFormation::Stack ***********
Stack success status: UPDATE_COMPLETE
Time took: 1m 23s
Prewarming application.
/var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/preheat.rb:94:in `all_functions': undefined local variable or method `cfn' for #<Jets::Preheat:0x0000ffffa2bc0cf8 @options={:mute=>true, :mute_output=>true, :invocation_type=>"Event", :lambda_proxy=>false}> (NameError)

      parent_stack = cfn.describe_stack_resources(stack_name: Jets::Names.parent_stack_name)
                     ^^^
        from /var/lang/lib/ruby/gems/3.2.0/gems/memoist-0.16.2/lib/memoist.rb:169:in `all_functions'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/preheat.rb:32:in `warm_all'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/preheat.rb:15:in `warm_all'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/internal/app/jobs/jets/preheat_job.rb:51:in `warm'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/job/base.rb:31:in `perform_now'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/internal/app/jobs/jets/preheat_job.rb:59:in `prewarm!'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/cfn/ship.rb:108:in `prewarm'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/cfn/ship.rb:46:in `run'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/commands/deploy.rb:75:in `ship'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/commands/deploy.rb:36:in `run'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/commands/main.rb:27:in `deploy'
        from /var/lang/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/command.rb:27:in `run'
        from /var/lang/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command'
        from /var/lang/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/commands/base.rb:38:in `dispatch'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/commands/base.rb:27:in `perform'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/cli.rb:28:in `start'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/lib/jets/cli.rb:5:in `start'
        from /var/lang/lib/ruby/gems/3.2.0/gems/jets-4.0.1/exe/jets:14:in `<top (required)>'
        from /var/lang/bin/jets:25:in `load'
        from /var/lang/bin/jets:25:in `<main>'

Code Sample
nothing.
Solution Suggestion
nothing.

It looks like the fix for this is to add include Jets::AwsServices to the Preheat class in preheat.rb
Snippet
module Jets
  class Preheat
    extend Memoist
    include Jets::AwsServices              # This fixes the reference to cfn
...

@NacchaF Thanks for the report
@dmorehouse Thanks for debugging and figuring out the issue
Feel free to do the honors of sending a PR. Or anyone else for that matter. Of course, no sweat either way 👍

I'm verifying my fix works and if it does I'll send over a PR.

@tongueroo I appreciate you taking the time to share the diff with me. Unfortunately, that change is a beyond my current comfort level with this project. I'll leave this to you or another first timer in this project. Again thanks for all your time.

All good! Thanks!

@tongueroo I took another try using your suggestion and it still failed. Debugging it looks like the problem moves to preheat.rb all_functions which is returning a struct not a function name. I get this error
undefined method 'starts_with?' for #<struct Aws::CloudFormation::Types::StackResource stack_name="techbot-dev-JetsPublicController-62MKSS3H6CEM", ...
You can see my implementation here - https://github.com/dmorehouse/jets/tree/fix-prewarming
Here's the full stacktrace from the Lambda console
```gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/commands/call.rb:31:in run' from /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/preheat.rb:28:in warm'
from /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/preheat.rb:38:in block (2 levels) in warm_all' Calling warm for function: '#<struct Aws::CloudFormation::Types::StackResource stack_name="techbot-dev-JetsPublicController-62MKSS3H6CEM", stack_id="arn:aws:cloudformation:us-east-2:962773200528:stack/techbot-dev-JetsPublicController-62MKSS3H6CEM/2a40dc30-724f-11ed-89e4-0aef3ea0d208", logical_resource_id="ShowGetApiMethod", physical_resource_id="techb-ShowG-RFB23I5KXTZP", resource_type="AWS::ApiGateway::Method", timestamp=2023-07-28 21:18:42.986 UTC, resource_status="UPDATE_COMPLETE", resource_status_reason=nil, description=nil, drift_information=#<struct Aws::CloudFormation::Types::StackResourceDriftInformation stack_resource_drift_status="NOT_CHECKED", last_check_timestamp=nil>, module_info=nil>' #<Thread:0x00007fd747286d08 /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/preheat.rb:37 run> terminated with exception (report_on_exception is true): /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/commands/call.rb:20:in function_name': undefined method starts_with?' for #<struct Aws::CloudFormation::Types::StackResource stack_name="techbot-dev-JetsPublicController-62MKSS3H6CEM", stack_id="arn:aws:cloudformation:us-east-2:962773200528:stack/techbot-dev-JetsPublicController-62MKSS3H6CEM/2a40dc30-724f-11ed-89e4-0aef3ea0d208", logical_resource_id="ShowGetApiMethod", physical_resource_id="techb-ShowG-RFB23I5KXTZP", resource_type="AWS::ApiGateway::Method", timestamp=2023-07-28 21:18:42.986 UTC, resource_status="UPDATE_COMPLETE", resource_status_reason=nil, description=nil, drift_information=#<struct Aws::CloudFormation::Types::StackResourceDriftInformation stack_resource_drift_status="NOT_CHECKED", last_check_timestamp=nil>, module_info=nil> (NoMethodError) if @provided_function_name.starts_with?(Jets.config.project_namespace) ^^^^^^^^^^^^^ from /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/commands/call.rb:53:in remote_run'
from /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/commands/call.rb:31:in run' from /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/preheat.rb:28:in warm'
from /opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/preheat.rb:38:in block (2 levels) in warm_all' Critical exception from handler {   "errorMessage": "undefined method starts_with?' for #<struct Aws::CloudFormation::Types::StackResource stack_name="techbot-dev-JetsPublicController-62MKSS3H6CEM", stack_id="arn:aws:cloudformation:us-east-2:962773200528:stack/techbot-dev-JetsPublicController-62MKSS3H6CEM/2a40dc30-724f-11ed-89e4-0aef3ea0d208", logical_resource_id="CatchallShowAnyApiMethod", physical_resource_id="techb-Catch-SN2HLNOGS9NU", resource_type="AWS::ApiGateway::Method", timestamp=2023-07-28 21:18:42.925 UTC, resource_status="UPDATE_COMPLETE", resource_status_reason=nil, description=nil, drift_information=#<struct Aws::CloudFormation::Types::StackResourceDriftInformation stack_resource_drift_status="NOT_CHECKED", last_check_timestamp=nil>, module_info=nil>",
"errorType": "Function",
"stackTrace": [
"/opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/commands/call.rb:20:in function_name'",     "/opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/commands/call.rb:53:in remote_run'",
"/opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/commands/call.rb:31:in run'",     "/opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/preheat.rb:28:in warm'",
"/opt/ruby/gems/3.2.0/bundler/gems/jets-507332257644/lib/jets/preheat.rb:38:in `block (2 levels) in warm_all'"
]
}

@dmorehouse Thanks for the debugging and commits. Merged your branch into this #660 PR and fixed function_names call that was causing the error you posted above.


คอนเทนเนอร์-รีจิสเตอร์

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ce2b8b02-584a-d113-0ed4-d2c4821ba774
Version Independent ID: c3743237-6fcc-d649-2585-02522ec3132f
Content: Registry roles and permissions - Azure Container Registry
Content Source: articles/container-registry/container-registry-roles.md
Service: container-registry
GitHub Login: @dlepow
Microsoft Alias: tejaswikolli

@goitf Since this channel is for driving improvements towards MS Docs, could you provide the feedback specific to this documentation you intended to. That way, we are able to make sure your feedback is addressed by the right team.
Requesting you to please share your feedback in English language.

@goitf
We will now close this issue. You can either open a new issue by providing Feedback directly on the document or you can tag me in the comment with the actual feedback so that we can reopen this issue.


Arithmetic overflow found while fuzzing

I let this fuzzer run for a while (> 250k iterations), and it discovered:

thread '<unnamed>' panicked at 'attempt to add with overflow'
[…]
jpeg_decoder::huffman::derive_huffman_codes in src/huffman.rs:277

You can find the full log as well as the used input here: https://gist.github.com/killercup/d836f174582ee5d90403e9920d893be2

Thanks for fuzzing and reporting, I'll take a look at it over the weekend.


chore: switch valid-local-dependency tests to not rely on file system casing

Fixes #60.
The problem was the invalid cases weren't giving errors when the resolved path differed from file system casing. Requested paths like .../Valid-local-dependency were passing when the file case on system was .../valid-local-dependency. I played a bit with adding explicit logic to check for case sensitivity but:

That can get complicated
Not all operating systems are case sensitive by default

...so this instead switches the tests to use paths that differ in more than just casing.

Thank you for doing this!


Add initial config files for single site

Add configuration for running single wordpress site.
Closes #1
Signed-off-by: Mriyam Tamuli<EMAIL_ADDRESS>

Will add tests for this so don't merge yet.


[fixed #142]catch java exception in c++

Changelog category (leave one):

Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
related to issue #142

Information about CI checks: https://clickhouse.tech/docs/en/development/continuous-integration/

Can one of the admins verify this patch?

Can one of the admins verify this patch?

test this please

test this please


Low,Mid & High

hello kamilsss655,
When I change the power in memory mode, when I do PTT it changes to the power that was recorded... is that really the case? or is it a bug?
Compliments
Matoz
I personally really like your Spectrum with the memory scan... ;)

Yep looks like a bug.
If you change the power, it will returns to the original value as soon as you press PTT

OK in V.15, V.16, V.16.2.
With 16.3 the bug is caused.

change the power and go to Menu 17 and save the cannel again.
This will set and keep the all the settings.

Looks like the value is not store into memory.
See also #39

Solved !


Signed Headers not honored

If I specify Signed Headers with an exact list of what I want the plugin is till adding other x-amx-* that is sees. Even if I want to exclude some headers they are still added.
I tried specifying the headers I wanted in the SigV4 burp tab UI under Signed Headers (Specify comma-separated...) with no change.
I want to exclude some x-amz- headers but cannot with Sigv4.

There is no functionality in this extension to exclude any headers from the signature. The UI only allows you to add headers in addition to the ones chosen here:
https://github.com/anvilventures/aws-sigv4/blob/314d40a1ebbb4e7af3ed9dbb8837ad04d1c4c23c/src/main/java/burp/BurpExtender.java#L1396
You can try modifying the code to remove headers but the AWS SDK may complain since it has a say on which headers are required and will add it's own. You can try that here: https://github.com/anvilventures/aws-sigv4/blob/314d40a1ebbb4e7af3ed9dbb8837ad04d1c4c23c/src/main/java/burp/BurpExtender.java#L1473
If you want more control over which headers to sign, you might try using this old branch which computes the signature without the AWS SDK and allows more control. Using this would still require modification for adding the ability to exclude headers.
https://github.com/anvilventures/aws-sigv4/tree/legacy.
In the future it might be nice to add a feature to select between the AWS SDK signer and a custom signer which gives the user more control over the signed headers.

Also, you might just try using Burp's builtin proxy settings under Proxy -> Options -> Match and Replace to remove unwanted headers.


Fixes deserialization of the VC request

The VC was deserialized expecting an URL-encoded value, instead of a base-64 encoded one.

[X] I've added a unit test to test for potential regressions of this bug.
[x] The changelog has been updated, if applicable.
[X] Commits in this PR are minimal and have descriptive commit messages.

@ThisIsMissEm no, this is purely internal really, this redirection-based flow is not something relying on a defined spec, which is why the query params managements has been absorbed in the API functions: devs should not have to meddle with these parameters manually if we can avoid it.


BUG?

https://github.com/kevinzakka/recurrent-visual-attention/blob/master/model.py#L110
This line should be deleted? Because log_pi is a vector of length (B,) in the last line, we dont need sum by dim=1

You have B values each with 2 values (x, y). Read the comments, it explains why we sum along the dimension 1.


Add compatibility with more versions of oauth1-client

@shadowhand perhaps this should use ^ instead, based on https://getcomposer.org/doc/articles/versions.md#caret

Perfect!


Optional params in schema are required in class creation.

First off great library and it makes some of the worst problems with Zod go away!  Being able to add methods to a validator is fantastic.  The bug / feature that I am running into is there any way to make the optional handlers make the class creation play nice?
// Some file.ts in typescript
class drat extends Z.class({
  name: z.string().optional(),
}) {}

const ab = {};
new drat(ab);

Argument of type '{}' is not assignable to parameter of type '{ name: string; }'.
  Property 'name' is missing in type '{}' but required in type '{ name: string; }'.ts(2345)

We can always get around it by just change the params to an any and then letting the validation logic handle anything illegal but it would be nice if optional was optional.

I'm surprised that doesn't work. I'll take a look tonight, but I thought that was working. There's no explicit test to check optional though. Thanks for reporting.

Thanks for making this! I was creating some really ugly duplicate classes without it :).  Having a class that does validation on create is fantastic!

 I'll try and squeeze out a fix later today :)

Should be fixed in 0.0.13 - LMK if you run into trouble and thanks for reporting!

Seems to work out ok on TS compile now!  The VSCode side of things is being dumb on the definition when it tries to "help" but runtime is fine.  Thanks a lot :)
const optionalEnum = z.enum(['a', 'b']);
const schema = z.object({
  varOptional: z.string().optional(),
  e: optionalEnum.optional(),
  arr: z.string().array().optional(),
});
export class TestClass extends Z.class({
  ...schema._def.shape(),
}) {}
new TestClass({});

Try passing the attributes directly
class MySchema extends Z.class({
  varOptional: z.string().optional(),
  e: optionalEnum.optional(),
  arr: z.string().array().optional(),
}) {}


Can someone explain the comment on this line?

https://github.com/facebookresearch/deit/blob/8ab59156f435cc7be62791ed2edbc65553fc665f/main.py#L423

Hi @HashmatShadab,
Thanks for your question,
In order to reproduce the results you should have train_mode=True except to reproduce the deit finetuning results.
Best,
Hugo

So for deit finetuning , if we set the mode to eval, what parameters are we updating then?

All the parameters eval mode does not affect the update of the model weights

Yes, that's right

Thanks!


Let's talk about nearest_branch selection for rebase

The rebase dashboard preselects a good base candidate automatically. The implementation is imo flawed. Let's look at it.
For the simple case:

A: The feature branch I just pushed here is still on top of dev, and nearest_branch suggest dev 👍
nearest_branch: found 1 relatives: ['dev']
nearest_branch: Found best candidate dev

Let's look at this. colorize-paths is a PR which is already behind dev. follow-paths-upwards is an upcoming PR derived from the 'colorize' feat.

B: If I check out 'colorize' nearest_branch fails 😮 and falls back to the 'upstream' fork/colorize-paths-in-graph-view, which is a no-op because 'local' and 'remote' are synced. (Without an 'upstream' it would fallback to 'master'!)
nearest_branch: found 1 relatives: ['dev']
nearest_branch: No valid nearest found. Possibly on a root / detached branch!

C: If I checkout follow-paths-upwards, it selects colorize-paths. 👍
nearest_branch: found 2 relatives: ['colorize-paths-in-graph-view', 'dev']
nearest_branch: Found best candidate colorize-paths-in-graph-view

What are good candidates for rebasing?
First, 'dev' is always a good candidate here ('dev' would be ' master' in other repos).
For B: You have options:

'dev', the branch you originally started your feat which moved along. E.g. you need to rebase on 'master' because of merge conflicts.

the actual merge-base, t.i. the commit you forked originally. E.g. you re-arrange the PR but don't want to resolve possible merge conflicts, you want to stay in the feat branch.

the upstream if available, t.i. the commit you already pushed. If you rebase from upstream you don't have to force-push afterwards, it's safe.

Since we currently don't offer candidates to the user but just select one good candidate, should we just go cheap and take the first relative found.  Are there known cases we do want to handle differently?
The main bug was imo introduced here 2dcc3aacb5057a552f78259f47fa6810820b18e1 with switching from --no-merged to --merged. --merged wasn't correct either bc it breaks C. (For C --merged would select 'dev'.) Imo we don't want neither, just omit this arg. But then the check git branch --contains <common> cannot fail so we could omit altogether. (We know that the sha is in relative bc we have it from its log.)
WDYT 🤷♀

That also doesn’t work for me most of the time. I use a setting (forget the name now, on mobile) to fix the target branch.

Yeah, the setting is rebase_default_base_ref but it takes precedence t.i. it is static!

You could specify it in project setting https://github.com/divmain/GitSavvy/blob/master/docs/README.md#editing-settings

Implemented and merged into dev. Works fine so far. Way better than before at least.


fix:do not delete redis keys of schedule completely

@AnthonyMBonafide please see comments in prior related PR when reviewing this one.  https://github.com/edgexfoundry/edgex-go/pull/2254

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0f0daf3). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2258   +/-   ##
=========================================
  Coverage          ?   37.76%
=========================================
  Files             ?      147
  Lines             ?    12558
  Branches          ?        0
=========================================
  Hits              ?     4743
  Misses            ?     7566
  Partials          ?      249

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f0daf3...9f6c062. Read the comment docs.

I also verified that these changes work when rebased with the latest changes from master, the tip of master at the point of testing was 45301cbd-7057-4974-9f38-7d0e356fed3f. It is safe to update branch from that point.

recheck

recheck

recheck