Hi Michel,
MITK and SOFA have some common third-party dependencies. We try to build these only once and use them in both MITK and SOFA, but that doesn't work for all libraries. In case of Eigen, our version of SOFA (which is from the beginning of 2015 btw), uses its own, already packaged, header-only Eigen. So if I remember correctly, it isn't a trivial task to inject your own Eigen to SOFA through the MITK-superbuild. However, building SOFA with MITK is supposed to be as easy as any other feature of MITK, which is why it should work out of the box by simply switching on MITK_USE_SOFA. This is tested by our dart clients and works for Windows (MSVC), Linux, and OS X. As Sascha said, switching on MITK_USE_SOFA will automatically switch on common dependencies like the necessary Boost libraries. Hence, for the beginning, I highly recommend not to put extra work in fiddling around with external toolkits. In fact, the only manual steps necessary should be to set the right Qt path if it wasn't detecte d automatically, switch on MITK_USE_SOFA, run the superbuild, and after it's finished, go one level down to the actual MITK build and switch on the org.mitk.gui.qt.simulation plugin in CMake. Please note, that MITK 2016.03 doesn't support MSVC 2012 anymore, so you should use MITK 2015.05.2 instead, if you don't do so already. Regarding the CMake output: If you're using CMake GUI, just copy the error message from its output window. If you use command line CMake, you can either copy the error from the terminal or in general just look for the files CMakeOutput.log and CMakeError.log in the build directory. I'm happy to help you with MITK+SOFA. Please don't hesitate to ask. Best, Stefan ________________________________ Von: Audette, Michel A. <maude...@odu.edu> Gesendet: Freitag, 30. September 2016 22:15 An: Sascha Zelzer; mitk-users@lists.sourceforge.net Betreff: Re: [mitk-users] Superbuild on Windows MSVC 2012 leads to incomplete building of Boost libraries Hi Sascha, for the time being, I am trying to get around that by using a prebuilt Boost externally, where it was building properly only 3 of the Boost libraries (thread, system, forget the third), however I'm still up against a problem compiling Eigen. I've seen that before trying to compile Sofa standalone on Windows. I will try with separate Eigen build as well and report back. For my future use, when you say CMake output, where do I look for this file? Is it a log file of some kind? Best wishes, Michel Michel Audette, Ph.D. Assistant Professor, Department of Modeling, Simulation and Visualization Engineering, Old Dominion University, Norfolk, VA. ________________________________ From: Sascha Zelzer <sascha.zel...@gmail.com> Sent: Friday, September 30, 2016 4:00:35 PM To: Audette, Michel A.; mitk-users@lists.sourceforge.net Subject: Re: [mitk-users] Superbuild on Windows MSVC 2012 leads to incomplete building of Boost libraries Hi, normally, the MITK superbuild sets the required boost libraries depending on the MITK_USE_* CMake variables being set to ON. E.g. if MITK_USE_SOFA is on, it adds the system, thread and chrono library. If you send us the full cmake output, it is easier to tell what is going on and which dependency requires data_time and atomic. However, you can manually append required libraries in the MITK_USE_Boos_LIBRARIES cmake variable (e.g. using the CMake GUI). It would look like "date_time;atomic", but I am wondering why this is needed at all. Cheers, Sascha On 09/30/2016 05:25 PM, Audette, Michel A. wrote: Hello, I would like to build MITK with SOFA, using MS Visual Studio 2012 (with service packs) and the superbuild does not seem to produce all of the needed Boost libraries. The build process complains of the following: 19> Unable to find the requested Boost libraries. 19> 19> Boost version: 1.59.0 19> 19> Boost include path: C:/MITK/MITK16.3.0-buildMSVS2012/ep/include/boost-1_59 19> 19> Could not find the following Boost libraries: 19> 19> boost_date_time 19> boost_atomic Is there an easy fix? Best wishes, Michel Audette, Ph.D. Assistant Professor, Department of Modeling, Simulation and Visualization Engineering, Old Dominion University, Norfolk, VA. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=01%7C01%7Cmaudette%40odu.edu%7Cae0d2d5222b447b6581c08d3e96c72f1%7C48bf86e811a24b8a8cb368d8be2227f3%7C0&sdata=gJHXITch8GRjmaa4PyzLBR4kV9rIN6s7CFID5P6BFcs%3D&reserved=0> _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/mitk-users<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fmitk-users&data=01%7C01%7Cmaudette%40odu.edu%7Cae0d2d5222b447b6581c08d3e96c72f1%7C48bf86e811a24b8a8cb368d8be2227f3%7C0&sdata=5GMDBFDHANhilKuDcL92Xqtuv0ecspnUAmG2HlDLCVI%3D&reserved=0> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users