Skip to content
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

Problem with Build of downloaded Open Source Prusa firmware. #4660

Closed
RogerInHawaii opened this issue Apr 14, 2024 · 5 comments
Closed

Problem with Build of downloaded Open Source Prusa firmware. #4660

RogerInHawaii opened this issue Apr 14, 2024 · 5 comments
Labels

Comments

@RogerInHawaii
Copy link

I'm attempting to download from GitHub the Open Source code for the Prusa firmware, for use on Windows and using Microsoft Visual Studio.

I'm following the section of the README file that's for Windows.

I've got the latest Visual Studio program, have added the CMake Tools plugin, added Python, and Git Bash (although that seems to get installed as Git CMD.

I'm able to bring the Prusa Firmware up in Visual Studio and have run the

python .\utils\bootstrap.py

to download all dependencies required to build the firmware and I do indeed see a .dependencies folder in the Prusa-Firmware folder.

So far so good.

I'm at the point in t he instruction where it's for Building. And it says . . .

"To start building a firmware, click the CMake Tools plugin icon on the far left side. You will get a very large list of targets to build. Find the firmware you'd like to build (like MK3S_ENGLISH) and select the small icon which shows "Build" when hovered over."

Well, there's nothing on the left side of the Visual Studio application window.

On the RIGHT side there is the Solution Explorer with a CMake Targets View.

See the attached image file.

But there's nothing like MK3S_ENGLISH and nothing gets a "Build" option when I hover over it.

So, what do I have to do to actually do a build to create the firmware that can subsequently be loaded into my Prusa MK3?
CMake Targets

@gudnimg
Copy link
Collaborator

gudnimg commented Apr 14, 2024

The README is using Visual Studio Code, not Visual Studio. The user interface should look like this
image

@RogerInHawaii
Copy link
Author

OK, I have never heard of VSCode in my entire career as a software engineer. I've used Visual Studio for decades. Doing a search now I see that VSCode is a basically a "lightweight" version of Visual Studio, which would SEEM to indicate that Visual Studio can also be used in my project, instead of VSCode.

I surely don't want to have to now acquire and learn VSCode, first, in order to proceed with my project.

Is there something comparable in Visual Studio that I can select in order to do the appropriate build of the Prusa Firmware so that it can be then loaded into and run on my Prusa MK3?

@gudnimg
Copy link
Collaborator

gudnimg commented Apr 14, 2024

I havent used Visual Studio in a while, especially not with CMake. I suspect the configuration files are not compatible with Visual Studio: https://github.com/prusa3d/Prusa-Firmware/tree/MK3/.vscode the .vscode directory is used by Visual Studio Code and the CMake Tools plugin.

@dameningen4914
Copy link

@3d-gussner
Copy link
Collaborator

Closing due to lack of interaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants