got snopt working on windows.

updates lots of code to support the build w/ snopt on windows
  - the existence of snopt turned on the compilation of many pieces of code that were not compiled on windows before.  (e.g. the constraints, ik, ...). 
  - went through and quieted all of the compiler warnings on msvc 10.  lots of static_cast<int>
  - had to be more careful with some of the DLLEXPORTS.  should really go and give specific names to every DLLEXPORT.  will add that to the list.

Please check this carefully for me.   
correct.  the original cast to bool was ok on non-windows, but msvc wanted me to be more explicit.
On Nov 19, 2014, at 5:45 AM, Robin Deits <notifications@github.com> wrote:

> In systems/DCSFunction.cpp:
> 
> > @@ -19,7 +19,7 @@ bool isa(const mxArray* mxa, const char* class_str)
> >    prhs[0] = const_cast<mxArray*>(mxa);
> >    prhs[1] = mxCreateString(class_str);
> >    mexCallMATLAB(1,&plhs,2,prhs,"isa");
> > -  bool tf = (bool) mxGetScalar(plhs);
> > +  bool tf = (mxGetScalar(plhs)!=0.0);
> so mxGetScalar automatically casts the logical returned by isa() to double and then we do this to get a bool back out? This seems kind of icky, but I guess it makes sense.
> 
> —
> Reply to this email directly or view it on GitHub.
>