CMake Error at CMakeLists.txt:623 (list): list GET given empty list

Issue #593 new
Former user created an issue

Cross-compiling on Debian for Windows 10 using the Debian mingw-toolchain.

git clone --depth 1 https://bitbucket.org/multicoreware/x265_git
cd x265_git/build/linux

cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr/bin/" -DCMAKE_TOOLCHAIN_FILE=build.cmake ../../source

cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr/bin" \
-DENABLE_SHARED=OFF -DCMAKE_EXE_LINKER_FLAGS="-static" ../../source \
-DCMAKE_TOOLCHAIN_FILE="../msys/toolchain-x86_64-w64-mingw32.cmake"

make
make install

Unfortunately, I get the following error message:

-- Looking for strtok_r - found
CMake Error at CMakeLists.txt:623 (list):
  list GET given empty list


CMake Error at CMakeLists.txt:624 (list):
  list GET given empty list


-- Looking for include file getopt.h
-- Looking for include file getopt.h - found
-- Configuring incomplete, errors occurred!
See also "/mnt/data/share/internal/ffmpeg/sandbox_quick/win64/quick_install/x265_git/build/linux/CMakeFiles/CMakeOutput.log".
See also "/mnt/data/share/internal/ffmpeg/sandbox_quick/win64/quick_install/x265_git/build/linux/CMakeFiles/CMakeError.log".
+ make -j4
make: *** No targets specified and no makefile found.  Stop.
+ make -j4 install
make: *** No rule to make target 'install'.  Stop.

Any ideas?

Comments (0)

  1. Log in to comment