Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sq975
openpose
提交
2bfdc5e0
O
openpose
项目概览
sq975
/
openpose
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openpose
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2bfdc5e0
编写于
4月 12, 2018
作者:
G
gineshidalgo99
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added pthread in Ubuntu
上级
8e13c82a
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
15 addition
and
3 deletion
+15
-3
CMakeLists.txt
CMakeLists.txt
+7
-3
doc/faq.md
doc/faq.md
+8
-0
未找到文件。
CMakeLists.txt
浏览文件 @
2bfdc5e0
...
...
@@ -201,11 +201,11 @@ option(BUILD_SHARED_LIBS "Build as shared lib" ON)
# Speed profiler
option
(
PROFILER_ENABLED
"If enabled, OpenPose will be able to print out speed information at runtime."
OFF
)
# Threads
if
(
${
GPU_MODE
}
MATCHES
"OPENCL"
)
# Threads
- Pthread
if
(
${
GPU_MODE
}
MATCHES
"OPENCL"
OR
(
UNIX AND NOT APPLE
)
)
unset
(
CMAKE_THREAD_LIBS_INIT CACHE
)
find_package
(
Threads
)
endif
()
endif
(
${
GPU_MODE
}
MATCHES
"OPENCL"
OR
(
UNIX AND NOT APPLE
)
)
### FIND REQUIRED PACKAGES
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/Modules"
)
...
...
@@ -607,6 +607,10 @@ endif (WITH_CERES)
if
(
WITH_FLIR_CAMERA
)
set
(
OpenPose_3rdparty_libraries
${
OpenPose_3rdparty_libraries
}
${
SPINNAKER_LIB
}
)
endif
(
WITH_FLIR_CAMERA
)
# Pthread
if
(
UNIX AND NOT APPLE
)
set
(
OpenPose_3rdparty_libraries
${
OpenPose_3rdparty_libraries
}
pthread
)
endif
(
UNIX AND NOT APPLE
)
set
(
examples_3rdparty_libraries
${
OpenPose_3rdparty_libraries
}
${
GFLAGS_LIBRARY
}
)
...
...
doc/faq.md
浏览文件 @
2bfdc5e0
...
...
@@ -11,6 +11,7 @@ OpenPose - Frequently Asked Question (FAQ)
6.
[
Cannot Find OpenPose.dll Error
](
#cannot-find-openpose.dll-error-windows
)
7.
[
Free Invalid Pointer Error
](
#free-invalid-pointer-error
)
8.
[
Source Directory does not Contain CMakeLists.txt (Windows)
](
#source-directory-does-not-contain-cmakelists.txt-windows
)
9.
[
How Should I Link my IP Camera?
](
#how-should-i-link-my-ip-camera
)
...
...
@@ -80,3 +81,10 @@ Note: OpenPose library is not an executable, but a library. So instead clicking
**Q: I am getting an error of the type: `The source directory {path to file} does not contain a CMakeLists.txt file.`.**
**A**
: You might not have writing access to that folder. If you are in Windows, you should not try to install it in
`Program Files`
.
### How Should I Link my IP Camera?
**Q: How Should I Link my IP Camera with http protocol?.**
**A**
: Usually with
`http://CamIP:PORT_NO./video?x.mjpeg`
.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录