From 3c1e35d568b815038eae2d94de1ba128932873fd Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Thu, 25 Jun 2015 08:25:49 -0400 Subject: [PATCH] missing c++11 flag in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd226a035..2a0e60877 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ If you save this in `hello.cpp`, then you could compile this with (assuming Eigen is installed in `/usr/local/include/eigen3`): ```bash -gcc -I/usr/local/include/eigen3 -I./libigl/include/ hello.cpp -o hello +g++ -std=c++11 -I/usr/local/include/eigen3 -I./libigl/include/ hello.cpp -o hello ``` Running `./hello` would then produce