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

feat: allow windows to build with either visual studio 2022 or visual studio 2019 #74

Merged

Conversation

hansieodendaal
Copy link
Contributor

@hansieodendaal hansieodendaal commented Nov 13, 2024

Description

The build will now use either Visual Studio 17 2022 or Visual Studio 16 2019, whichever environment is sourced. It is still up to the user to start a Visual Studio Developer command prompt and build from there.

Motivation and Context

The build was failing with newly created build environments, as Visual Studio 16 2019 is only available to prior Visual Studio subscribers.

XMRig now supports Visual Studio 17 2022 as well.
image

How Has This Been Tested?

It was built using both platforms.

What process can a PR reviewer use to test or verify this change?

Code review
Run the build

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

Will work on either `Visual Studio 17 2022` or `Visual Studio 16 2019`
Copy link
Contributor

@leet4tari leet4tari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basic testing, works in CI build test matrix.

@SWvheerden SWvheerden merged commit 56b408d into tari-project:development Nov 13, 2024
7 checks passed
@hansieodendaal hansieodendaal deleted the ho_fix_windows_build branch November 13, 2024 15:25
@brianp
Copy link
Contributor

brianp commented Nov 13, 2024

Tested on my windows machine with VS 2022 and it compiles fine 👍🏻

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

Successfully merging this pull request may close these issues.

4 participants