-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] simulator not build on windows10 #22429
Comments
as note. same steps in WSL2(archlinux) the build is OK (but fails run about GL things) |
https:/p3p/Marlin/tree/pr_sim_win_fix is hacky but should fix the build for now as long as you set the sdl lib path to wherever yours is. There is still also an issue with sdl_net not being able to open a port for listening though which will stop the sim starting, you need to comment out also added a missing lib to the pacman example. There are probably more issues on Windows, the sim hasn't been getting used on it, just tried to stream a file for printing and nothing was sent to the serial port. |
thanks. now i can able to build the sim. greetings PS: is possible use pkgconfig for get the SDL include path instead hardcoded one? |
It looks like |
I posted a PR to the simulator repo to resolve the problem with net_serial.listen_on_port, and crashes which occurred when it failed. |
@sl1pkn07 with the latest updates to Marlin and MarlinSimulator this now builds and launches cleanly. I'm going to go ahead and close this, let us know if you still have trouble with it. |
@thinkyhead I also verified that your example in the Configs repo builds cleanly and can launch on Windows. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
simulator for windows(10) not build
Bug Timeline
new
Expected behavior
build ok
Actual behavior
fail build
Steps to Reproduce
1 -> download marlin souurces from git and checkout bugfix-2.0.x branch
2 -> set
default_envs = simulator_windows
in theplatformio.ini
3 -> set
BOARD_LINUX_RAMPS
incanfiguration.h
4 -> install msys2 and perform system upgrade. and install the simulator dependiences
4 -> run
pio run
Version of Marlin Firmware
git
Printer model
simulator
Electronics
simulator
Add-ons
none
Your Slicer
No response
Host Software
No response
Additional information & file uploads
Log Output
platformio.zip
The text was updated successfully, but these errors were encountered: