Hi, thanks for all the info on building process. Now I can run the MITK Workbench that I build myself and I should be ready to start experimenting with the code.
Best, Urban On 18.1.2014 16:19, Kislinskiy, Stefan wrote: > Hi, > > there are batch files in the build directory of MITK named StartVS_debug.bat > and StartVS_release.bat which set up all paths either for debug or release > mode. Currently they doesn't include the VTK path which will be fixed by the > next VTK release. Until then you must manually add the VTK path. Since every > CMake run will reset the batch files I recommend to copy the complete > "PATH=..." line into a separate text file, replace "debug" or "release" by > "$(Configuration)" or "$(ConfigurationName)" in case of VS2008, and copy the > modified line right into the project settings of the mitkWorkbench (Project > Settings->Configuration Properties->Debugging->Environment). Ensure that you > selected both debug and release mode at the top of the dialog to apply the > settings to all configurations. This way you don't need the batch files at > all and can use the MITK solution file directly. The project settings are not > overwritten by CMake. Don't forget to add the VTK path as well. > > Cheers, > Stefan > ________________________________________ > Von: Urban Simoncic [[email protected]] > Gesendet: Freitag, 17. Januar 2014 21:39 > An: Kislinskiy, Stefan; Zelzer, Sascha; [email protected] > Betreff: Re: AW: [mitk-users] Build error > > Hi, > thanks for that advice. I have been able to build the application with > MSVC 2010 Express and Windows SDK. After manually setting the Path for > some dll's, the MITK Workbench starts a command line window and runs > something and then ends. I can't read what is going on there. Does the > MITK Workbench stop because not all shared libraries are in Path? Is > there any automated way to set the Path for all the shared libraries? > > Best, > Urban > > On 17.1.2014 14:32, Kislinskiy, Stefan wrote: >> As an addition I would like to say that we support MSVC 2010 and 2012 as >> well. However, to get things up and running with MSVC 2012 you need to patch >> and compile Qt manually. Personally I would recommend MSVC 2010 which is >> more feature rich in its Express edition than MSVC 2008. In any case, it you >> use an express edition you should always install the Windows SDK as well. >> >> -----Ursprüngliche Nachricht----- >> Von: Sascha Zelzer [mailto:[email protected]] >> Gesendet: Freitag, 17. Januar 2014 14:17 >> An: [email protected]; Kislinskiy, Stefan; >> [email protected] >> Betreff: Re: [mitk-users] Build error >> >> Hi Urban, >> >> The documentation is up-to-date and VS2008 SP1 is supported. However, we are >> using the professional version and do not test regularly with the express >> edition (the documentation lacks in that respect). >> >> Please try to find the "mc.exe" executable on your system (the "message >> compiler"). Maybe the express edition does not ship it. It is probably >> included in some Windows SDK as an extra download. If you do have it >> installed, you could help Poco find the mc.exe by pointing CMAKE_MC_COMPILER >> within the Poco CMake configuration to its path. >> >> Best, >> Sascha >> >> On 01/17/2014 02:03 PM, Urban Simoncic wrote: >>> Hi Stefan, >>> >>> thank you for quick response. I have MSVC2008 with SP1 - see the >>> attached image to determine what I have. Can I use the newer MSVC? I >>> installed MSVC2008 just because the documentation claims support for >>> MSVC2008 SP1. If that is outdated, please let me know which MSVC and >>> Qt shall I use (possibly MSVC Express edition that is free). >>> >>> Best, >>> Urban >>> >>> On 17.1.2014 13:34, Kislinskiy, Stefan wrote: >>>> Hi Urban, >>>> >>>> The CMake configuring of PocoFoundation fails: >>>> >>>> 4>CMake Error at Foundation/CMakeLists.txt:18 (message): >>>> 4> message compiler not found: required to build >>>> 4>-- Configuring incomplete, errors occurred! >>>> >>>> You might want to have a look at Poco-build/Foundation/CMakeLists.txt. >>>> There is a comment that states VS2008+ is needed. Do you already installed >>>> the Service Pack for VS2008? >>>> >>>> Cheers, >>>> Stefan >>>> ________________________________________ >>>> Von: Urban Simoncic [[email protected]] >>>> Gesendet: Freitag, 17. Januar 2014 13:06 >>>> An: [email protected] >>>> Betreff: [mitk-users] Build error >>>> >>>> Hi, >>>> >>>> I am trying to build the MITK for a few days, without much success. >>>> Because I don't know much about the MITK code, I have hard time to >>>> locate the error from the compiler output. So, I am sending the >>>> output of the compiler, hoping that someone can tell me what I am doing >>>> wrong. >>>> >>>> Thank you, >>>> Urban >>>> PS: I am working on Win 7 64 bit, using MSVC 2008 Express. >>>> >>>> >>>> > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
