openglsuperbible / sb7code

Source code and supporting material for the 7th Edition of OpenGL SuperBible
727 stars 251 forks source link

No "CmakeList.txt" under build folder #10

Closed DLyons closed 8 years ago

DLyons commented 8 years ago

When following this step of the build instructions:

Open a command prompt and change to the build directory in the source archive. Type: cmake -G "Visual Studio 12" .

The following error is thrown;

Make Error: The source directory "D:/Projects/sb7code/build" does not appear to contain CMakeLists.txt.

Despite there being a file named

!RUN CMAKE FROM HERE.txt

However running it from the root directory works.

jslee02 commented 8 years ago

Why did you add """ right after ..? It should work without """. If you intended to add cmake options then you should at least put a space between .. and the options like cmake -G "Visual Studio 12" .. -DSOME_OPTION=VALUE.

DLyons commented 8 years ago

Triple quotes were a typo.

jslee02 commented 8 years ago

Please try with this command:

cmake -G "Visual Studio 12" ..

You should use .. instead of ..

DLyons commented 8 years ago

Ahh well spotted, my mistake entirely.

PhilParisot commented 6 years ago

do the periods make any difference?