[mlpack-git] [mlpack/mlpack] How to build mlpack with visual studio 2013 (#659)

Lau notifications at github.com
Tue May 31 05:40:21 EDT 2016


I'm using vs 2013 to develope my programs. And I need to use mlpack built by vs2013. But there is a lot of errors when I build it with vc2013 on windows 10. 
My cmake settings are as following:
http://imgdata.hoop8.com/1605/0403663629894.png 
Since vs2013 doesn't support 'constexp' keyword, change the line 34 of gaussian_distribution.hpp
`static const constexpr double log2pi = 1.83787706640934533908193770912475883;`
to
`double log2pi = 1.83787706640934533908193770912475883;`
Then, I build ALL_BUILD, the error list is in the attachments Error_List.txt.
[Error_List.txt](https://github.com/mlpack/mlpack/files/290747/Error_List.txt)

The BLAS.lib and LAPACK.lib are downloaded from internet, since I could not build them with vs2013 successfully either.

Could anybody tell me how to do a correct build?
Thank you!

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/659
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160531/1a0a6ce5/attachment.html>


More information about the mlpack-git mailing list