3 Replies Latest reply on Aug 31, 2018 9:01 AM by Intel Corporation

    librealsense-master 2.16 >> Build on visual studio 2015 fails

    metanamo

      Hello,

      maybe someone has a solution.
      I've cmake the realsense package and wanted to build the solution on visual studio 2015.
      In version 2.13 it was fine...somehow.

      But now on 2.16 I get these errors.

      Thanks for any help on this.

       

       

      Severity    Code    Description    Project    File    Line    Suppression State

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    C2064    term does not evaluate to a function taking 1 arguments    rs-imshow    C:\local\librealsense-master\wrappers\opencv\imshow\rs-imshow.cpp    24   

      Error    C2064    term does not evaluate to a function taking 1 arguments    rs-grabcuts    C:\local\librealsense-master\wrappers\opencv\grabcuts\rs-grabcuts.cpp    60   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133   

      Error    MSB3073    The command "setlocal

      "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake

      if %errorlevel% neq 0 goto :cmEnd

      :cmEnd

      endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

      :cmErrorLevel

      exit /b %1

      :cmDone

      if %errorlevel% neq 0 goto :VCEnd

      :VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets    133