On Fri, Sep 4, 2009 at 9:46 AM, Utkarsh
Ayachit<utkarsh.ayac...@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_?indexwid...@qhelpengine@@QAEPAVQHelpIndexWidget@@XZ)
referenced in function "public: __thiscall
pqHelpWindow::pqHelpWindow(class QString const &,class QWidget *,class
QFlags)" 
(??0pqHelpWindow@@q...@abvqstring@@PAVQWidget@@v?$qfl...@w4windowtype@Qt@@@@@Z)
pqHelpWindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class QHelpContentWidget * __thiscall
QHelpEngine::contentWidget(void)"
(__imp_?contentwid...@qhelpengine@@QAEPAVQHelpContentWidget@@XZ)
referenced in function "public: __thiscall
pqHelpWindow::pqHelpWindow(class QString const &,class QWidget *,class
QFlags)" 
(??0pqHelpWindow@@q...@abvqstring@@PAVQWidget@@v?$qfl...@w4windowtype@Qt@@@@@Z)
pqHelpWindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: bool __thiscall
QHelpEngineCore::setupData(void)"
(__imp_?setupd...@qhelpenginecore@@QAE_NXZ) referenced in function
"public: __thiscall pqHelpWindow::pqHelpWindow(class QString const
&,class QWidget *,class QFlags)"
(??0pqHelpWindow@@q...@abvqstring@@PAVQWidget@@v?$qfl...@w4windowtype@Qt@@@@@Z)
pqHelpWindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
QHelpEngine::QHelpEngine(class QString const &,class QObject *)"
(__imp_??0QHelpEngine@@q...@abvqstring@@PAVQObject@@@Z) referenced in
function "public: __thiscall pqHelpWindow::pqHelpWindow(class QString
const &,class QWidget *,class QFlags)"
(??0pqHelpWindow@@q...@abvqstring@@PAVQWidget@@v?$qfl...@w4windowtype@Qt@@@@@Z)
pqHelpWindow.obj : error LNK2001: unresolved external symbol "public:
virtual struct QMetaObject const * __thiscall
QHelpEngine::metaObject(void)const "
(?metaobj...@qhelpengine@@UBEPBUQMetaObject@@XZ)
pqHelpWindow.obj : error LNK2001: unresolved external symbol "public:
virtual void * __thiscall QHelpEngine::qt_metacast(char const *)"
(?qt_metac...@qhelpengine@@uaepax...@z)
pqHelpWindow.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall QHelpEngine::qt_metacall(enum
QMetaObject::Call,int,void * *)"
(?qt_metac...@qhelpengine@@uaehw4c...@qmetaobject@@hpa...@z)
pqHelpWindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class QByteArray __thiscall
QHelpEngineCore::fileData(class QUrl const &)const "
(__imp_?filed...@qhelpenginecore@@QBE?AVQByteArray@@ABVQUrl@@@Z)
referenced in function "public: virtual class QVariant __thiscall
pqHelpWindow::pqTextBrowser::loadResource(int,class QUrl const &)"
(?loadresou...@pqtextbrowser@pqHelpWindow@@UAE?AVQVariant@@HABVQUrl@@@Z)
pqHelpWindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
QHelpEngine::~QHelpEngine(void)" (__imp_??1QHelpEngine@@u...@xz)
referenced in function "public: virtual void * __thiscall
QHelpEngine::`scalar deleting destructor'(unsigned int)"
(??_GQHelpEngine@@uaep...@z)
pqHelpWindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class QString __thiscall
QHelpEngineCore::collectionFile(void)const "
(__imp_?collectionf...@qhelpenginecore@@QBE?AVQString@@XZ) referenced
in function "public: virtual __thiscall
pqHelpWindow::~pqHelpWindow(void)" (??1pqHelpWindow@@u...@xz)
pqHelpWindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: bool __thiscall
QHelpEngineCore::registerDocumentation(class QString const &)"
(__imp_?registerdocumentat...@qhelpenginecore@@QAE_NABVQString@@@Z)
referenced in function "public: virtual void __thiscall
pqHelpWindow::registerDocumentation(class QString const &)"
(?registerdocumentat...@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.ayac...@kitware.com> wrote:
>> What CMake version are you using?
>>
>> Utkarsh
>>
>> On Fri, Sep 4, 2009 at 9:26 AM, Zak Burke<zak.bu...@gmail.com> wrote:
>>> On Fri, Sep 4, 2009 at 9:04 AM, Utkarsh
>>> Ayachit<utkarsh.ayac...@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.bu...@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
>>>>>
>>>>
>>>
>>
>
_______________________________________________
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

Reply via email to