[Qt-creator] Building Debugging Helper library error
Jack Wootton
jackwootton at gmail.com
Mon May 10 12:33:31 CEST 2010
Hello,
I'm having problems getting Qt Debugger libraries to build.
Environment
-----------------
Creator 2.0 built from source
Qt 4.7 built from source
Windows XP
Nokia N97 SDK
I have %epocroot% set to \
Creator is run from the command line at C:\git\creator2.0\bin
Problem
-------------
In the Tools > Options > Qt4 window of Creator, varous Qt versions are
listed split into two categories 1) Auto-detected, 2) Manual
Under Auto-detected Creator has found "Nokia_N97_v1.0(Qt 4.7)". This is
accurate since I have installed the Nokia N97 SDK and subst it to a drive V:
such that the epoc32 is V:\epoc32
I have also created V:\git\qt, where the src for QT 4.7 lives. Creator
seems to have detected all of this fine.
SDK installed to D:\Nokia\, so that the epocroot is
D:\Nokia\Nokia_N97_SDK_v1.0\epoc32
The SDK is subst to V:\, so that the epocroot is V:\epoc32
Qt src lives (and is built from) V:\git\qt
However the debugger helper library will not build. I have tried using the
"Rebuild" button in Creator (Tools > Options > Qt4 window). "Show log"
displays:
/******************************************************************************/
Building debugging helper library in V:/git/qt/qtc-debugging-helper/
Running D:/Nokia/Nokia_N97_SDK_v1.0/epoc32/tools/make.exe distclean...
bldmake bldfiles
WARNING: EPOCROOT does not specify an existing directory
warning: "D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6.bsf" Invalid BSF
specification - customization restricted to ARMV5, ABIv2 and valid BSF
platforms
warning: "D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6T2.bsf" Invalid BSF
specification - customization restricted to ARMV5, ABIv2 and valid BSF
platforms
warning: "D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV7A.bsf" Invalid BSF
specification - customization restricted to ARMV5, ABIv2 and valid BSF
platforms
BLDMAKE ERROR: Directory "\Nokia\Nokia_N97_SDK_v1.0\epoc32\" does not exist
D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\make.exe: *** [ABLD.BAT] Error 1
Running v:/git/qt/bin/qmake.exe ...
Warning: EPOCROOT is set to an invalid path: \Nokia\Nokia_N97_SDK_v1.0\
Unable to resolve epocRoot '/Nokia/Nokia_N97_SDK_v1.0/' to real dir on
current drive, defaulting to '/' for mmp paths
Running D:/Nokia/Nokia_N97_SDK_v1.0/epoc32/tools/make.exe ...
bldmake bldfiles
WARNING: EPOCROOT does not specify an existing directory
warning: "D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6.bsf" Invalid BSF
specification - customization restricted to ARMV5, ABIv2 and valid BSF
platforms
warning: "D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV6T2.bsf" Invalid BSF
specification - customization restricted to ARMV5, ABIv2 and valid BSF
platforms
warning: "D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\GCCEV7A.bsf" Invalid BSF
specification - customization restricted to ARMV5, ABIv2 and valid BSF
platforms
BLDMAKE ERROR: Directory "\Nokia\Nokia_N97_SDK_v1.0\epoc32\" does not exist
D:\Nokia\Nokia_N97_SDK_v1.0\epoc32\tools\make.exe: *** [ABLD.BAT] Error 1
/******************************************************************************/
The interesting part seems to be the line
"BLDMAKE ERROR: Directory "\Nokia\Nokia_N97_SDK_v1.0\epoc32\" does not
exist"
The path seems odd because from the subst drive epoc32 is located at
\epoc32. Only on D: is it found as under
\Nokia\Nokia_N97_SDK_v1.0\epoc32\.
I'm unsure what the following line means, but it seems odd that epocroot
isn't just "\"
"Unable to resolve epocRoot '/Nokia/Nokia_N97_SDK_v1.0/' to real dir on
current drive, defaulting to '/' for mmp paths"
I have also tried building the debugger helper library from the command line
V:\git\qt\qtc-debugging-helper
I delete all Makefiles and abld.bat / bld.inf files, and run qmake to
recreate them all from gdbmacros.pro
When I run make I receive the following error
/******************************************************************************/
ABLD.BAT build winscw udeb
make -r -f "\EPOC32\BUILD\git\qt\qtc-debugging-helper\EXPORT.make" EXPORT
VERBOSE=-s
make[1]: Entering directory `V:/git/qt/qtc-debugging-helper'
Nothing to do
make[1]: Leaving directory `V:/git/qt/qtc-debugging-helper'
make -r -f "\EPOC32\BUILD\git\qt\qtc-debugging-helper\WINSCW.make"
MAKEFILE VERBOSE=-s
make[1]: Entering directory `V:/git/qt/qtc-debugging-helper'
make -s -C \git\qt\qtc-debugging-helper -f "MAKEFILE_0XE2C5A22A.MK"
TO_ROOT=..\..\.. EPOCBLD=\EPOC32\BUILD\MAKEFILE_0XE2C5A22A\WINSCW
TO_BLDINF=..\..\..\git\qt\qtc-debugging-helper PLATFORM=WINSCW MAKMAKE
perl -S makmake.pl -D \git\qt\qtc-debugging-helper\GDBMACROS_0XE2C5A22A
WINSCW
WARNING: \git\qt\qtc-debugging-helper\GDBMACROS_0XE2C5A22A.MMP(36) :
SYSTEMINCLUDE path "\Nokia\Nokia_N97_SDK_v1.0\epoc32\include\" not found
WARNING: \git\qt\qtc-debugging-helper\GDBMACROS_0XE2C5A22A.MMP(37) :
SYSTEMINCLUDE path
"\Nokia\Nokia_N97_SDK_v1.0\epoc32\include\osextensions\stdapis\" not found
WARNING: \git\qt\qtc-debugging-helper\GDBMACROS_0XE2C5A22A.MMP(38) :
SYSTEMINCLUDE path
"\Nokia\Nokia_N97_SDK_v1.0\epoc32\include\osextensions\stdapis\sys\" not
found
... [and so it goes on]
/******************************************************************************/
Again there seems to be something wrong with the path:
"SYSTEMINCLUDE path
"\Nokia\Nokia_N97_SDK_v1.0\epoc32\include\osextensions\stdapis\sys\"
It seems to be using the location on D:\ when building from V:\
If ayone has any advice on what I can do to resolve the problem, it would be
very helpful.
--
Many thanks,
Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100510/132577c3/attachment.html
More information about the Qt-creator-old
mailing list