-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Description
Did you test the latest bugfix-2.1.x
code?
Yes, and the problem still exists.
Bug Description
I get an error strlcpy
undefined.
in ini/native.ini -DHAS_LIBBSD
makes it so strlcpy
is not defined because of the #ifndef HAS_LIBBSD
directive. I dont know if this was a mistake and should be #ifdef
instead, but removing -DHAS_LIBBSD solves that issue.
however, the "SDL2" library is in 'Program Files' and not '**C:**', at least thats how it defaulted in my installation. but I did notice to install now it goes to C: for new installs for MSYS2 mingw64
I was able to circumvent this by copying the SDL2 directory into libdeps/simulator_windows/, or change it to "Program\ FIles" in the .ini
anyway I dont know but I used to be able to get the MarlinSimulator.exe running just fine, I have an older version of this that doesn't crash. but anytime I make a new one, it will load, and subsequently crash after like 3 seconds of being open. it actually closes instead of crashing.
Bug Timeline
Use strlcpy with buffer size (#26513)
Expected behavior
Actual behavior
MarlinSimulator_Crashes-pt1.zip
MarlinSimulator_Crashes-pt2.zip
(extract -pt2 first)
Steps to Reproduce
- Take a Config example, like CrealityUI for Ender3-V2
- I used
DWIN_LCD_PROUI
- To create your own MarlinSimulator, start by changing in Configuration.h MOTHERBOARD to BOARD_SIMULATED, also disable
ENDSTOP_INTERRUPTS_FEATURE
- In platformio.ini default_envs = change to simulator_windows.
Version of Marlin Firmware
bugfix-2.1.x
Printer model
Voxelab Aquila
Electronics
No response
LCD/Controller
No response
Other add-ons
No response
Bed Leveling
MBL Manual Bed Leveling
Your Slicer
None
Host Software
None
Don't forget to include
- A ZIP file containing your
Configuration.h
andConfiguration_adv.h
.
Additional information & file uploads
No response