Skip to content

[win] Fix testRooFitHS3 linker error on Windows#22760

Merged
guitargeek merged 2 commits into
root-project:masterfrom
bellenot:fix-testRooFitHS3
Jul 7, 2026
Merged

[win] Fix testRooFitHS3 linker error on Windows#22760
guitargeek merged 2 commits into
root-project:masterfrom
bellenot:fix-testRooFitHS3

Conversation

@bellenot

@bellenot bellenot commented Jul 6, 2026

Copy link
Copy Markdown
Member

Fix the following linker error on Windows:
testRooFitHS3.obj : error LNK2001: unresolved external symbol "public: static bool RooJSONFactoryWSTool::importNoDomainParametersAsRooConstVars" (?importNoDomainParametersAsRooConstVars@RooJSONFactoryWSTool@@2_NA)

Fix the following linker error on Windows:
testRooFitHS3.obj : error LNK2001: unresolved external symbol "public: static bool RooJSONFactoryWSTool::importNoDomainParametersAsRooConstVars" (?importNoDomainParametersAsRooConstVars@RooJSONFactoryWSTool@@2_NA)
@bellenot bellenot self-assigned this Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 3240fd8.

♻️ This comment has been updated with latest results.

@guitargeek guitargeek added in:RooFit pr:emergency🚨 This PR is fixing breakage, it's urgent and may overtake others labels Jul 7, 2026
This avoids bolerplate code with getters and setters for each static
configuration variable.
@guitargeek guitargeek force-pushed the fix-testRooFitHS3 branch from b3492e9 to 3240fd8 Compare July 7, 2026 06:24

@guitargeek guitargeek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for spotting this problem! I refactored the fix to require less boilerplate code, and now this is good to go.

@guitargeek

Copy link
Copy Markdown
Contributor

Compile step on Windows succeeded, which was the success criterion for this PR.

@guitargeek guitargeek merged commit 7e39bbf into root-project:master Jul 7, 2026
39 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:RooFit pr:emergency🚨 This PR is fixing breakage, it's urgent and may overtake others

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants