Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
6bdff29a
Commit
6bdff29a
authored
Feb 29, 2012
by
Davis King
Browse files
updated docs
parent
659f9356
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
docs/docs/compile.xml
docs/docs/compile.xml
+3
-1
No files found.
docs/docs/compile.xml
View file @
6bdff29a
...
@@ -73,7 +73,7 @@ and compile by clicking the build button.
...
@@ -73,7 +73,7 @@ and compile by clicking the build button.
<code_box>
<code_box>
g++ -O3 -I.. -lpthread -lX11 ../dlib/all/source.cpp example_program_name.cpp
g++ -O3 -I.. -lpthread -lX11 ../dlib/all/source.cpp example_program_name.cpp
</code_box>
</code_box>
Note
also
that not all examples require this much work. For example, the svm_ex.cpp example
Note that not all examples require this much work. For example, the svm_ex.cpp example
can be compiled with just:
can be compiled with just:
<code_box>
<code_box>
g++ -O3 -I.. svm_ex.cpp
g++ -O3 -I.. svm_ex.cpp
...
@@ -91,6 +91,8 @@ sudo apt-get install libx11-dev
...
@@ -91,6 +91,8 @@ sudo apt-get install libx11-dev
<p>
<p>
The commands for gcc on windows are the same as above but you may also have to link
The commands for gcc on windows are the same as above but you may also have to link
(via the -l option) to the following libraries: gdi32, comctl32, user32, ws2_32, or imm32.
(via the -l option) to the following libraries: gdi32, comctl32, user32, ws2_32, or imm32.
However, it's worth pointing out that Visual Studio Express is free and a much better choice for
windows development than gcc.
</p>
</p>
<h2>
Compiling on Windows using Visual Studio
</h2>
<h2>
Compiling on Windows using Visual Studio
</h2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment