[mlpack-git] [mlpack] I'm trying to execute this simple program. I'm getting an error while compiling. I'm compiling using g++ simple.cpp -I /usr/local/include -L /usr/local/lib -lmlpack. Here I'm attaching the program and log file after compiling. (#503)

Ryan Curtin notifications at github.com
Tue Jan 19 08:41:58 EST 2016


Hi there,

Take a look at the first error message:

```
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
```

You need to add `-std=c++11` to your call to g++. :)

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/503#issuecomment-172857604
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160119/c942bc74/attachment.html>


More information about the mlpack-git mailing list