A friend suggested me to use the 32 bit version instead. I did and it got
installed without any problem.
Rostislav and Sascha thank you for you support.

good luck,
Mahsa

On Mon, Sep 15, 2014 at 5:14 PM, Khlebnikov, Rostislav <
[email protected]> wrote:

>  Hello Masha,
>
>  This is a very typical error which appears when you link 64bit libraries
> with 32 bit ones. Clean mitk superbuild project shouldn't have any such
> problems. Perhaps this is qt that causes problems. Did you run x64 native
> command prompt before running nmake for qt? You can also check the bit ness
> of the libraries [1].
>
>  Rostislav.
>
>  [1]
> http://stackoverflow.com/questions/6014107/have-a-static-lib-is-there-a-simple-way-to-know-it-is-for-32-bit-or-64-bit
>
>
> On 14 Sep 2014, at 15:58, "mahsa paknezhad" <[email protected]>
> wrote:
>
>   yes, I compiled the Qt myself. I also changed the CMake back to the 2.8
> version, and I am not using any external Vtk installations. Moreover, I
> made sure the configuration properties for all the projects to be X64.
> However, I am still facing the same error.
>
>  Thanks,
> Mahsa
>
> On Sat, Sep 13, 2014 at 8:45 PM, Khlebnikov, Rostislav <
> [email protected]> wrote:
>
>>  This shows that your vtk is built in 32 bit version. Did you use
>> external vtk installation?
>>
>>
>>
>> On 13 Sep 2014, at 12:43, "mahsa paknezhad" <[email protected]>
>> wrote:
>>
>>   Thank you Rostislav. I tried to build only the MitkCore project. I got
>> this error:
>>
>>
>> ---------------------------------------------------------------------------------------------------------------------------------
>> 1>------ Build started: Project: MitkCore, Configuration: Debug x64 ------
>>  1>Linking...
>> 1>vtkCommonCore-6.1.lib(vtkCommonCore-6.1.dll) : fatal error LNK1112:
>> module machine type 'X86' conflicts with target machine type 'x64'
>> 1>Build log was saved at
>> "file://d:\MITK2\MITK-superbuild\MITK-build\Core\Code\MitkCore.dir\Debug\BuildLog.htm"
>> 1>MitkCore - 1 error(s), 0 warning(s)
>> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
>> ==========
>>
>> ----------------------------------------------------------------------------------------------------------------------------------
>>
>>  Regards,
>> Mahsa
>>
>>
>> On Sat, Sep 13, 2014 at 7:20 PM, Khlebnikov, Rostislav <
>> [email protected]> wrote:
>>
>>>  Open the MITK solution file which is in your super build directory
>>> (the one that you specifies in cmake) in MITK-build subdirectory. The
>>> plugin projects can be found there.
>>>
>>>  Rostislav.
>>>
>>>
>>>
>>> On 13 Sep 2014, at 12:16, "mahsa paknezhad" <[email protected]>
>>> wrote:
>>>
>>>   This org.mitk.gui.qt.ext library is a part of the MITK project ( it
>>> should be downloaded while building the MITK project) in the solution. I
>>> have built only the MITK project before a couple of times. Unfortunately,
>>> there is no difference in terms of the result.
>>>
>>>  -Mahsa
>>>
>>> On Sat, Sep 13, 2014 at 7:10 PM, Khlebnikov, Rostislav <
>>> [email protected]> wrote:
>>>
>>>>  Right click the project in solution explorer and choose build.
>>>>
>>>>  R.
>>>>
>>>>
>>>>
>>>> On 13 Sep 2014, at 12:08, "mahsa paknezhad" <[email protected]>
>>>> wrote:
>>>>
>>>>   Dear Rostislav,
>>>>
>>>>  I would appreciate that if you could tell me how I can only build one
>>>> library (e.g. org.mitk.gui.qt.ext), since I am new to Visual Studio
>>>> and CMake.
>>>>
>>>>  Regards,
>>>> Mahsa
>>>>
>>>>
>>>> On Sat, Sep 13, 2014 at 7:00 PM, Khlebnikov, Rostislav <
>>>> [email protected]> wrote:
>>>>
>>>>>  Hi,
>>>>>
>>>>>  Then there are likely earlier linker errors when the plugins are
>>>>> being linked - maybe try building e.g. only the org.mitk.gui.qt.ext and 
>>>>> see
>>>>> what happens?
>>>>>
>>>>>  Cheers,
>>>>>   Rostislav.
>>>>>
>>>>>
>>>>>
>>>>> On 13 Sep 2014, at 11:36, "mahsa paknezhad" <[email protected]>
>>>>> wrote:
>>>>>
>>>>>   Hi Rostislav,
>>>>>
>>>>>  Thank you for your reply. In fact, I was working with CMake 2.8 at
>>>>> the beginning and I was receiving this error. Consequently, I tried CMake
>>>>> 3.1, but still I am getting the same error.
>>>>>
>>>>>  Regards,
>>>>> Mahsa
>>>>>
>>>>> On Sat, Sep 13, 2014 at 6:27 PM, Khlebnikov, Rostislav <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Something tells me that this is caused by a recent issue discussed
>>>>>> here: try CMake 2.8 - this will likely fix it for you.
>>>>>>
>>>>>> Rostislav.
>>>>>>
>>>>>>
>>>>>>
>>>>>> > On 13 Sep 2014, at 11:23, "mahsa paknezhad" <
>>>>>> [email protected]> wrote:
>>>>>> >
>>>>>> > Hi all,
>>>>>> >
>>>>>> > I am trying to compile both the MITK and the Template project
>>>>>> provided on the MITK website on my Windows 7 64 bit machine. For this 
>>>>>> work,
>>>>>> I am using Visual Studio 2008 64Win for compilation and Cmake 3.1 to
>>>>>> prepare the required file for compilation. I have successfully installed 
>>>>>> Qt
>>>>>> 4.7.4 and pass it's qmake.exe file to CMake in order to create the 
>>>>>> required
>>>>>> files for compilation. Also, I do choose Visual Studio 9 2008 64Win for
>>>>>> configuring and generating files by CMake . However, I am constantly
>>>>>> getting fatal error LNK1104. It seems that some libraries which are
>>>>>> necessary for compilation do not get downloaded.
>>>>>> >
>>>>>> > While compiling MITK I get "LINK : fatal error LNK1104: cannot open
>>>>>> file" error for the following libraries:
>>>>>> >
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_ext.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_common.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_application.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_common_legacy.lib
>>>>>> > ..\..\bin\Debug\MitkQtWidgets.lib
>>>>>> >
>>>>>> > and while compiling the Template Project I get the same error for
>>>>>> the following libraries:
>>>>>> >
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_ext.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_common.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_application.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_qt_common_legacy.lib
>>>>>> > ..\..\bin\Debug\MitkCore.lib
>>>>>> > ..\..\bin\Debug\MitkAlgorithmsExt.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_core_services.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_gui_common.lib
>>>>>> > ..\..\..\bin\Debug\MitkContourModel.lib
>>>>>> > ..\..\bin\plugins\Debug\org_mitk_core_ext.lib
>>>>>> >
>>>>>> > Please let me know what I am doing wrong. Your help will be highly
>>>>>> appreciated.
>>>>>> >
>>>>>> > Cheers,
>>>>>> > Mahsa
>>>>>>  >
>>>>>> ------------------------------------------------------------------------------
>>>>>> > Want excitement?
>>>>>> > Manually upgrade your production database.
>>>>>> > When you want reliability, choose Perforce
>>>>>> > Perforce version control. Predictably reliable.
>>>>>> >
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
>>>>>> > _______________________________________________
>>>>>> > mitk-users mailing list
>>>>>> > [email protected]
>>>>>> > https://lists.sourceforge.net/lists/listinfo/mitk-users
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to