OpenStudioApplication
OpenStudioApplication copied to clipboard
Build with Clang on Windows
Is this ready for review? Looks like the clang MSVC runner failed. There are conflicts too apparently.
No I didn't get this working yet, looks like I can't convert to draft PR because of the conflict
Building Custom Rule D:/a/OpenStudioApplication/OpenStudioApplication/ruby/CMakeLists.txt
lld-link : error : undefined symbol: __declspec(dllimport) int `public: static class Singleton<class openstudio::IddFactorySingleton>::IddFactorySingleton & __cdecl openstudio::Singleton<class openstudio::IddFactorySingleton>::instance(void)'::`2'::$TSS0 [D:\a\OpenStudioApplication\OpenStudioApplication\build\ruby\openstudio_modeleditor_rb.vcxproj]
>>> referenced by openstudio_modeleditor.lib(InspectorDialog.obj):(private: void __cdecl InspectorDialog::init(class InspectorDialogClient))
>>> referenced by openstudio_modeleditor.lib(InspectorDialog.obj):(private: void __cdecl InspectorDialog::init(class InspectorDialogClient))
>>> referenced by openstudio_modeleditor.lib(InspectorDialog.obj):(private: void __cdecl InspectorDialog::init(class InspectorDialogClient))
>>> referenced 6 more times
lld-link : error : undefined symbol: __declspec(dllimport) int `public: static class Singleton<class openstudio::LoggerSingleton>::LoggerSingleton & __cdecl openstudio::Singleton<class openstudio::LoggerSingleton>::instance(void)'::`2'::$TSS0 [D:\a\OpenStudioApplication\OpenStudioApplication\build\ruby\openstudio_modeleditor_rb.vcxproj]
>>> referenced by openstudio_modeleditor.lib(InspectorDialog.obj):(void __cdecl boost::assertion_failed(char const *, char const *, char const *, long))
>>> referenced by openstudio_modeleditor.lib(InspectorDialog.obj):(void __cdecl boost::assertion_failed(char const *, char const *, char const *, long))
>>> referenced by openstudio_modeleditor.lib(InspectorDialog.obj):(int `void __cdecl boost::assertion_failed(char const *, char const *, char const *, long)'::`1'::dtor$58)
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved
maybe need a UTILITIES_API on https://github.com/NREL/OpenStudio/blob/73c67b3969ab4963ecfacc735040d2b6dc99c931/src/utilities/core/Singleton.hpp#L40?
@macumber FYI I had to force push and it was refusing to merge properly (shorthand MERGE_HEAD not found or whatever)