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