[Paraview] Custom Inspector as plugin (Linking fails with VS2008)

David E DeMarle dave.demarle at kitware.com
Wed Jul 8 12:17:23 EDT 2009


Sorry about that.
In CMakeLists.txt, change "${ADAPTIVE_CS_SOURCES}" to "${MY_CS_SOURCES}".

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Mon, Jul 6, 2009 at 8:07 AM, Kalle<kalle-test at gmx.de> wrote:
> Hello,
>
> John Biddiscombe wrote:
>>
>>  David
>>
>> Thank you so much. 5 minutes and I now have a working dock window plugin.
>> The ADD_PARAVIEW_DOCK_WINDOW was the secret.
>>
>> If only every question to the list had such a great response.
>>
>
> I have tried to compile Davids example plugin with Visual Studio 2008
> Express Edition.
> cmake and the compilation work without any warnings, but linking fails with
> unresolved external symbol errors.
>
> Here is my system configuration:
>
> Windows XP SP3 32-Bit,
> cmake 2.6.4
> Paraview 3.6.1 (from cvs)
> Qt 4.3.5
> VS 2008 Express 32 Bit
>
> Here are the (shortened) error messages:
>
> ------ Build started: Project: Controlslugin, Configuration: Debug Win32
> ------
> Linking...
>   Creating library C:\Panel\Panel\Build\Debug\Controlslugin.lib and object
> C:\Panel\Panel\Build\Debug\Controlslugin.exp
> moc_pqControls.obj : error LNK2019: unresolved external symbol "private:
> void __thiscall pqControls::connectToRepresentation(class pqPipelineSource
> *,class pqDataRepresentation *)" [...]
>
>
> moc_pqControls.obj : error LNK2019: unresolved external symbol "private:
> void __thiscall pqControls::updateTrackee(void)"
> (?updateTrackee at pqControls@@AAEXXZ) referenced in function "public:
> [...]
>
> pqControlsImplementation.obj : error LNK2019: unresolved external symbol
> "public: __thiscall pqControls::pqControls(class QWidget *)"
> (??0pqControls@@QAE at PAVQWidget@@@Z) referenced in function "public:
> [...]
>
> I would guess, that this has to do with the sequence of the obj-Files linked
> together.
> I'm rather new with Visual Studio. Could somebody point me in the right
> direction?  (Or are there known limitations with the Epress Edition of VS?)
>
> TIA,
>
> Kalle.
>
> BTW, the build of Qt and paraview with VS 2008 Express worked without any
> problems...
>
> _______________________________________________
> 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