Skip to content

Commit 8bc8fe3

Browse files
committed
Fixed missing "2015" in Windows cmake command
All new versions of cmake include this in the generator name. What's a bit weird however is that on my system with cmake 3.3.2 it works without "2015", even though the help says "Visual Studio 14 2015 [arch]". Maybe it's still allowed for legacy reasons on some cmake versions.
1 parent cba6fd3 commit 8bc8fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This is a demo app showing face tracking and 3D Morphable Model fitting on live
3333
3434
2. `cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 -DOpenCV_haarcascades_DIR=/usr/share/opencv/haarcascades/ ../4dface/`
3535
36-
On Windows, add `-G "Visual Studio 14 Win64"`. Also, you will probably need to add `-C ../4dface/initial_cache.cmake` as first argument - copy the file from `initial_cache.cmake.template` and adjust the paths.
36+
On Windows, add `-G "Visual Studio 14 2015 Win64"`. Also, you will probably need to add `-C ../4dface/initial_cache.cmake` as first argument - copy the file from `initial_cache.cmake.template` and adjust the paths.
3737
3838
If you get an error about OpenCV\_haarcascades\_DIR, adjust `-DOpenCV_haarcascades_DIR` to point to the directory of `haarcascade_frontalface_alt2.xml` from OpenCV.
3939

0 commit comments

Comments
 (0)