mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Made compilation directions simpler
This commit is contained in:
parent
1d3b429f40
commit
42d5b96005
@ -59,14 +59,11 @@ cd examples
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . --config Release
|
||||
</code_box>
|
||||
Then cmake will create whatever is needed to compile the examples on your computer. If you are using Linux
|
||||
or a Mac it will create a makefile and then you can compile everything by typing:
|
||||
<code_box>
|
||||
make
|
||||
</code_box>
|
||||
Or on windows, if you have Visual Studio installed, it will make a Visual Studio project which you can then open
|
||||
and compile by clicking the build button.
|
||||
Note that you also need to have a C++ compiler installed on your system. There are free C++ compilers
|
||||
for most operating systems. For example, Visual Studio Express is free on Windows and GCC is free and
|
||||
works well on Mac OS X and Linux systems.
|
||||
|
||||
<h2>Compiling on Linux From Command Line</h2>
|
||||
From within the examples folder, you can compile any of the examples with a single command like so:
|
||||
|
Loading…
Reference in New Issue
Block a user