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

Broken C# bindings workflow #5290

Closed
jmarrec opened this issue Nov 6, 2024 · 0 comments · Fixed by #5291
Closed

Broken C# bindings workflow #5290

jmarrec opened this issue Nov 6, 2024 · 0 comments · Fixed by #5291

Comments

@jmarrec
Copy link
Collaborator

jmarrec commented Nov 6, 2024

Issue overview

Alfalfa adding a duplicate symbol due to the use of ComponentType. I suggest renaming it to AlfalfaComponentType or something.

https://github.com/NREL/OpenStudio/actions/runs/11677150396/job/32514562483#step:5:2580

Also need to update the macos runner os, the 11 was removed (and macos-12 will be removed in december 2024)

  duplicate symbol '_CSharp_OpenStudio_ComponentType_LessThanEqual' in:
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/utilities/csharp_OpenStudioUtilitiesData_wrap.cxx.o
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/alfalfa/csharp_OpenStudioAlfalfa_wrap.cxx.o
  duplicate symbol '_CSharp_OpenStudio_ComponentType_LessThan' in:
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/utilities/csharp_OpenStudioUtilitiesData_wrap.cxx.o
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/alfalfa/csharp_OpenStudioAlfalfa_wrap.cxx.o
  duplicate symbol '_CSharp_OpenStudio_ComponentType___str__' in:
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/utilities/csharp_OpenStudioUtilitiesData_wrap.cxx.o
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/alfalfa/csharp_OpenStudioAlfalfa_wrap.cxx.o
  duplicate symbol '_CSharp_OpenStudio_delete_ComponentType' in:
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/utilities/csharp_OpenStudioUtilitiesData_wrap.cxx.o
      /Users/runner/work/OpenStudio/OpenStudio/build/csharp/CMakeFiles/openstudio_csharp.dir/__/src/alfalfa/csharp_OpenStudioAlfalfa_wrap.cxx.o

@kbenne @TShapinsky

OPENSTUDIO_ENUM(ComponentType, ((Actuator))((Constant))((Meter))((OutputVariable))((GlobalVariable)))

OPENSTUDIO_ENUM(ComponentType,
((Heating))
((Cooling))
((Both))
((None))
);

@jmarrec jmarrec added Triage Issue needs to be assessed and labeled, further information on reported might be needed Developer Issue component - C# and removed Triage Issue needs to be assessed and labeled, further information on reported might be needed labels Nov 6, 2024
@jmarrec jmarrec added this to the OpenStudio SDK 3.9.0 milestone Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant