Hi again,

please disregard the previous message. I had intended to set the external Boost 
path and ended up setting the GLUT path by mistake.


I am trying again with a fresh build. I have found that the superbuild fails 
due to ITK if the ITK path is longer than 50 characters, so I am trying once 
more with a shorter total pathname. I don't know if it says that on your 
website, but you should state that somewhere. Still building right now; will 
follow up shortly.


Cheers,


Michel


Michel Audette, Ph.D.
Assistant Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.

________________________________
From: Audette, Michel A.
Sent: Tuesday, October 25, 2016 2:18:50 PM
To: Kislinskiy, Stefan; Sascha Zelzer; mitk-users@lists.sourceforge.net
Subject: Re: [mitk-users] Superbuild on Windows MSVC 2012 leads to incomplete 
building of Boost libraries


Hi Stefan and Sascha,


I neglected to follow up on this due to MICCAI and some proposals that were 
outgoing these past few weeks.


I'm back at it. I am using MSVE 2012, and somehow it complained about Boost, 
but that went away when I gave it an external Boost. The build is still 
complaining about something:

Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR).


Is this due to the build process? Can I find a workaround with an external 
FreeGlut?


Cheers,


Michel

Michel Audette, Ph.D.
Assistant Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.

________________________________
From: Audette, Michel A. <maude...@odu.edu>
Sent: Monday, October 3, 2016 9:34:24 AM
To: Kislinskiy, Stefan; Sascha Zelzer; mitk-users@lists.sourceforge.net
Subject: Re: [mitk-users] Superbuild on Windows MSVC 2012 leads to incomplete 
building of Boost libraries


Hi Stefan,


thanks for your kind reply and support. I will give it a try with MITK 
2015.05.2 and report back.


Cheers,


Michel


Michel Audette, Ph.D.
Assistant Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.

________________________________
From: Kislinskiy, Stefan <s.kislins...@dkfz-heidelberg.de>
Sent: Saturday, October 1, 2016 4:14:24 AM
To: Audette, Michel A.; Sascha Zelzer; mitk-users@lists.sourceforge.net
Subject: AW: [mitk-users] Superbuild on Windows MSVC 2012 leads to incomplete 
building of Boost libraries

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 detected 
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! 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=01%7C01%7Cmaudette%40odu.edu%7C356a40a078934b1543fa08d3e9d2fc92%7C48bf86e811a24b8a8cb368d8be2227f3%7C0&sdata=ylP%2FYLT7vULc8NTCtCF3J%2BAOePKAyID8XqeCzD%2F5Srk%3D&reserved=0<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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fmitk-users&data=01%7C01%7Cmaudette%40odu.edu%7C356a40a078934b1543fa08d3e9d2fc92%7C48bf86e811a24b8a8cb368d8be2227f3%7C0&sdata=iLRWIY3vGCUIXEK%2B%2BE%2BJi6WNi5PmrwzBTXWkd%2BcZx6s%3D&reserved=0<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>


------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to