[Qgis-developer] Building QGIS master on Windows

Frits van Veen fritsvanveen at ziggo.nl
Tue Oct 18 04:47:23 PDT 2016


I'm having trouble running a self built QGIS 2.99 from Visual Studio 2015. In
QgsPythonUtilsImpl::initPython I get an exception when running the line:
runString( "qgis.utils.initInterface(" + QString::number(( unsigned long )
interface ) + ')' );
Debug output:
D:\QGIS\Fork\Source\src\app\qgisapp.cpp(8731) : (QgisApp::loadPythonSupport)
[1ms] load library qgispython (2.99.0)
'qgis.exe' (Win32): Loaded
'D:\QGIS\Fork\Build\output\bin\RelWithDebInfo\qgispython.dll'. Symbols
loaded.
'qgis.exe' (Win32): Loaded 'C:\Python35\python35.dll'. Symbols loaded.
'qgis.exe' (Win32): Loaded 'C:\Python35\python3.dll'. Cannot find or open
the PDB file.
'qgis.exe' (Win32): Loaded 'C:\Python35\Lib\site-packages\sip.pyd'. Module
was built without symbols.
'qgis.exe' (Win32): Loaded 'C:\Python35\Lib\site-packages\PyQt5\QtCore.pyd'.
Module was built without symbols.
'qgis.exe' (Win32): Loaded 'C:\Python35\Lib\site-packages\PyQt5\QtGui.pyd'.
Module was built without symbols.
'qgis.exe' (Win32): Loaded
'D:\QGIS\Fork\Build\output\python\qgis\_core.pyd'. Symbols loaded.
'qgis.exe' (Win32): Loaded
'C:\Python35\Lib\site-packages\PyQt5\QtWidgets.pyd'. Module was built
without symbols.
'qgis.exe' (Win32): Loaded
'C:\Python35\Lib\site-packages\PyQt5\QtPrintSupport.pyd'. Module was built
without symbols.
'qgis.exe' (Win32): Loaded 'C:\Python35\Lib\site-packages\PyQt5\QtSql.pyd'.
Module was built without symbols.
'qgis.exe' (Win32): Loaded
'C:\Python35\Lib\site-packages\PyQt5\QtNetwork.pyd'. Module was built
without symbols.
'qgis.exe' (Win32): Loaded 'C:\Python35\Lib\site-packages\PyQt5\QtXml.pyd'.
Module was built without symbols.
'qgis.exe' (Win32): Loaded 'D:\QGIS\Fork\Build\output\python\qgis\_gui.pyd'.
Symbols loaded.
'qgis.exe' (Win32): Loaded 'C:\Python35\Lib\site-packages\PyQt5\Qsci.pyd'.
Module was built without symbols.
Exception thrown at 0x0000000077C71214 (Qt5Core.dll) in qgis.exe:
0xC0000005: Access violation reading location 0x0000000017B0BF30.
Unhandled exception at 0x0000000077C71214 (Qt5Core.dll) in qgis.exe:
0xC0000005: Access violation reading location 0x0000000017B0BF30.
Call stack:
 	Qt5Core.dll!0000000077c71214()	Unknown
 	_gui.pyd!sipSubClass_QgsComposerView(void * * sipCppRet) Line 14	C++
 	sip.pyd!00007ffeaba28458()	Unknown
 	sip.pyd!00007ffeaba2160d()	Unknown
 	sip.pyd!00007ffeaba21ffa()	Unknown
 	python35.dll!PyCFunction_Call(_object * func, _object * args, _object *
kwds) Line 145	C
 	python35.dll!call_function(_object * * * pp_stack, int oparg) Line 4705	C
 	python35.dll!PyEval_EvalFrameEx(_frame * f, int throwflag) Line 3239	C
 	python35.dll!fast_function(_object * func, _object * * * pp_stack, int n,
int na, int nk) Line 4804	C
 	python35.dll!call_function(_object * * * pp_stack, int oparg) Line 4730	C
 	python35.dll!PyEval_EvalFrameEx(_frame * f, int throwflag) Line 3239	C
 	python35.dll!_PyEval_EvalCodeWithName(_object * _co, _object * globals,
_object * locals, _object * * args, int argcount, _object * * kws, int
kwcount, _object * * defs, int defcount, _object * kwdefs, _object *
closure, _object * name, _object * qualname) Line 4018	C
 	python35.dll!run_mod(_mod * mod, _object * filename, _object * globals,
_object * locals, PyCompilerFlags * flags, _arena * arena) Line 977	C
 	python35.dll!PyRun_StringFlags(const char * str, int start, _object *
globals, _object * locals, PyCompilerFlags * flags) Line 900	C
 	qgispython.dll!QgsPythonUtilsImpl::runStringUnsafe(const QString &
command, bool single) Line 299	C++
 	qgispython.dll!QgsPythonUtilsImpl::runString(const QString & command,
QString msgOnError, bool single) Line 311	C++
>	qgispython.dll!QgsPythonUtilsImpl::initPython(QgisInterface * interface)
Line 221	C++
 	qgis_app.dll!QgisApp::loadPythonSupport() Line 8763	C++
 	qgis_app.dll!QgisApp::QgisApp(QSplashScreen * splash, bool restorePlugins,
bool skipVersionCheck, QWidget * parent, QFlags<enum Qt::WindowType> fl)
Line 914	C++
 	qgis.exe!main(int argc, char * * argv) Line 1074	C++
 	[External Code]	
Has anyone an idea how to proceed?

Frits




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Building-QGIS-master-on-Windows-tp5291245.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list