steinbergmedia / vst3sdk

VST 3 Plug-In SDK
Other
1.59k stars 162 forks source link

Error building sample helloworld project #59

Closed jean25marc closed 4 years ago

jean25marc commented 4 years ago

Hi,

I tried different ways to generate and build the helloworld sample project , but I didn' found the propper way to do it ...

I uses cmake gui to generate and compile here is the error:

` SMTG_PLUGIN_TARGET_PATH is set to : C:/Program Files (x86)/Common Files/VST3 SMTG_MYPLUGINS_SRC_PATH is set to : C:/VSTProjet/projet 1/my_plugins SMTG_PACKAGE_ICON_PATH is set to : C:/VSTProjet/projet 1/vst3sdk/doc/artwork/VST_Logo_Steinberg.ico Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363. CMake Error at CMakeLists.txt:15 (project): Failed to run MSBuild command:

C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe

to get the value of VCTargetsPath:

Microsoft (R) Build Engine version 16.3.2+e481bbf88 pour .NET Framework

Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.

La g‚n‚ration a d‚marr‚ 05/07/2020 22:03:26.

Projet "C:\VSTProjet\projet 1\build\CMakeFiles\3.18.0-rc3\VCTargetsPath.vcxproj" sur le noud 1 (cibles par d‚faut).

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\VSTProjet\projet 1\build\CMakeFiles\3.18.0-rc3\VCTargetsPath.vcxproj]

G‚n‚ration du projet "C:\VSTProjet\projet 1\build\CMakeFiles\3.18.0-rc3\VCTargetsPath.vcxproj" termin‚e (cibles par d‚faut) -- CHEC.

CHEC de la build.

"C:\VSTProjet\projet 1\build\CMakeFiles\3.18.0-rc3\VCTargetsPath.vcxproj" (cible par d‚faut) (1) ->

(_CheckForInvalidConfigurationAndPlatform cible) -> 

  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\VSTProjet\projet 1\build\CMakeFiles\3.18.0-rc3\VCTargetsPath.vcxproj]

    0 Avertissement(s)

    1 Erreur(s)

Temps ‚coul‚ 00:00:00.33

Exit code: 1

Configuring incomplete, errors occurred! See also "C:/VSTProjet/projet 1/build/CMakeFiles/CMakeOutput.log". ` Here my configuration where I don't see what I should change ? Capture

regards

jean25marc commented 4 years ago

Ok I probably had something missing somewhere but I dont know what exactly ...now everything works fine.