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
a4c38a62
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "bfe8b4131505d4ee722276abfe1d752234ffd465"
Commit
a4c38a62
authored
Sep 28, 2015
by
Davis King
Browse files
More python build script improvements for windows.
parent
28247609
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
dlib/add_python_module
dlib/add_python_module
+2
-6
No files found.
dlib/add_python_module
View file @
a4c38a62
...
@@ -56,12 +56,8 @@ if (NOT WIN32)
...
@@ -56,12 +56,8 @@ if (NOT WIN32)
endif()
endif()
if (PYTHON3)
if (PYTHON3)
# On some systems the boost python3 module is called python-py34 so check
# On some systems the boost python3 module is called python-py34 so check
# for that one. Then if you don't find that then look for a few other
# for that one first.
# names before findly trying just "python".
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python-py34 )
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python-py34 )
if (NOT Boost_FOUND)
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python3)
endif()
if (NOT Boost_FOUND)
if (NOT Boost_FOUND)
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python)
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python)
endif()
endif()
...
@@ -89,7 +85,7 @@ if (NOT Boost_FOUND)
...
@@ -89,7 +85,7 @@ if (NOT Boost_FOUND)
message(STATUS " b2 install")
message(STATUS " b2 install")
message(STATUS " And then add the output bin folder to your PATH. Usually this is the C:\\boost-build-engine\\bin")
message(STATUS " And then add the output bin folder to your PATH. Usually this is the C:\\boost-build-engine\\bin")
message(STATUS " folder. Finally, go to the boost root and run a command like this:")
message(STATUS " folder. Finally, go to the boost root and run a command like this:")
message(STATUS " b2 --with-python address-model=64 toolset=msvc
--build-type=complete
")
message(STATUS " b2
-a
--with-python address-model=64 toolset=msvc
runtime-link=static
")
message(STATUS " When it completes, set BOOST_LIBRARYDIR equal to wherever b2 put the compiled libraries.")
message(STATUS " When it completes, set BOOST_LIBRARYDIR equal to wherever b2 put the compiled libraries.")
message(STATUS " Note that you will need to set the address-model based on if you want a 32 or 64bit python library.")
message(STATUS " Note that you will need to set the address-model based on if you want a 32 or 64bit python library.")
message(STATUS "")
message(STATUS "")
...
...
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