Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile due to lack of ./src/LaunchyQt/src/PluginPy/Precompiled.h #130

Open
ajkessel opened this issue Aug 30, 2024 · 0 comments
Open

Comments

@ajkessel
Copy link

ajkessel commented Aug 30, 2024

Trying to build from source with Qt Creator, the process fails when it can't find ./src/LaunchyQt/src/PluginPy/Precompiled.h:

14:35:58: Running steps for project src...
14:35:58: Starting: "C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe" C:\apps\src\LaunchyQt\src\src.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
Info: creating stash file C:\apps\src\LaunchyQt\src\build\Desktop_x86_windows_msvc2022_pe_64bit-Release\.qmake.stash
14:35:58: The process "C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe" exited normally.
14:35:58: Starting: "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" -f C:/apps/src/LaunchyQt/src/build/Desktop_x86_windows_msvc2022_pe_64bit-Release/Makefile qmake_all

jom 1.1.4 - empower your cores

	cd LaunchyLib\ && C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\LaunchyLib\LaunchyLib.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
	cd LaunchyLib\ && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile qmake_all
	cd PluginPy\ && C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\PluginPy\PluginPy.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
WARNING: Failure to find: ExportPyPlugin.cpp
WARNING: Failure to find: Precompiled.h
WARNING: Failure to find: ExportPy.h
WARNING: Failure to find: ExportPyPlugin.cpp
WARNING: Failure to find: Precompiled.h
WARNING: Failure to find: ExportPy.h
	cd PluginPy\ && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile qmake_all
	cd Launchy\ && C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\Launchy\Launchy.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
Project MESSAGE: The pri file has been moved one directory up! use that one instead
Project MESSAGE: The pri file has been moved one directory up! use that one instead
Project MESSAGE: The pri file has been moved one directory up! use that one instead
	cd Launchy\ && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile qmake_all
	cd Plugins\Verby\ && C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\Plugins\Verby\Verby.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
	cd Plugins\Verby\ && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile qmake_all
	cd Plugins\Tasky\ && C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\Plugins\Tasky\Tasky.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
	cd Plugins\Tasky\ && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile qmake_all
	cd Plugins\Runner\ && C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\Plugins\Runner\Runner.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
	cd Plugins\Runner\ && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile qmake_all
	cd Plugins\UWPApp\ && C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\Plugins\UWPApp\UWPApp.pro -spec win32-msvc "CONFIG+=qtquickcompiler"
	cd Plugins\UWPApp\ && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile qmake_all
14:36:06: The process "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" exited normally.
14:36:06: Starting: "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" 
	cd LaunchyLib\ && ( if not exist Makefile C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\LaunchyLib\LaunchyLib.pro -spec win32-msvc "CONFIG+=qtquickcompiler" ) && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile
	C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release
	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DLAUNCHY_LIB -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_WINDLL -I..\..\..\LaunchyLib -I. -IC:\Qt\5.15.2\msvc2015_64\include -IC:\Qt\5.15.2\msvc2015_64\include\QtGui -IC:\Qt\5.15.2\msvc2015_64\include\QtANGLE -IC:\Qt\5.15.2\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt\5.15.2\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\avk\AppData\Local\Temp\CatalogItem.obj.17220.16.jom
CatalogItem.cpp
	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DLAUNCHY_LIB -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_WINDLL -I..\..\..\LaunchyLib -I. -IC:\Qt\5.15.2\msvc2015_64\include -IC:\Qt\5.15.2\msvc2015_64\include\QtGui -IC:\Qt\5.15.2\msvc2015_64\include\QtANGLE -IC:\Qt\5.15.2\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt\5.15.2\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\avk\AppData\Local\Temp\UnicodeTable.obj.17220.156.jom
UnicodeTable.cpp
	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DLAUNCHY_LIB -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_WINDLL -I..\..\..\LaunchyLib -I. -IC:\Qt\5.15.2\msvc2015_64\include -IC:\Qt\5.15.2\msvc2015_64\include\QtGui -IC:\Qt\5.15.2\msvc2015_64\include\QtANGLE -IC:\Qt\5.15.2\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt\5.15.2\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\avk\AppData\Local\Temp\PluginInterface.obj.17220.94.jom
PluginInterface.cpp
	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DLAUNCHY_LIB -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_WINDLL -I..\..\..\LaunchyLib -I. -IC:\Qt\5.15.2\msvc2015_64\include -IC:\Qt\5.15.2\msvc2015_64\include\QtGui -IC:\Qt\5.15.2\msvc2015_64\include\QtANGLE -IC:\Qt\5.15.2\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt\5.15.2\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\avk\AppData\Local\Temp\InputData.obj.17220.47.jom
InputData.cpp
	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DLAUNCHY_LIB -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_WINDLL -I..\..\..\LaunchyLib -I. -IC:\Qt\5.15.2\msvc2015_64\include -IC:\Qt\5.15.2\msvc2015_64\include\QtGui -IC:\Qt\5.15.2\msvc2015_64\include\QtANGLE -IC:\Qt\5.15.2\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt\5.15.2\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\avk\AppData\Local\Temp\LaunchyLib.obj.17220.78.jom
LaunchyLib.cpp
	cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DLAUNCHY_LIB -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_WINDLL -I..\..\..\LaunchyLib -I. -IC:\Qt\5.15.2\msvc2015_64\include -IC:\Qt\5.15.2\msvc2015_64\include\QtGui -IC:\Qt\5.15.2\msvc2015_64\include\QtANGLE -IC:\Qt\5.15.2\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt\5.15.2\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\avk\AppData\Local\Temp\PluginInfo.obj.17220.125.jom
PluginInfo.cpp
	link /NOLOGO /DYNAMICBASE /NXCOMPAT /OPT:REF /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /MANIFEST:embed /OUT:..\release\Launchy.dll @C:\Users\avk\AppData\Local\Temp\Launchy.dll.17220.1172.jom
   Creating library ..\release\Launchy.lib and object ..\release\Launchy.exp
	cd PluginPy\ && ( if not exist Makefile C:\Qt\5.15.2\msvc2015_64\bin\qmake.exe -o Makefile C:\apps\src\LaunchyQt\src\PluginPy\PluginPy.pro -spec win32-msvc "CONFIG+=qtquickcompiler" ) && C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile
	C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release
Error: dependent 'Precompiled.h' does not exist.
jom: C:\apps\src\LaunchyQt\src\build\Desktop_x86_windows_msvc2022_pe_64bit-Release\PluginPy\Makefile [release] Error 2
jom: C:\apps\src\LaunchyQt\src\build\Desktop_x86_windows_msvc2022_pe_64bit-Release\Makefile [sub-PluginPy-make_first-ordered] Error 2
14:36:08: The process "C:\Qt\Tools\QtCreator\bin\jom\jom.exe" exited with code 2.
Error while building/deploying project src (kit: Desktop (x86-windows-msvc2022-pe-64bit))
When executing step "Make"
14:36:08: Elapsed time: 00:10.

Even if you remove the precompile directive there, it still fails to build because it can't find ExportPyPlugin.cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant