dev_driver_tools
dev_driver_tools copied to clipboard
prebuild.sh failure
The instruction in README.md (https://github.com/GPUOpen-Tools/DevDriverTools/blob/master/README.md) does not tell how to solve this build error when invoking prebuild.sh, as a result, it fails to build when following instructions through: "To build on Linux (command line)":
root@test-system:/git.co/DevDriverToolsBuild/build/linux# ./prebuild.sh git version 2.11.0
Fetching dependencies from: https://github.com/GPUOpen-Tools/ - using branch: master
Checking out commit: master for common-lib-amd-ADL.git Directory /git.co/Common/Lib/AMD/ADL does not exist. Using 'git clone' to get latest from https://github.com/GPUOpen-Tools/common-lib-amd-ADL.git Cloning into '/git.co/Common/Lib/AMD/ADL'... remote: Enumerating objects: 28, done. remote: Total 28 (delta 0), reused 0 (delta 0), pack-reused 28 Unpacking objects: 100% (28/28), done. Already on 'master' Your branch is up-to-date with 'origin/master'.
Checking out commit: 98855c857a8af01ebc2501ffd3a1747aac279db2 for QtCommon Directory /git.co/QtCommon does not exist. Using 'git clone' to get latest from https://github.com/GPUOpen-Tools/QtCommon Cloning into '/git.co/QtCommon'... remote: Enumerating objects: 115, done. remote: Total 115 (delta 0), reused 0 (delta 0), pack-reused 115 Receiving objects: 100% (115/115), 79.07 KiB | 0 bytes/s, done. Resolving deltas: 100% (39/39), done. Note: checking out '98855c857a8af01ebc2501ffd3a1747aac279db2'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 98855c8... Fix compile warnings /git.co/DevDriverToolsBuild/build/linux/Make/Release /git.co/DevDriverToolsBuild/build/linux -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /git.co/QtCommon/Scaling/CMakeLists.txt:29 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one.
Could not find a package configuration file provided by "Qt5" with any of the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred! See also "/git.co/DevDriverToolsBuild/build/linux/Make/Release/CMakeFiles/CMakeOutput.log". root@cst-p520-2:/git.co/DevDriverToolsBuild/build/linux# cd ..