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
2b3d8609
Commit
2b3d8609
authored
Nov 30, 2017
by
Davis King
Browse files
These examples compile now in visual studio due to the recent pragma directive added to core.h.
parent
c409c363
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
examples/CMakeLists.txt
examples/CMakeLists.txt
+2
-3
No files found.
examples/CMakeLists.txt
View file @
2b3d8609
...
...
@@ -125,6 +125,8 @@ if (NOT USING_OLD_VISUAL_STUDIO_COMPILER)
add_gui_example
(
dnn_mmod_find_cars2_ex
)
add_example
(
dnn_mmod_train_find_cars_ex
)
add_gui_example
(
dnn_semantic_segmentation_ex
)
add_example
(
dnn_imagenet_train_ex
)
add_example
(
dnn_metric_learning_on_images_ex
)
if
(
NOT MSVC
)
# Don't try to compile these programs using Visual Studio since it causes the
# compiler to run out of RAM and to crash. Maybe someday Visual Studio
...
...
@@ -133,12 +135,9 @@ if (NOT USING_OLD_VISUAL_STUDIO_COMPILER)
# run out of memory, running a 64-bit MSBuild.exe on the Command Prompt
# seems to work fine. So you can try something like this:
# "C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\MSBuild.exe" C:\path\to\examples.sln /p:Configuration=Release /p:Platform=x64 /t:dnn_imagenet_train_ex
# It does take quite a while to build these examples, though!
# Note that you may additionally need to set Debug Information Format to
# C7 compatible (/Z7), in case you get compiler error "cannot update
# program database".)
add_example
(
dnn_imagenet_train_ex
)
add_example
(
dnn_metric_learning_on_images_ex
)
add_example
(
dnn_semantic_segmentation_train_ex
)
endif
()
endif
()
...
...
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