> On Jan 4, 2018, at 9:19 AM, Willem Ferguson <[email protected]> > wrote: > > On 04/01/2018 18:15, Dirk Hohndel wrote: >> cmake caches the Qt paths. >> So please remove your build directories and invoke scripts/build.sh like >> this: >> >> (assuming that you are in the src directory) >> >> rm -rf subsurface/build subsurface/build-mobile >> CMAKE_PREFIX_PATH=$(pwd)/Qt/5.10.0/clang_64/lib/cmake >> ./subsurface/scripts/build.sh >> >> This should get the script to pick up Qt5.10 and set up the paths correctly >> >> /D >> > It looks like it is not successful. below is some rudimentary information > that may give a pointer towards what the problem may be?
Yes, you have a gcc_64 instead of a clang_64 directory. I don't think I need to understand why that's the case... So try this: CMAKE_PREFIX_PATH=$(pwd)/Qt/5.10.0/gcc_64/lib/cmake ./subsurface/scripts/build.sh > ./subsurface/scripts/build.sh: line 447: > /home/willem/src/Qt/5.10.0/clang_64/lib/cmake/../../bin/qmake: No such file > or directory > ./subsurface/scripts/build.sh: line 448: > /home/willem/src/Qt/5.10.0/clang_64/lib/cmake/../../bin/qmake: No such file > or directory > mv: cannot move 'Makefile' to 'Makefile.bak': Permission denied > ./subsurface/scripts/build.sh: line 453: Makefile: Permission denied Umm. That sounds like you ran the build as root at some point? Please don't do that. Ever. /D _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
