RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.34k stars 1.26k forks source link

update matlab and visual studio minimum version requirements on windows (so we have full c++11 support) #1165

Closed RussTedrake closed 8 years ago

tkoolen commented 9 years ago

MSVC/Matlab compatibility:

Short story: MSVC 2012 is supported from Matlab 2013a onwards, MSVC 2013 is supported from Matlab 2014a onwards.

C++11 compatibility for MSVC: https://msdn.microsoft.com/en-us/library/hh567368.aspx

Even MSVC 2013 is not very up to date with C++11, but it's much better than 2010. I would personally like MSVC 2013 because 1) compared to MSVC 2012, it does defaulted and deleted functions, delegating constructors, and variadic templates 2) I imagine if you have access to Matlab 2013a, you probably also have access to 2014a

RussTedrake commented 9 years ago

is msvc2013 freely available?

tkoolen commented 9 years ago

Looks like there's a free version called Visual Studio Community 2013: https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx

An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.

RussTedrake commented 9 years ago

note that gcc4.7 is a little annoying to install on ubuntu 12.04, but possible: http://askubuntu.com/a/315220

rdeits commented 9 years ago

That's basically what I'm already doing in the Travis gcc-4.8 branch (since Travis runs 12.04)

On Sun, Aug 23, 2015, 12:14 PM Russ Tedrake notifications@github.com wrote:

note that gcc4.7 is a little annoying to install on ubuntu 12.04, but possible: http://askubuntu.com/a/315220

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/1165#issuecomment-133871145 .

RussTedrake commented 9 years ago

At this point, we have officially made this change. I have updated the compiler minimal version logic for gcc in the drake CMakeLists.txt, but we still need to do it for MSVC. Minimal version is now MSVC 2013.

tkoolen commented 9 years ago

Awesome!

On Wed, Aug 26, 2015 at 10:23 PM, Russ Tedrake notifications@github.com wrote:

At this point, we have officially made this change. I have updated the compiler minimal version logic for gcc in the drake CMakeLists.txt, but we still need to do it for MSVC. Minimal version is now MSVC 2013.

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/1165#issuecomment-135253367 .

RussTedrake commented 9 years ago

According to this, we should increment our minimal supported version of MATLAB to R2014a.

tkoolen commented 9 years ago

Yeah, probably a good idea. But the fact that Matlab 2012a worked on drake003 for so long makes me wonder if we really need to stop supporting older versions. Or maybe we can support older versions for the binary install?

psiorx commented 9 years ago

I've been testing the Windows precompiled distro on 2013b.

On Wed, Oct 7, 2015 at 10:07 AM, Twan Koolen notifications@github.com wrote:

Yeah, probably a good idea. But the fact that Matlab 2012a worked on drake003 for so long makes me wonder if we really need to stop supporting older versions. Or maybe we can support older versions for the binary install?

— Reply to this email directly or view it on GitHub https://github.com/RobotLocomotion/drake/issues/1165#issuecomment-146205482 .

tkoolen commented 8 years ago

Close?