[PyQt] pyqtdeploy - error on make - no 'io.h' or 'stdio.h'

Timothy W. Grove tim_grove at sil.org
Sun Jan 4 18:13:10 GMT 2015


I'm attempting to use pyqtdeploy to deploy a PyQt5.4, Python 3.4.2 
application on a 32-bit Windows 7 machine. Code generation succeeds as 
does qmake, but when running 'nmake' or 'jom' for the final make step I 
get an error and output which I've added below. Make seems to be looking 
for 'io.h' and 'stdio.h' which I don't believe exist on my machine. Has 
anyone else come across this problem. or even better, know of a 
solution? Thanks for your help.

Best regards,
Tim Grove

C:\Users\Timothy\pyqtdeploy\build>C:\Qt\Tools\QtCreator\bin\jom.exe

jom 1.0.14 - empower your cores

         C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release
         cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -W0 -GR -EHsc 
-DUNICODE -DWIN32
  -DPYQTDEPLOY_FROZEN_MAIN -DSQLITE_OMIT_LOAD_EXTENSION -DQT_NO_DEBUG 
-DQT_PRINTS
UPPORT_LIB -DQT_HELP_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB 
-DQT_MULT
IMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB 
-DQT_CORE
_LIB -DQT_TESTCASE_BUILDDIR=\"C:/Users/Timothy/pyqtdeploy/build\" 
-DNDEBUG -I"..
\..\..\..\Python34_src\Python-3.4.2\Modules\_sqlite" 
-I"..\..\..\..\Python34_src
\Python-3.4.2\Modules\_ctypes" -I"..\..\..\..\Python34\include" 
-I"..\..\..\..\P
ython34_src\Python-3.4.2\Modules" 
-I"..\..\..\..\Python34\Lib\site-packages\PyQt
5\include" 
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtPrintSupport" -I"C:\
Python34\Lib\site-packages\PyQt5\include\QtHelp" 
-I"C:\Python34\Lib\site-package
s\PyQt5\include\QtSvg" 
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtOpenGL"
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtWidgets" 
-I"C:\Python34\Lib\sit
e-packages\PyQt5\include\QtMultimedia" 
-I"C:\Python34\Lib\site-packages\PyQt5\in
clude\QtGui" -I"C:\Python34\Lib\site-packages\PyQt5\include\QtANGLE" 
-I"C:\Pytho
n34\Lib\site-packages\PyQt5\include\QtNetwork" 
-I"C:\Python34\Lib\site-packages\
PyQt5\include\QtSql" 
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtTest" -I"C
:\Python34\Lib\site-packages\PyQt5\include\QtCore" -I"release" 
-I"..\..\..\..\Py
thon34\Lib\site-packages\PyQt5\mkspecs\win32-msvc2010" -Forelease\ 
@C:\Users\Tim
othy\AppData\Local\Temp\pyqtdeploy_main.obj.44372.62.jom
pyqtdeploy_main.cpp
c:\python34\include\pyconfig.h(68) : fatal error C1083: Cannot open 
include file
: 'io.h': No such file or directory
pyqtdeploy_start.cpp
         cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -W0 -GR -EHsc 
-DUNICODE -DWIN32
  -DPYQTDEPLOY_FROZEN_MAIN -DSQLITE_OMIT_LOAD_EXTENSION -DQT_NO_DEBUG 
-DQT_PRINTS
UPPORT_LIB -DQT_HELP_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB 
-DQT_MULT
IMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB 
-DQT_CORE
_LIB -DQT_TESTCASE_BUILDDIR=\"C:/Users/Timothy/pyqtdeploy/build\" 
-DNDEBUG -I"..
\..\..\..\Python34_src\Python-3.4.2\Modules\_sqlite" 
-I"..\..\..\..\Python34_src
\Python-3.4.2\Modules\_ctypes" -I"..\..\..\..\Python34\include" 
-I"..\..\..\..\P
ython34_src\Python-3.4.2\Modules" 
-I"..\..\..\..\Python34\Lib\site-packages\PyQt
5\include" 
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtPrintSupport" -I"C:\
Python34\Lib\site-packages\PyQt5\include\QtHelp" 
-I"C:\Python34\Lib\site-package
s\PyQt5\include\QtSvg" 
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtOpenGL"
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtWidgets" 
-I"C:\Python34\Lib\sit
e-packages\PyQt5\include\QtMultimedia" 
-I"C:\Python34\Lib\site-packages\PyQt5\in
clude\QtGui" -I"C:\Python34\Lib\site-packages\PyQt5\include\QtANGLE" 
-I"C:\Pytho
n34\Lib\site-packages\PyQt5\include\QtNetwork" 
-I"C:\Python34\Lib\site-packages\
PyQt5\include\QtSql" 
-I"C:\Python34\Lib\site-packages\PyQt5\include\QtTest" -I"C
:\Python34\Lib\site-packages\PyQt5\include\QtCore" -I"release" 
-I"..\..\..\..\Py
thon34\Lib\site-packages\PyQt5\mkspecs\win32-msvc2010" -Forelease\ 
@C:\Users\Tim
othy\AppData\Local\Temp\pdytools_module.obj.44372.78.jom
pdytools_module.cpp
*c:\python34\include\pyconfig.h(68) : fatal error C1083: Cannot open 
include file**
**: 'io.h': No such file or directory**
**pyqtdeploy_start.cpp(27) : fatal error C1083: Cannot open include 
file: 'stdio.h**
**': No such file or directory*
Generating Code...
jom: C:\Users\Timothy\pyqtdeploy\build\Makefile.Release 
[release\pyqtdeploy_main
.obj] Error 2
jom: C:\Users\Timothy\pyqtdeploy\build\Makefile.Release 
[release\pdytools_module
.obj] Error 2
jom: C:\Users\Timothy\pyqtdeploy\build\Makefile [release] Error 2

C:\Users\Timothy\pyqtdeploy\build>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150104/6eab8659/attachment.html>


More information about the PyQt mailing list