-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Milestone
Description
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
OpenStudio/src/alfalfa/ComponentBase.hpp
Line 15 in cc1e0bb
| OPENSTUDIO_ENUM(ComponentType, ((Actuator))((Constant))((Meter))((OutputVariable))((GlobalVariable))) |
OpenStudio/src/utilities/data/DataEnums.hpp
Lines 280 to 285 in cc1e0bb
| OPENSTUDIO_ENUM(ComponentType, | |
| ((Heating)) | |
| ((Cooling)) | |
| ((Both)) | |
| ((None)) | |
| ); |