Qt 5.9.5 is installed. I have edited my Qt.bat file. I can configure a
Release build, but Debug still gives me this error:
C:\Program
Files\CMake\share\cmake-3.11\Modules\CMakeDetermineSystem.cmake:100:
error: Could not find toolchain file: build/mingw32.mingw.cmake
CMakeLists.txt:20 (project)
This is the relevant if() block in CMakeDetermineSystem.cmake, lines 97-102:
# if a toolchain file is used, the user wants to cross compile.
# in this case read the toolchain file and keep the CMAKE_HOST_SYSTEM_*
# variables around so they can be used in CMakeLists.txt.
# In all other cases, the host and target platform are the same.
if(CMAKE_TOOLCHAIN_FILE)
# at first try to load it as path relative to the directory from
which cmake has been run
include("${CMAKE_BINARY_DIR}/${CMAKE_TOOLCHAIN_FILE}" OPTIONAL
RESULT_VARIABLE _INCLUDED_TOOLCHAIN_FILE)
if(NOT _INCLUDED_TOOLCHAIN_FILE)
# if the file isn't found there, check the default locations
include("${CMAKE_TOOLCHAIN_FILE}" OPTIONAL RESULT_VARIABLE
_INCLUDED_TOOLCHAIN_FILE)
endif()
if(_INCLUDED_TOOLCHAIN_FILE)
set(CMAKE_TOOLCHAIN_FILE "${_INCLUDED_TOOLCHAIN_FILE}" CACHE
FILEPATH "The CMake toolchain file" FORCE)
else()
message(FATAL_ERROR "Could not find toolchain file:
${CMAKE_TOOLCHAIN_FILE}")
set(CMAKE_TOOLCHAIN_FILE "NOTFOUND" CACHE FILEPATH "The CMake
toolchain file" FORCE)
endif()
endif()
I am not proficient in CMake, and have not been able to see why this is
happening in Debug and not Release. AFAIK the only difference between
Release and Debug is the build vs. build.qtc directories.
The missing filename is suspicious too:mingw32.mingw.cmake
Thanks in advance for any insights.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer