Hi Sascha,

Thanks for replying .I tried building DCMTK project only and it got stuck
there with output window appearing as follows:
-------
  -- Looking for C++ include sys/socket.h
  -- Looking for C++ include sys/socket.h - not found
  -- Looking for C++ include thread.h
  -- Looking for C++ include thread.h - not found
  -- Looking for C++ include sys/stat.h
-------

I don't know what is going wrong.
What changes do I need to make in CMakelists.txt to disable parallel build
and try this again?

Thanks,
Ashish


On Mon, Jul 8, 2013 at 2:01 PM, Sascha Zelzer
<[email protected]>wrote:

>  Hi Ashish,
>
> 4GB RAM is on the low side for doing a full superbuild in parallel. You
> could try to individually build the projects in the MITK-superbuild.sln
> solution file. Start with DCMTK, GDCM, CTK, ITK, VTK etc. (in that order)
> and finally build the MITK project.
>
> Best,
> Sascha
>
>
> On 07/08/2013 06:25 AM, Ashish Singh wrote:
>
>      Dear Caspar, Stefan and Ingmar,
>
> Thanks for replying. I was travelling and didn't get a chance to reply
> back to your emails.
>
>  Caspar, the answers to your questions are as follows:
>  1) I am using CMAKE 2.8.8, but I have tried CMAKE 2.8.11.1 also.
>  2) The only things I have added are the path to Qt and CMAKE INSTALL
> PREFIX at the time of MITK configuration using CMAKE. Apart from this it is
> pretty much a straight superbuild.
>  3) Yes I am using superbuild process for everything including ITK/VTK etc.
>
>  Stefan, What changes do I need to do in CMakelists.txt file(s) to remove
> the -MP flag? Also, my system configuration is:
>  Processor: Intel Core 2 Quad CPU Q9400 2.7GHz
>  RAM: 4GB
>
>  Ingmar, What system configuration do you have( processor, speed, RAM etc.
> ) on which you are able to build successfully?
>
>  I would really appreciate if you could help fix the issue.
>
>  Thanks,
> Ashish
>
>
> On Wed, Jul 3, 2013 at 5:39 PM, iwegner <[email protected]> wrote:
>
>> Hi,
>> I am also using VC10 and could compile v2013.06.0 right away.
>>
>> Best,
>> Ingmar
>>  --
>> Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail
>> gesendet.
>>
>>
>>
>> "Kislinskiy, Stefan" 
>> <[email protected]><[email protected]>schrieb:
>>
>>>  Hi Ashish,
>>>
>>>
>>>
>>> you can try to remove the –MP flag to disable multi-processor compiling.
>>> Maybe this will help. Additionally have a look at the performance tab of
>>> the task manager during compilation. Your RAM might be completely in use.
>>>
>>>
>>>
>>> Best,
>>>
>>> Stefan
>>>
>>>
>>>
>>> *Von:* Goch, Caspar Jonas [mailto:[email protected]]
>>> *Gesendet:* Mittwoch, 3. Juli 2013 13:25
>>> *An:* 'Ashish Singh'; [email protected]
>>> *Betreff:* Re: [mitk-users] MITK 2013.06 build issue
>>>
>>>
>>>
>>> Hi Ashish,
>>>
>>>
>>>
>>> I am probably the main person using Visual Studio 2010 for all tasks
>>> here and my setup is similar. Could you fill me in on a couple more
>>> questions?
>>>
>>>
>>>
>>> What CMake Version are you using?
>>>
>>> Are you doing a straight superbuild, without any changes in the CMake
>>> configuration?
>>>
>>> Are you using the superbuild process for everything (including ITK/VTK…)
>>>
>>>
>>>
>>> Best,
>>>
>>> Caspar
>>>
>>>
>>>
>>> *Von:* Ashish Singh [mailto:[email protected]<[email protected]>]
>>>
>>> *Gesendet:* Mittwoch, 3. Juli 2013 12:04
>>> *An:* [email protected]
>>> *Betreff:* [mitk-users] MITK 2013.06 build issue
>>>
>>>
>>>
>>> Hi,
>>>
>>> I am trying to build MITK. After the CMake step, when I build
>>> MITK-superbuild.sln from visual studio, the build freezes after some time
>>> (during ITK build ). Here is what I get during one such build freeze.
>>> ---
>>> 1>  -- Check size of int
>>> 1>  -- Check size of int - done
>>> 1>  -- Check size of long
>>> 1>  -- Check size of long - done
>>> 1>  -- Check size of long long
>>> 1>  -- Check size of long long - done
>>> 1>  -- Check size of __int64
>>> 1>  -- Check size of __int64 - done
>>> 1>  -- Checking whether char is signed
>>> 1>  -- Checking whether char is signed - yes
>>> 1>  -- Checking whether C compiler has ptrdiff_t in stddef.h
>>> 1>  -- Checking whether C compiler has ptrdiff_t in stddef.h - yes
>>> 1>  -- Checking whether C compiler has ssize_t in unistd.h
>>> 1>  -- Checking whether C compiler has ssize_t in unistd.h - no
>>> 1>  -- Checking whether CXX compiler has setenv
>>> 1>  -- Checking whether CXX compiler has setenv - no
>>> 1>  -- Checking whether CXX compiler has unsetenv
>>> 1>  -- Checking whether CXX compiler has unsetenv - no
>>> 1>  -- Checking whether CXX compiler has environ in stdlib.h
>>> ----
>>>
>>> Nothing happens after this. I need to manually kill the MSBuild process
>>> from task manager and restart the build. After restarting the build, the
>>> freeze happens again but at a different point. This has happened more than
>>> 10 times now.
>>>
>>> My environment is:
>>>
>>> OS: Win 7 64 bit
>>>
>>> MITK version: 2013.06
>>>
>>> Visual Studio 2010
>>>
>>> I have tried building the previous version of MITK also (ie. version
>>> 2013.03.02 ). I get the same behavior with that also.
>>>
>>> Has anyone else faced this issue?
>>> Can anyone help me figure out and fix the problem here?
>>>
>>> Thanks,
>>> Ashish
>>>
>>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to