Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
79a56e56
Commit
79a56e56
authored
Aug 13, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo and updated references to visual studio.
parent
70eecbd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
compile.xml
docs/docs/compile.xml
+2
-4
No files found.
docs/docs/compile.xml
View file @
79a56e56
...
...
@@ -24,7 +24,7 @@ cmake ..
cmake --build . --config Release
</code_box>
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
for most operating systems. For example, Visual Studio is free on Windows and GCC is free and
works well on Mac OS X and Linux systems. If you have multiple compilers/IDEs installed then you can
tell CMake which one you want it to use via the -G option.
<p>
...
...
@@ -38,7 +38,7 @@ tell CMake which one you want it to use via the -G option.
Finally, note that when using Visual Studio, CMake will by default generate a 32bit executable.
This means the programs you compile will only be able to use 2GB of RAM. To avoid this, you need
to tell CMake to generate a 64bit executable. You do this by using a command like
<code_box>
cmake -G "Visual Studio 1
0
2015 Win64" ..
</code_box>
instead of
<code_box>
cmake ..
</code_box>
<code_box>
cmake -G "Visual Studio 1
4
2015 Win64" ..
</code_box>
instead of
<code_box>
cmake ..
</code_box>
You can see the list of valid arguments to
<tt>
-G
</tt>
by running
<tt>
cmake
</tt>
with no options.
</p>
...
...
@@ -129,8 +129,6 @@ sudo apt-get install libx11-dev
<p>
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, winmm, 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>
<h3>
Compiling on Windows Using Visual Studio
</h3>
...
...
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