[Paraview] ParaView/OverView build failure on WinXP: Cannot open include file: 'QHelpEngine'

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Sep 4 16:12:03 EDT 2009


Are you sure you Qt installation does have the help subsystem
installed correctly? Can you post your CMakeCache.txt?

Utkarsh

On Fri, Sep 4, 2009 at 4:09 PM, Zak Burke<zak.burke at gmail.com> wrote:
> On Fri, Sep 4, 2009 at 9:46 AM, Utkarsh
> Ayachit<utkarsh.ayachit at kitware.com> wrote:
>> Can try applying the attached patch, does that help?
>
> Thanks for your quick responses this morning!
>
> I'm running CMake 2.6-patch4.
>
> The patch gets me through compiling pqHelpWindow.cxx, but now linking fails:
>
> pqHelpWindow.cxx
> Compiling manifest to resources...
> Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
> Copyright (C) Microsoft Corporation.  All rights reserved.
> Linking...
>   Creating library
> C:\projects\titan\pvvcppcvs\bin\Debug\pqWidgets.lib and object
> C:\projects\titan\pvvcppcvs\bin\Debug\pqWidgets.exp
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class QHelpIndexWidget * __thiscall
> QHelpEngine::indexWidget(void)"
> (__imp_?indexWidget at QHelpEngine@@QAEPAVQHelpIndexWidget@@XZ)
> referenced in function "public: __thiscall
> pqHelpWindow::pqHelpWindow(class QString const &,class QWidget *,class
> QFlags)" (??0pqHelpWindow@@QAE at ABVQString@@PAVQWidget@@V?$QFlags at W4WindowType@Qt@@@@@Z)
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class QHelpContentWidget * __thiscall
> QHelpEngine::contentWidget(void)"
> (__imp_?contentWidget at QHelpEngine@@QAEPAVQHelpContentWidget@@XZ)
> referenced in function "public: __thiscall
> pqHelpWindow::pqHelpWindow(class QString const &,class QWidget *,class
> QFlags)" (??0pqHelpWindow@@QAE at ABVQString@@PAVQWidget@@V?$QFlags at W4WindowType@Qt@@@@@Z)
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: bool __thiscall
> QHelpEngineCore::setupData(void)"
> (__imp_?setupData at QHelpEngineCore@@QAE_NXZ) referenced in function
> "public: __thiscall pqHelpWindow::pqHelpWindow(class QString const
> &,class QWidget *,class QFlags)"
> (??0pqHelpWindow@@QAE at ABVQString@@PAVQWidget@@V?$QFlags at W4WindowType@Qt@@@@@Z)
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> QHelpEngine::QHelpEngine(class QString const &,class QObject *)"
> (__imp_??0QHelpEngine@@QAE at ABVQString@@PAVQObject@@@Z) referenced in
> function "public: __thiscall pqHelpWindow::pqHelpWindow(class QString
> const &,class QWidget *,class QFlags)"
> (??0pqHelpWindow@@QAE at ABVQString@@PAVQWidget@@V?$QFlags at W4WindowType@Qt@@@@@Z)
> pqHelpWindow.obj : error LNK2001: unresolved external symbol "public:
> virtual struct QMetaObject const * __thiscall
> QHelpEngine::metaObject(void)const "
> (?metaObject at QHelpEngine@@UBEPBUQMetaObject@@XZ)
> pqHelpWindow.obj : error LNK2001: unresolved external symbol "public:
> virtual void * __thiscall QHelpEngine::qt_metacast(char const *)"
> (?qt_metacast at QHelpEngine@@UAEPAXPBD at Z)
> pqHelpWindow.obj : error LNK2001: unresolved external symbol "public:
> virtual int __thiscall QHelpEngine::qt_metacall(enum
> QMetaObject::Call,int,void * *)"
> (?qt_metacall at QHelpEngine@@UAEHW4Call at QMetaObject@@HPAPAX at Z)
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class QByteArray __thiscall
> QHelpEngineCore::fileData(class QUrl const &)const "
> (__imp_?fileData at QHelpEngineCore@@QBE?AVQByteArray@@ABVQUrl@@@Z)
> referenced in function "public: virtual class QVariant __thiscall
> pqHelpWindow::pqTextBrowser::loadResource(int,class QUrl const &)"
> (?loadResource at pqTextBrowser@pqHelpWindow@@UAE?AVQVariant@@HABVQUrl@@@Z)
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: virtual __thiscall
> QHelpEngine::~QHelpEngine(void)" (__imp_??1QHelpEngine@@UAE at XZ)
> referenced in function "public: virtual void * __thiscall
> QHelpEngine::`scalar deleting destructor'(unsigned int)"
> (??_GQHelpEngine@@UAEPAXI at Z)
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class QString __thiscall
> QHelpEngineCore::collectionFile(void)const "
> (__imp_?collectionFile at QHelpEngineCore@@QBE?AVQString@@XZ) referenced
> in function "public: virtual __thiscall
> pqHelpWindow::~pqHelpWindow(void)" (??1pqHelpWindow@@UAE at XZ)
> pqHelpWindow.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: bool __thiscall
> QHelpEngineCore::registerDocumentation(class QString const &)"
> (__imp_?registerDocumentation at QHelpEngineCore@@QAE_NABVQString@@@Z)
> referenced in function "public: virtual void __thiscall
> pqHelpWindow::registerDocumentation(class QString const &)"
> (?registerDocumentation at pqHelpWindow@@UAEXABVQString@@@Z)
> C:\projects\titan\pvvcppcvs\bin\Debug\pqWidgets.dll : fatal error
> LNK1120: 11 unresolved externals
>  Results      Build log was saved at
> "file://c:\projects\titan\pvvcppcvs\Qt\Widgets\pqWidgets.dir\Debug\BuildLog.htm"
> pqWidgets - 12 error(s), 0 warning(s)
>
>
> Zak
>
>
>
>
>> On Fri, Sep 4, 2009 at 9:39 AM, Utkarsh
>> Ayachit<utkarsh.ayachit at kitware.com> wrote:
>>> What CMake version are you using?
>>>
>>> Utkarsh
>>>
>>> On Fri, Sep 4, 2009 at 9:26 AM, Zak Burke<zak.burke at gmail.com> wrote:
>>>> On Fri, Sep 4, 2009 at 9:04 AM, Utkarsh
>>>> Ayachit<utkarsh.ayachit at kitware.com> wrote:
>>>>> Did this problem start after an update? In other words, is this a clean build?
>>>>
>>>> Yes, it's a clean build based on the CVS head from 2009-09-01. I have
>>>> not (yet) successfully built any version of ParaView/OverView for
>>>> Windows. I'm following the build instructions here:
>>>>
>>>> http://kitware.com/InfovisWiki/index.php/Building_OverView
>>>>
>>>> The only variation from those instructions is that I have a current
>>>> version of Qt (4.5.2) instead of 4.3.3. 4.5.2 worked fine for a Mac OS
>>>> X build.
>>>>
>>>> Zak
>>>>
>>>>
>>>>
>>>>> On Fri, Sep 4, 2009 at 8:38 AM, Zak Burke<zak.burke at gmail.com> wrote:
>>>>>> I'm trying to build ParaView, including the Overview informatics
>>>>>> client, on Windows XP using Visual C++ 2008 Express Edition. The
>>>>>> pqWidgets target is failing with the following error:
>>>>>>
>>>>>>   pqHelpWindow.cxx
>>>>>>   ..\..\..\ParaView3CVS\Qt\Widgets\pqHelpWindow.cxx(36) : fatal error
>>>>>> C1083: Cannot open include file: 'QHelpEngine': No such file or
>>>>>> directory
>>>>>>
>>>>>> My CMakeCache.txt files includes the following entry:
>>>>>>
>>>>>>    QT_QTHELP_INCLUDE_DIR:PATH=C:/Qtvcpp/4.5.2/include/QtHelp
>>>>>> _______________________________________________
>>>>>> Powered by www.kitware.com
>>>>>>
>>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>>>>
>>>>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>>>>>
>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>
>>>>>
>>>>
>>>
>>
>


More information about the ParaView mailing list