'PERL_EXECUTABLE-NOTFOUND' is not recognized as an internal or external command, operable program or batch file

Viewed 408

While trying to compile amazon-kinesis-video-streams-producer-sdk-cpp-repo I am getting an error 'PERL_EXECUTABLE-NOTFOUND' is not recognized as an internal or external command, operable program or batch file. I find this error strange and cannot find any solution online. I have installed ActivePerl and I am using Windows 10. I have added the following paths(where ActivePerl is installed) to environment variables also:

C:\Users\amay\AppData\Local\activestate\bin    
C:\Users\amay\AppData\Local\activestate\bin\perl.exe
C:\Users\amay\AppData\Roaming\ActiveState\bin

If I run perl -v on cmd it works fine so I am assuming the paths are not the issue here. I am running this command: cmake .. -G "NMake Makefiles" -DBUILD_GSTREAMER_PLUGIN=ON on x64 Native Tools Command Prompt VS 2017.

Here is the error:

[ 67%] Linking C executable lib1518.exe
[ 67%] Built target lib1518
Scanning dependencies of target lib1520
[ 67%] Building C object tests/libtest/CMakeFiles/lib1520.dir/lib1520.c.obj
cl : Command line warning D9025 : overriding '/MDd' with '/MTd'
lib1520.c
[ 67%] Building C object tests/libtest/CMakeFiles/lib1520.dir/first.c.obj
cl : Command line warning D9025 : overriding '/MDd' with '/MTd'
first.c
[ 67%] Linking C executable lib1520.exe
[ 67%] Built target lib1520
[ 67%] Generating lib1521.c
'PERL_EXECUTABLE-NOTFOUND' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'PERL_EXECUTABLE-NOTFOUND' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
CMake Error at dependency/libkvscproducer/kvscproducer-src/CMake/Utilities.cmake:93 (message):
  CMake step for libcurl failed: 2
Call Stack (most recent call first):
  dependency/libkvscproducer/kvscproducer-src/CMakeLists.txt:86 (build_dependency)


-- Configuring incomplete, errors occurred!
See also "C:/Users/amay/amazon-kinesis-video-streams-producer-sdk-cpp/build/CMakeFiles/CMakeOutput.log".
0 Answers
Related