Unresolved external symbol attempting to build 5.2
-
Seems to have worked for me to. +1 (if any).
On a partial side rant, why a dependency on python? I understand it's nice to use other tools when building but if I'm putting together a base system I now have to install both ActivePerl and Python. Not to mention if I check out from source instead of using a zip file I need git as well. Why not simplify and either build a small tool inside of Qt (similar to qmake) where it could do your scripted steps or just limit down to 1 language?
Thanks for the answer, you guys are a lifesaver!
-
@billconan and @gboulard
Thanks a bunch. I had the same issue where I had to install Python half way through nmake, but after re-running nmake it blew up way beyond in with this unrecognizable JSC::Yarr:: errors !!
Deleting RegExpJitTables.h and re-running nmake got me past this.
-
Hi,
This is the complete sequence to install QT on windows x64 bit with VS2015. Hope it will helpAdd license file to this location: %USERPROFILE%.qt-license
Open Visual Studio VS2015 Developer Native Command Prompt
Run command “D:\Qt\Qt5.5.0-VS2015\5.5\Src” to go to the qt folder
set QMAKESPEC=win32-msvc2015
set QTDIR=D:\Qt\Qt5.5.0-VS2015\5.5\Src
set PYTHONDIR=D:\Pulse\agents\work\DAILY_CVXIX_2016_x64_vs110\ix\Tools\Windows\python\Python2.7.1
set PATH=%QTDIR%\qtbase\bin;%PYTHONDIR%;%PATH%
set INCLUDE=%PYTHONDIR%;%INCLUDE%
cd %QTDIR%
Run command “configure -debug-and-release -platform win32-msvc2015 –prefix <location to install to>
Run command “nmake”
Run command “nmake install” -
Hello,
I tried with the lastest version pulled from git and deleting the file generated the following error
C:\Users\Lionel\AppData\Local\Microsoft\WindowsApps\python.exe C:/Dev/github/qt5/qt5/qtdeclarative/src/3rdparty/masm/yarr/create_regex_tables > .generated\debug\RegExpJitTables.h 'C:\Users\Lionel\AppData\Local\Microsoft\WindowsApps\python.exe' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\Users\Lionel\AppData\Local\Microsoft\WindowsApps\python.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\bin\HostX86\x86\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.
and python is properly installed
C:\Dev\github\qt5\qt5>python --version Python 2.7.18
The file is generated each time I call "nmake"
-
@LionelPeeters said in Unresolved external symbol attempting to build 5.2:
and python is properly installed
In which folder?
The first error clearly says that C:\Users\Lionel\AppData\Local\Microsoft\WindowsApps\python.exe is NOT recognised! -
@jsulm I'm having the same issue as @LionelPeeters. Can either of you comment on how to resolve this? I don't see why Jom would be looking for python in this WindowsApps path instead of the Python directory I added to my Path. There is no WindowsApps path in my Path environment variable. And I've already disabled the app execution aliases for python.