Marlin Firmware Simulator

  Рет қаралды 1,567

ZeKitez

ZeKitez

Күн бұрын

Пікірлер: 17
@SamuelFonseca393
@SamuelFonseca393 Жыл бұрын
Serve pra criar projetos e depois usar em uma impressora 3D real, é isso?
@zekitez4310
@zekitez4310 Жыл бұрын
También puede usarlo para obtener información sobre Marlin y Gcodes, para probar sus cambios en la configuración de Marlin *.h (limitado: no todo es compatible), incluso cambiar el código de Marlin, o lo que desee. Acabo de modificar a Marlin para que haga la prueba de velocidad de Benchy con el simulador, consulta kzbin.info/www/bejne/j6jGoGRvl86fjNU ...
@zekitez4310
@zekitez4310 Жыл бұрын
kzbin.info/www/bejne/mZ6ph4SQjZlni68
@zekitez4310
@zekitez4310 Жыл бұрын
kzbin.info/www/bejne/mZ6ph4SQjZlni68
@usej76
@usej76 7 ай бұрын
Please help me! I'm getting a lot of errors while compiling, this is the terminal: PS C:\Users\User1\Documents\MarlinSimulatorFW\Marlin-bugfix-2.1.x> platformio run --silent -e simulator_windows In file included from Marlin\src\lcd/../libs/buzzer.h:28, from Marlin\src\lcd/marlinui.h:27, from Marlin\src\MarlinCore.cpp:64: Marlin\src\lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\lcd/../libs/circularqueue.h:54:24: note: remove the '< >' (And a lot of similar warnings) In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.cpp:6: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib124\MarlinSimUI\MarlinSimulator\application.o] Error 1 In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\main.cpp:4: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib124\MarlinSimUI\MarlinSimulator\main.o] Error 1 ================================================================================================== [FAILED] Took 96.13 seconds ================================================================================================== Environment Status Duration ----------------- -------- ------------ simulator_windows FAILED 00:01:36.129 ============================================================================================= 1 failed, 0 succeeded in 00:01:36.129 ============================================================================================= PS C:\Users\User1\Documents\MarlinSimulatorFW\Marlin-bugfix-2.1.x> echo "done" >"C:\Users\User1\AppData\Local\Temp\ipc" PS C:\Users\User1\Documents\MarlinSimulatorFW\Marlin-bugfix-2.1.x> C:\msys64\mingw64\bin Edit: github.com/MarlinFirmware/Marlin/issues/27091
@zekitez4310
@zekitez4310 7 ай бұрын
Did you try the configuration.h and configuration_adv.h as published on www.zekitez.com/marlin/simulator.html ? I assume the problems are in features disabled or enabled in these configuration files. It might be a good idea to compare the files from my site with your files with WinMerge. In addition I see you use a bugfix version and I did not. You could send me your files but currently I have only a Linux laptop with me so it may work on Linux but not on your windows. It may take several days before I have the time....
@usej76
@usej76 7 ай бұрын
The simulator example configuration in bugfix-2.1.x was the same as you mentioned, also i followed everything that you said in your website, so i don't actually know what is the problem. (I also tested the same marlin version that was in the video, it still fails.)
@usej76
@usej76 7 ай бұрын
Using Marlin 2.1.2.1 with your configuration files: PS C:\Users\user1\Documents\MarlinSimulatorFW\Marlin-2.1.2.1> platformio run --silent -e simulator_windows In file included from Marlin\src\feature\password\../../lcd/../libs/buzzer.h:28, from Marlin\src\feature\password\../../lcd/marlinui.h:27, from Marlin\src\feature\password\password.h:24, from Marlin\src\feature\password\password.cpp:27: Marlin\src\feature\password\../../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\feature\password\../../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from Marlin\src\lcd/../libs/buzzer.h:28, from Marlin\src\lcd/marlinui.h:27, from Marlin\src\MarlinCore.cpp:61: Marlin\src\lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from Marlin\src\feature\../lcd/../libs/buzzer.h:28, from Marlin\src\feature\../lcd/marlinui.h:27, from Marlin\src\feature\cancel_object.cpp:29: Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from Marlin\src\feature\../lcd/../libs/buzzer.h:28, from Marlin\src\feature\../lcd/marlinui.h:27, from Marlin\src\feature\pause.cpp:67: Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' (And again a lot of warnings like these) from Marlin\src\sd\../lcd/marlinui.h:27, from Marlin\src\sd\cardreader.cpp:33: Marlin\src\sd\../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\sd\../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.cpp:6: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib939\MarlinSimUI\MarlinSimulator\application.o] Error 1 In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\main.cpp:4: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib939\MarlinSimUI\MarlinSimulator\main.o] Error 1 ================================================================================================= [FAILED] Took 103.84 seconds ================================================================================================= Environment Status Duration ----------------- -------- ------------ simulator_windows FAILED 00:01:43.838 ============================================================================================= 1 failed, 0 succeeded in 00:01:43.838 ============================================================================================= PS C:\Users\user1\Documents\MarlinSimulatorFW\Marlin-2.1.2.1> echo "done" >"C:\Users\user1\AppData\Local\Temp\ipc" PS C:\Users\user1\Documents\MarlinSimulatorFW\Marlin-2.1.2.1>
@zekitez4310
@zekitez4310 7 ай бұрын
Currently I am traveling and I have only access to a Linux laptop... Not Windows. That makes helping difficult if not impossible. I assume its in the MSYS2 environment, the pacman command failed partially or the paths. See native.ini . I had a problem, on Linux, with /usr/include/glm/glm.hpp but it disappeared after an update to the latest version of VSC (1.89.1) and PlatformIO (3.3.3). I suggest you mail me at gmail because KZbin is not the platform for exchanging information.
@usej76
@usej76 7 ай бұрын
Thank you for helping me, but i already fixed it by adding a command to native.ini
@miprova6179
@miprova6179 Жыл бұрын
😀👍
@haroldv730
@haroldv730 Жыл бұрын
Promo'SM 💞
Creating a custom GCODE command - Extending Marlin Firmware
22:39
Marlin Custom Menus - Make Tool Swapping Easier - Chris's Basement
23:41
Marlin firmware explained: What it is and how to use it
10:32
Teaching Tech
Рет қаралды 106 М.
Flax Engine: UI Basics
18:51
DarthHawk Gaming
Рет қаралды 252
Marlin Firmware - VScode PlatformIO Install - Build Basics
27:51
Ed's 3d Tech
Рет қаралды 22 М.
MARLIN - Essential Guide To Start Editing Your Own FIRMWARE
23:07