steinbergmedia / vst3_example_plugin_hello_world Goto Github PK
View Code? Open in Web Editor NEWHello World VST 3 example plug-in
Home Page: https://www.steinberg.net
Hello World VST 3 example plug-in
Home Page: https://www.steinberg.net
Presents an error as follows:
-- 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.