Hello
this is the first time I am trying to create an VST.
I am trying to build an empty codeblocks project compiled with mingw, but I am not able to create it with VST3 project generator. The output is this:
C:\Program Files\CMake\bin\cmake.exe C:\Librerias\SDKs\VST_SDK\VST3_Project_Generator\Windows\Resources\GenerateVST3Plugin.cmake -DSMTG_VST3_SDK_SOURCE_DIR_CLI="C:/Librerias/SDKs/VST_SDK/VST3_SDK" -DSMTG_GENERATOR_OUTPUT_DIRECTORY_CLI="C:/Librerias/SDKs/VST_SDK/my_plugins/Strange" -DSMTG_PLUGIN_NAME_CLI="Strange" -DSMTG_PLUGIN_CATEGORY_CLI="Fx" -DSMTG_CMAKE_PROJECT_NAME_CLI="Strange" -DSMTG_PLUGIN_BUNDLE_NAME_CLI="Strange" -DSMTG_PLUGIN_IDENTIFIER_CLI="Foolish" -DSMTG_VENDOR_NAME_CLI="Foolish Instruments" -DSMTG_VENDOR_HOMEPAGE_CLI="foolishinstruments.com" -DSMTG_VENDOR_EMAIL_CLI="rubenmedrano@gmail.com" -DSMTG_PREFIX_FOR_FILENAMES_CLI="" -DSMTG_PLUGIN_CLASS_NAME_CLI="Strange" -DSMTG_ENABLE_VSTGUI_SUPPORT_CLI=ON -P "C:\Librerias\SDKs\VST_SDK\VST3_Project_Generator\Windows\Resources\GenerateVST3Plugin.cmake"
==================================================
Steinberg Media Technologies GmbH
VST3 Project Generator
==================================================
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- SMTG_CMAKE_SCRIPT_DIR : C:/Librerias/SDKs/VST_SDK/VST3_Project_Generator/Windows/Resources
-- SMTG_ENABLE_VSTGUI_SUPPORT : ON
-- SMTG_GENERATOR_OUTPUT_DIRECTORY : C:/Librerias/SDKs/VST_SDK/my_plugins/Strange
-- SMTG_TEMPLATE_FILES_PATH : C:/Librerias/SDKs/VST_SDK/VST3_Project_Generator/Windows/Resources/cmake/templates
-- SMTG_VST3_SDK_SOURCE_DIR : C:/Librerias/SDKs/VST_SDK/VST3_SDK
-- SMTG_VENDOR_NAME :
-- SMTG_VENDOR_HOMEPAGE :
-- SMTG_VENDOR_EMAIL :
-- SMTG_SOURCE_COPYRIGHT_HEADER:
-- SMTG_PLUGIN_NAME : Strange
-- SMTG_PREFIX_FOR_FILENAMES : e.g. myplugincontroller.h
-- SMTG_PLUGIN_IDENTIFIER : Foolish, used e.g. in Info.plist
-- SMTG_PLUGIN_BUNDLE_NAME : Strange
-- SMTG_CMAKE_PROJECT_NAME : e.g. Strange will output Strange.vst3
-- SMTG_VENDOR_NAMESPACE : e.g. namespace MyCompanyName {...}
-- SMTG_PLUGIN_CLASS_NAME : e.g. class StrangeProcessor : public AudioEffect {...}
-- SMTG_PLUGIN_CATEGORY : Fx
-- SMTG_Processor_UUID : 0x50BB1333, 0xDC6550C4, 0xBEA16182, 0x0ADC0DAC
-- SMTG_Controller_UUID : 0x79CB45DC, 0x5C185DC4, 0xB6833004, 0x9455CEE8
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/CMakeLists.txt
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/resource/Info.plist
-- Copied : C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/resource/50BB1333DC6550C4BEA161820ADC0DAC_snapshot.png
-- Copied : C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/resource/50BB1333DC6550C4BEA161820ADC0DAC_snapshot_2.0x.png
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/resource/myplugineditor.uidesc
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/resource/win32resource.rc
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/source/version.h
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/source/myplugincids.h
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/source/myplugincontroller.cpp
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/source/myplugincontroller.h
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/source/mypluginentry.cpp
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/source/mypluginprocessor.cpp
-- Configured: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/source/mypluginprocessor.h
C:\Program Files\CMake\bin\cmake.exe -G "CodeBlocks - MinGW Makefiles" -S "C:/Librerias/SDKs/VST_SDK/my_plugins/Strange\Strange" -B "C:/Librerias/SDKs/VST_SDK/my_plugins/Strange\Strange\build" -DSMTG_ADD_VSTGUI=ON
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/build/CMakeFiles/CMakeTmp
Run Build Command(s):C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe cmTC_3914f/fast && C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_3914f.dir\build.make CMakeFiles/cmTC_3914f.dir/build
mingw32-make.exe[1]: Entering directory 'C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3914f.dir/testCCompiler.c.obj
C:\PROGRA~2\CODEBL~1\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_3914f.dir\testCCompiler.c.obj -c C:\Librerias\SDKs\VST_SDK\my_plugins\Strange\Strange\build\CMakeFiles\CMakeTmp\testCCompiler.c
CMakeFiles\cmTC_3914f.dir\build.make:83: recipe for target 'CMakeFiles/cmTC_3914f.dir/testCCompiler.c.obj' failed
mingw32-make.exe[1]: *** [CMakeFiles/cmTC_3914f.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/build/CMakeFiles/CMakeTmp'
Makefile:139: recipe for target 'cmTC_3914f/fast' failed
mingw32-make.exe: *** [cmTC_3914f/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/build/CMakeFiles/CMakeOutput.log".
See also "C:/Librerias/SDKs/VST_SDK/my_plugins/Strange/Strange/build/CMakeFiles/CMakeError.log".