ffmpeg-kit icon indicating copy to clipboard operation
ffmpeg-kit copied to clipboard

CMakeLists.text error:

Open Ansh-Rathod opened this issue 1 year ago • 0 comments

Hi, there I have been simply building this android and got this error can you give a clue how to solve this error.

--------------

-- Building for: Visual Studio 17 2022
CMake Error at CMakeLists.txt:9 (project):
  Failed to run MSBuild command:

    C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/amd64/MSBuild.exe

  to get the value of VCTargetsPath:

    Microsoft (R) Build Engine version 17.2.1+52cd2da31 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Build started 06-08-2022 12:35:24.
    Project "C:\Users\HOME\Desktop\ffmpeg-kit\.tmp\cmake\build\android-arm\cpu-features\CMakeFiles\3.24.0\VCTargetsPath.vcxproj" on node 1 (default targets).
    C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(824,5): error : The BaseOutputPath/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='x64'.  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:\Users\HOME\Desktop\ffmpeg-kit\.tmp\cmake\build\android-arm\cpu-features\CMakeFiles\3.24.0\VCTargetsPath.vcxproj]
    Done Building Project "C:\Users\HOME\Desktop\ffmpeg-kit\.tmp\cmake\build\android-arm\cpu-features\CMakeFiles\3.24.0\VCTargetsPath.vcxproj" (default targets) -- FAILED.
    
    Build FAILED.
    
    "C:\Users\HOME\Desktop\ffmpeg-kit\.tmp\cmake\build\android-arm\cpu-features\CMakeFiles\3.24.0\VCTargetsPath.vcxproj" (default target) (1) ->
    (_CheckForInvalidConfigurationAndPlatform target) -> 
      C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(824,5): error : The BaseOutputPath/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='x64'.  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:\Users\HOME\Desktop\ffmpeg-kit\.tmp\cmake\build\android-arm\cpu-features\CMakeFiles\3.24.0\VCTargetsPath.vcxproj]
    
        0 Warning(s)
        1 Error(s)
    
    Time Elapsed 00:00:00.20
    

  Exit code: 1



-- Configuring incomplete, errors occurred!
See also "C:/Users/HOME/Desktop/ffmpeg-kit/.tmp/cmake/build/android-arm/cpu-features/CMakeFiles/CMakeOutput.log".


Ansh-Rathod avatar Aug 06 '22 07:08 Ansh-Rathod