You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Performing Test SMTG_USE_STDATOMIC_H
-- Performing Test SMTG_USE_STDATOMIC_H - Failed
CMake Error at E:/VST_SDK/vst3helloworld/build/_deps/vst3sdk-src/vstgui4/vstgui/standalone/cmake/mod
ules/vstgui_add_executable.cmake:46 (target_link_libraries):
Cannot specify link libraries for target "VST3Inspector" which is not built
by this project.
Call Stack (most recent call first):
E:/VST_SDK/vst3helloworld/build/_deps/vst3sdk-src/public.sdk/samples/vst-hosting/inspectorapp/CMak
eLists.txt:49 (vstgui_add_executable)
CMakeErrorLog.txt contains the following:
Performing C++ SOURCE FILE Test SMTG_USE_STDATOMIC_H failed with the following output:
Change Dir: E:/VST_SDK/vst3helloworld/build/CMakeFiles/CMakeScratch/TryCompile-9jn9jm
Run Build Command(s):C:/msys64/mingw64/bin/ninja.exe cmTC_3b9c6 && [1/2] Building CXX object CMakeFiles/cmTC_3b9c6.dir/src.cxx.obj
FAILED: CMakeFiles/cmTC_3b9c6.dir/src.cxx.obj
C:\msys64\mingw64\bin\c++.exe -DSMTG_USE_STDATOMIC_H -Wno-multichar -o CMakeFiles/cmTC_3b9c6.dir/src.cxx.obj -c E:/VST_SDK/vst3helloworld/build/CMakeFiles/CMakeScratch/TryCompile-9jn9jm/src.cxx
E:/VST_SDK/vst3helloworld/build/CMakeFiles/CMakeScratch/TryCompile-9jn9jm/src.cxx: In function 'int main()':
E:/VST_SDK/vst3helloworld/build/CMakeFiles/CMakeScratch/TryCompile-9jn9jm/src.cxx:3:9: error: 'atomic_int_least32_t' was not declared in this scope
3 | atomic_int_least32_t value = 0;
| ^~~~~~~~~~~~~~~~~~~~
E:/VST_SDK/vst3helloworld/build/CMakeFiles/CMakeScratch/TryCompile-9jn9jm/src.cxx:4:28: error: 'value' was not declared in this scope
4 | atomic_fetch_add (&value, 1);
| ^~~~~
E:/VST_SDK/vst3helloworld/build/CMakeFiles/CMakeScratch/TryCompile-9jn9jm/src.cxx:4:9: error: 'atomic_fetch_add' was not declared in this scope
4 | atomic_fetch_add (&value, 1);
| ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
Source file was:
#include <stdatomic.h>
int main () {
atomic_int_least32_t value = 0;
atomic_fetch_add (&value, 1);
return 0;
}
I am on Windows 10 Home, executing the build command from MSYS2 MinGW x64. Some digging around shows that basically nothing from vstgui4 is building, which seems to be what is causing the fail.
The text was updated successfully, but these errors were encountered:
Presents an error as follows:
CMakeErrorLog.txt contains the following:
I am on Windows 10 Home, executing the build command from MSYS2 MinGW x64. Some digging around shows that basically nothing from vstgui4 is building, which seems to be what is causing the fail.
The text was updated successfully, but these errors were encountered: