Hi Marius,
thanks for letting us know the solution. People often forget to write the 
solution once they succeed.
Concerning ITK and VTK: MITK uses ITK for many image algorithms (filters) and 
VTK for visualization.
Also many concepts such as SmartPointers are used.
So depending on what you want to do it will be good to check at least ITK 
concepts.
Apart from the documentation and the related pages you can also check 
http://www.mitk.org/wiki/BugSquashingSeminars for short presentations on a 
variety of topics.

Regards,
Ingmar

Von: Danciu Marius [mailto:[email protected]]
Gesendet: Sonntag, 24. Oktober 2010 23:56
An: [email protected]
Betreff: Re: [mitk-users] Building problems VS 2008 win 7

Hi
I finally managed to find the problems that gave me a lot of had each. I didn't 
know I have to build also vtk and itk (I know it is silly but...).
Now everything is fine and I started to study details of MITK to find out how 
it can be used in my research.
There is also one thing to mention about QT: QT 4.7.0 is not a good choise at 
least for windows users because it contain a new version of QTAssistant and you 
will encounter problems (errors) when you try to build MITK wit visual studio. 
I don't know for sure details but I know that MITK use for the contained 
projects QT_QTASSISTANT_LIBRARY. For linux users there is 
qt-assistant-qassistantclient-library-compat-src.tar.gz that is probably the 
solution to use qt 7.0 for MITK.
A friendly advice (Read the documentation carefully both from the mitk website 
+ http://svn2.mitk.org/trunk/mitk + take the last svn vrom there).
I have one more question : do I have to study VTK and ITK in order to develop 
with MITK?
Thank you in advice
Best regards




________________________________
From: Danciu Marius <[email protected]>
To: [email protected]
Sent: Wed, October 20, 2010 7:15:46 PM
Subject: Building problems VS 2008 win 7
Hello,

I have problems in building MITK. I did my best but it seems is not enough.

Vs 2008 3.5 sp 1
windows 7 Profesional 32 bits
svn MITK revision 26.808 at the moment I thing the last one
I tryed with ITK 3.16 ,3.18 ,3.20
VTK 5.4.3 and 5.6.1
CMAKE 2.8.0
QT Libraries 4.7.0 for windows (vs2008) (source pakage)

Bach file contain:

SET QMAKESPEC=win32-msvc2008
SET QTDIR=C:\Qt\4.7.0\bin

SET CMAKE_DIR="C:\Program Files\CMake 2.8\bin"

IF NOT DEFINED BUILDTYPE (SET BUILDTYPE=Debug)

SET VTK_DIR=D:\doctorat\MITK\BinVTK
SET ITK_DIR=D:\doctorat\MITK\InsightToolkit-3.16.0\InsightToolkit-3.16.0\Bin
SET OSGI_RUNTIME=D:\doctorat\MITK\BinMITK
SET 
PATH=%OSGI_RUNTIME%\bin\%BUILDTYPE%;%VTK_DIR%\bin\%BUILDTYPE%;%QTDIR%\bin;%ITK_DIR%\bin\%BUILDTYPE%;%CMAKE_DIR%;%PATH%

CMD

I managed to compile MITK in the end ...

but when I try to build MITK falowing errors occurred:

Error    2          fatal error LNK1104: cannot open file 'vtkGraphics.lib'     
      glew
Error    7          fatal error LNK1104: cannot open file 
'org_mitk_core_servicesd.lib' org_mitk_gui_common
Error    8          fatal error LNK1104: cannot open file 
'org_mitk_core_servicesd.lib' org_mitk_gui_qt_common
Error    11        fatal error LNK1104: cannot open file 
'org_mitk_core_servicesd.lib' org_mitk_planarfigure
Error    12        fatal error LNK1104: cannot open file 
'org_mitk_core_servicesd.lib' org_mitk_gui_qt_application
Error    29        fatal error LNK1104: cannot open file 
'org_mitk_core_extd.lib'          org_mitk_gui_qt_ext
Error    1          fatal error LNK1104: cannot open file 'ITKAlgorithms.lib'   
    mitkCore
Error    45        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkIGT.lib'      IGTTutorialStep1
Error    3          fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    SceneSerializationBase
Error    5          fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Qmitk
Error    6          fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    PlanarFigure
Error    9          fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    MitkRigidRegistration
Error    10        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    MitkDeformableRegistration
Error    15        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    mitkInputDevices
Error    16        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    mitkGPGPU
Error    18        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Overlays
Error    20        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    MitkRigidRegistrationUI
Error    22        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    MitkDeformableRegistrationUI
Error    25        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    SceneSerialization
Error    27        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    QmitkExt
Error    28        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    mitkIGT
Error    30        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step6
Error    33        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step7
Error    35        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step10
Error    36        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step1
Error    38        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step2
Error    39        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    mitkIGTUI
Error    40        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step3
Error    41        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    mitkWithITKAndVTK
Error    42        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step4
Error    43        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step5
Error    44        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    Step8
Error    46        fatal error LNK1104: cannot open file 
'..\..\bin\Debug\mitkCore.lib'    ExtApp
Error    13        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\SceneSerializationBase.lib'            
SceneSerializationBaseTestDriver
Error    37        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\SceneSerialization.lib'            
SceneSerializationTestDriver
Error    17        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\PlanarFigure.lib'       PlanarFigureTestDriver
Error    21        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\MitkRigidRegistration.lib'            
MitkRigidRegistrationTestDriver
Error    47        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\mitkIGT.lib'   MitkIGTTestDriver
Error    24        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\MitkDeformableRegistration.lib'            
MitkDeformableRegistrationTestDriver
Error    48        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\mitkCoreExt.lib'        MitkExtTestDriver
Error    4          fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\mitkCore.lib' org_mitk_core_services
Error    19        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\mitkCore.lib' MitkTestDriver
Error    26        fatal error LNK1104: cannot open file 
'..\..\..\bin\Debug\mitkCore.lib' org_mitk_core_ext
Error    14        fatal error C1083: Cannot open include file: 'vtkgl.h': No 
such file or directory            d:\doctorat\MITK\mitk last 
release\Modules\MitkExt\Rendering\vtkMitkOpenGLGPUVolumeRayCastMapper.cpp       
  36
Error    23        fatal error C1083: Cannot open include file: 'vtkgl.h': No 
such file or directory            d:\doctorat\MITK\mitk last 
release\Modules\MitkExt\Rendering\vtkMitkOpenGLVolumeTextureMapper3D.cpp        
    45
Error    31        error PRJ0019: A tool returned an error code from 
"Generating 
../../../bin/ExtBundles/org.mitk.gui.qt.imagenavigator/resources/org.mitk.gui.qt.imagenavigator.qch"
            org_mitk_gui_qt_imagenavigator
Error    32        error PRJ0019: A tool returned an error code from 
"Generating 
../../../bin/ExtBundles/org.mitk.gui.qt.extapplication/resources/org.mitk.gui.qt.extapplication.qch"
            org_mitk_gui_qt_extapplication
Error    34        error PRJ0019: A tool returned an error code from 
"Generating 
../../../bin/ExtBundles/org.mitk.gui.qt.datamanager/resources/org.mitk.gui.qt.datamanager.qch"
            org_mitk_gui_qt_datamanager


It seems that must of the problems appear du to the fact that some libs are not 
present anywhere. Can you give me a hint ?
I spend may hour's trying different combinations of ITK and vtk  (I tryed to 
falow all indications and adashbord too) but until this moment no resuts.
One more question : If I compile also mitk tutorial in order to build foe 
example Step1, do I have to build another project before?




------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to