Build error 6.4 (configure)
-
@SGaist do you have a solution for this problem?
-
Please allow 24 hours to pass before bumping your own thread. This is a voluntary driven forum and people might not even live in the same time zone as you.
What command did you use to start the build ?
Also, are you doing an out of source build ? If not, start by doing that.
Next: where did you get the sources from ?
-
@SGaist said in Build error 6.4 (configure):
Please allow 24 hours to pass before bumping your own thread. This is a voluntary driven forum and people might not even live in the same time zone as you.
What command did you use to start the build ?
Also, are you doing an out of source build ? If not, start by doing that.
Next: where did you get the sources from ?git clone git://code.qt.io/qt/qt5.git qt6
git checkout 6.4
perl init-repository
mkdir build
cd build
../configure.bat -prefix E:/dev/qt6_install
7) I get error
-
Can you check for the presence of multiple Dialog_with_Buttons_Bottom.ui files ? I am wondering whether you might have casing issue.
On an unrelated note, did I see correctly that are you building for 32 bit ?
-
I run search with powershell (
Get-ChildItem -Path E:\dev\qt6\ -Filter Dialog_with_Buttons_Bottom.ui -Recurse -ErrorAction SilentlyContinue -Force
)Dir: E:\dev\qt6\qtbase\tests\auto\tools\uic\baseline Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 25.07.2022 20:40 1596 Dialog_with_Buttons_Bottom.ui Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 25.07.2022 20:40 1596 Dialog_with_Buttons_Bottom.ui Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\240x320 Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 25.07.2022 20:40 1488 Dialog_with_Buttons_Bottom.ui Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\320x240 Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 25.07.2022 20:40 1488 Dialog_with_Buttons_Bottom.ui Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\480x640 Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 25.07.2022 20:40 1488 Dialog_with_Buttons_Bottom.ui Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\640x480 Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 25.07.2022 20:40 1488 Dialog_with_Buttons_Bottom.ui
In general, I need x32, but I did not specify it anywhere, I think it builds for x64 by default
-
What kind of disk is your E drive ?
From what shell are you starting your build ? -
@continue98 said in Build error 6.4 (configure):
What kind of disk is your E drive ?
what do you mean?
What kind of medium is it ? Network drive, Internal, USB, etc ?
From what shell are you starting your build ?
powershell visual studio
Then use a normal shell, if memory serves well, you should have somewhere a set of links which opens a Visual Studio activated environment. If not, then do it manually.
-
What kind of medium is it ? Network drive, Internal, USB, etc ?
local hard drive (installed in my computer, not a network drive or flash drive)
Then use a normal shell, if memory serves well, you should have somewhere a set of links which opens a Visual Studio activated environment. If not, then do it manually.
Its normall shell... with settings for visual studio (just google about it), but still, for the sake of interest, I'll try to do it all through cmd
UPD: Nothing has changed through the command line (normal shell)
-
@continue98 said in Build error 6.4 (configure):
UPD: Nothing has changed through the command line (normal shell)
Delete your entire build directory and any CMake cache directories after switching to a cmd shell.
-
@continue98 said in Build error 6.4 (configure):
it still causes a problem
Same problem? Another one?
-
Can you show how you started and prepared your command line before building Qt ?
-
@SGaist said in Build error 6.4 (configure):
Can you show how you started and prepared your command line before building Qt ?
Just run this:
And run this command:
git clone git://code.qt.io/qt/qt5.git qt6
git checkout 6.4
perl init-repository
mkdir build
cd build
../configure.bat -prefix E:/dev/qt6_install
-
Can you just test if an x64 build works ?
-
i resolved this. Perhaps someone will be useful. I had cmake 3.24-rc4 and they broke something with it. Here is the link: https://gitlab.kitware.com/cmake/cmake/-/issues/23759
Rolled back cmake to 3.23.3, everything works fine
@SGaist thk for trying to help