[vtkusers] Handle Keyboard Events
Heidler, Kirstin (GE Oil & Gas)
Kirstin.Heidler at ge.com
Mon Aug 27 11:16:49 EDT 2012
Hello,
I am trying to handle Keyboard events so I can control what happens.
For this I wrote my own InteractorStyle.
This is the Header File:
#ifndef VTKKEYPRESSINTERACTORSTYLE_H
#define VTKKEYPRESSINTERACTORSTYLE_H
#include <vtkInteractorStyleTrackballCamera.h>
#include <vtkInteractorStyleTrackballActor.h>
#include <vtkSmartPointer.h>
#include <vtkObjectFactory.h>
#include <vtkObjectBase.h>
#include <vtkActor.h>
#include <vtkPolyData.h>
#include <vtkSetGet.h>
#include <vtkObject.h>
#include <iostream>
#include <string>
class VTK_FILTERING_EXPORT vtkKeyPressInteractorStyle : public vtkInteractorStyleTrackballCamera
{
public:
static vtkKeyPressInteractorStyle* New();
vtkTypeMacro(vtkKeyPressInteractorStyle, vtkInteractorStyleTrackballCamera);
void OnKeyPress();
void setActor(vtkSmartPointer<vtkActor> actor);
protected:
vtkKeyPressInteractorStyle();
~vtkKeyPressInteractorStyle();
private:
vtkSmartPointer<vtkActor> m_actor;
};
#endif // VTKKEYPRESSINTERACTORSTYLE_H
This is the .cpp-file:
#include "vtkKeyPressInteractorStyle.h"
#include <vtkActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkInformation.h>
#include <vtkExecutive.h>
#include <vtkObjectFactory.h>
vtkStandardNewMacro(vtkKeyPressInteractorStyle);
vtkKeyPressInteractorStyle::vtkKeyPressInteractorStyle(){
}
vtkKeyPressInteractorStyle::~vtkKeyPressInteractorStyle(){
}
void vtkKeyPressInteractorStyle::OnKeyPress(){
// Get the keypress
vtkRenderWindowInteractor *rwi = this->Interactor;
std::string key = rwi->GetKeySym();
if(key == "Up"){
this->m_actor->RotateX(1);
}
vtkInteractorStyleTrackballCamera::OnKeyPress();
}
void vtkKeyPressInteractorStyle::setActor(vtkSmartPointer<vtkActor> actor){
this->m_actor = actor;
}
This is part of the main.cpp:
#include <vtkCubeSource.h>
#include <vtkPolyData.h>
#include <vtkSmartPointer.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkJPEGReader.h>
#include <vtkTexture.h>
#include <vtkImageCanvasSource2D.h>
#include "vtkKeyPressInteractorStyle.h"
#include <vtkInteractorStyleTrackballCamera.h>
#include <vtkInteractorStyleTrackballActor.h>
#include <vtkObjectFactory.h>
int main()
{
vtkSmartPointer<vtkCubeSource> cube = vtkSmartPointer<vtkCubeSource>::New();
//create a mapper
vtkSmartPointer<vtkPolyDataMapper> mapper = vtkSmartPointer<vtkPolyDataMapper>::New();
mapper->SetInputConnection(cube->GetOutputPort());
actor = vtkSmartPointer<vtkActor>::New();
actor->SetMapper(mapper);
//Create all the stuff we need to show the results
vtkSmartPointer<vtkRenderer> renderer = vtkSmartPointer<vtkRenderer>::New();
vtkSmartPointer<vtkRenderWindow> renderWindow = vtkSmartPointer<vtkRenderWindow>::New();
renderWindow->AddRenderer(renderer);
vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor = vtkSmartPointer<vtkRenderWindowInteractor>::New();
renderWindowInteractor->SetRenderWindow(renderWindow);
vtkSmartPointer<vtkKeyPressInteractorStyle> style = vtkSmartPointer<vtkKeyPressInteractorStyle>::New();
style->setActor(actor);
renderWindowInteractor->SetInteractorStyle( style );
// Add the actor to the scene
renderer->AddActor(actor);
renderer->SetBackground(.1, .3,.2); // Background color dark green
// Render and interact
renderWindow->Render();
renderWindowInteractor->Start();
return 0;
}
These are the errors I get. I am sorry they are in English. LNK2001 is unresolved symbol error and LNK2019 is Reference to unresolved symbol error.
vtkKeyPressInteractorStyle.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""private: virtual char const * __thiscall vtkKeyPressInteractorStyle::GetClassNameInternal(void)const " (?GetClassNameInternal at vtkKeyPressInteractorStyle@@EBEPBDXZ)".
vtkKeyPressInteractorStyle.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual int __thiscall vtkKeyPressInteractorStyle::IsA(char const *)" (?IsA at vtkKeyPressInteractorStyle@@UAEHPBD at Z)".
vtkKeyPressInteractorStyle.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""protected: virtual class vtkObjectBase * __thiscall vtkKeyPressInteractorStyle::NewInstanceInternal(void)const " (?NewInstanceInternal at vtkKeyPressInteractorStyle@@MBEPAVvtkObjectBase@@XZ)".
vtkKeyPressInteractorStyle.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) const vtkKeyPressInteractorStyle::`vftable'" (__imp_??_7vtkKeyPressInteractorStyle@@6B@)" in Funktion ""protected: __thiscall vtkKeyPressInteractorStyle::vtkKeyPressInteractorStyle(void)" (??0vtkKeyPressInteractorStyle@@IAE at XZ)".
I also got LNK1120 but that only summarized I had 4 unresolved references.
Also I had these warnings:
..\SolidAxle\vtkKeyPressInteractorStyle.cpp(11) : warning C4273: 'vtkKeyPressInteractorStyle::New': Inkonsistente DLL-Bindung.
c:\users\108015407\solidaxle\vtkKeyPressInteractorStyle.h(18): Siehe vorherige Definition von 'New'
..\SolidAxle\vtkKeyPressInteractorStyle.cpp(13) : warning C4273: 'vtkKeyPressInteractorStyle::vtkKeyPressInteractorStyle': Inkonsistente DLL-Bindung.
c:\users\108015407\solidaxle\vtkKeyPressInteractorStyle.h(26): Siehe vorherige Definition von '{ctor}'
..\SolidAxle\vtkKeyPressInteractorStyle.cpp(17) : warning C4273: 'vtkKeyPressInteractorStyle::~vtkKeyPressInteractorStyle': Inkonsistente DLL-Bindung.
c:\users\108015407\solidaxle\vtkKeyPressInteractorStyle.h(27): Siehe vorherige Definition von '{dtor}'
..\SolidAxle\vtkKeyPressInteractorStyle.cpp(21) : warning C4273: 'vtkKeyPressInteractorStyle::OnKeyPress': Inkonsistente DLL-Bindung.
c:\users\108015407\solidaxle\vtkKeyPressInteractorStyle.h(22): Siehe vorherige Definition von 'OnKeyPress'
..\SolidAxle\vtkKeyPressInteractorStyle.cpp(32) : warning C4273: 'vtkKeyPressInteractorStyle::setActor': Inkonsistente DLL-Bindung.
c:\users\108015407\solidaxle\vtkKeyPressInteractorStyle.h(23): Siehe vorherige Definition von 'setActor'
They all say that the named function has inconsistent DLL linkage
I included all libraries (or at least I think so). I definitely included the Common library which should hold vtkObjectFactory.
Something must be missing and I could not find out from reading Examples over and over again and neither from reading the sources over and over again.
Adding all sorts of libraries also did not help.
Does anyone know which stupid mistake I made? What am I missing?
Thank you for any help.
Kirstin
For completeness the .pro file from qtCreator:
TEMPLATE = app
CONFIG += console
CONFIG -= qt
INCLUDEPATH += "C:/Users/108015407/108015407_UIL2_view/HUR_Tools/UIL2/include/vtk"
SOURCES += main.cpp \
vtkSolidAxle.cpp \
vtkKeyPressInteractorStyle.cpp
HEADERS += \
vtkSolidAxle.h \
vtkKeyPressInteractorStyle.h
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkCommon
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkCommon
else:symbian: LIBS += -lvtkCommon
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkCommon
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkfreetype
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkfreetype
else:symbian: LIBS += -lvtkfreetype
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkfreetype
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkalglib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkalglib
else:symbian: LIBS += -lvtkalglib
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkalglib
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkftgl
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkftgl
else:symbian: LIBS += -lvtkftgl
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkftgl
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lCosmo
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lCosmo
else:symbian: LIBS += -lCosmo
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lCosmo
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkCharts
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkCharts
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkverdict
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkverdict
else:symbian: LIBS += -lvtkverdict
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkverdict
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lQVTK
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lQVTK
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lVPIC
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lVPIC
else:symbian: LIBS += -lVPIC
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lVPIC
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkFiltering
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkFiltering
else:symbian: LIBS += -lvtkFiltering
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkFiltering
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkGenericFiltering
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkGenericFiltering
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkGeovis
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkGeovis
else:symbian: LIBS += -lvtkGeovis
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkGeovis
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkGraphics
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkGraphics
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkImaging
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkImaging
else:symbian: LIBS += -lvtkImaging
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkImaging
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkHybrid
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkHybrid
else:symbian: LIBS += -lvtkHybri
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkHybri
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkIO
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkIO
else:symbian: LIBS += -lvtkIO
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkIO
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkInfovis
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkInfovis
else:symbian: LIBS += -lvtkInfovis
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkInfovis
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkRendering
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkRendering
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkViews
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkViews
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkWidgets
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkWidgets
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkVolumeRendering
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkVolumeRendering
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lQVTKWidgetPlugin
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lQVTKWidgetPlugin
else:symbian: LIBS += -lQVTKWidgetPlugin
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lQVTKWidgetPlugin
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkverdict
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkverdict
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtktiff
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtktiff
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtksys
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtksys
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtksqlite
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtksqlite
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkproj4
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkproj4
else:symbian: LIBS += -lvtkproj4
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkproj4
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkpng
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkpng
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkParallel
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkParallel
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkNetCDF_cxx
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkNetCDF_cxx
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkmetaio
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkmetaio
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtklibxml2
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtklibxml2
else:symbian: LIBS += -lvtklibxml2
else:unix: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtklibxml2
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkhdf5
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkhdf5
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkexpat
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkexpat
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
symbian: LIBS += -lvtkexoIIc
else:unix|win32: LIBS += -L$$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk/ -lvtkexoIIc
INCLUDEPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
DEPENDPATH += $$PWD/../108015407_UIL2_view/HUR_Tools/UIL2/lib/Debug/vtk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120827/0131a9d0/attachment.htm>
More information about the vtkusers
mailing list