【Linux开发】OpenCV在ARM-linux上的移植过程遇到的问题3—共享库中嵌套库居然带路径【未解决】

标签(空格分隔): 【Linux开发】


移植opencv到tq2440

  1. 一、下载opencvcmake
  2. 1download opencv_2.3.1
  3. OpenCV-2.3.1a.tar.bz2
  4. 下载链接:http://opencv.org/downloads.html
  5. 2download cmake
  6. //cmake-3.1.0.tar.gz //without gui
  7. cmake-3.1.0-Linux-i386.sh
  8. 下载链接:http://www.cmake.org/cmake/resources/software.html
  9. 二、将下载文件放入linux
  10. 1cmake
  11. 文件路径
  12. /opt/EmbedSky/cmake/cmake-3.1.0
  13. 解压
  14. [root@EmbedSky cmake-3.1.0]# tar -xzvf cmake-3.1.0.tar.gz -C ./
  15. 2opencv
  16. 文件路径
  17. where is the source code:
  18. /opt/EmbedSky/opencv_2_3_1/OpenCV-2.3.1
  19. where to build the binaries:
  20. /opt/EmbedSky/opencv_2_3_1/opencv_forArm
  21. #./cmake-3.1.0-Linux-i386.sh
  22. #cd cmake-3.1.0-Linux-i386
  23. #cd bin
  24. #./cmake-gui
  25. where is the source code:/opt/EmbedSky/opencv_2_3_1/OpenCV-2.3.1
  26. where to build the binaries:/opt/EmbedSky/opencv_2_3_1/opencv_forArm
  27. 然后,点击Configure,保持generatorUnix Makefiles,选择Specify options for cross-compiling,点击Next
  28. Operating System填写arm-linux 或者 Linux 注意L是大写(我用的是这个,ok的)
  29. C Compilers填写/opt/EmbedSky/4.3.3/bin/arm-linux-gcc
  30. C++ Compilers填写/opt/EmbedSky/4.3.3/bin/arm-linux-g++
  31. Target Root填写/opt/EmbedSky/4.3.3
  32. 点击finish
  33. ///////////////////////////////////////
  34. err1:
  35. System is unknown to cmake, create:
  36. Platform/arm-linux to use this system, please send your config file to cmake@www.cmake.org so it can be added to cmake
  37. Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to cmake@www.cmake.org.
  38. Extracting svn version, please wait...
  39. SVNVERSION: exported
  40. Detected version of GNU GCC: 20091 (200901)
  41. Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS)
  42. Unknown option: -B
  43. usage: /usr/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
  44. Try `python -h' for more information.
  45. Unknown option: -B
  46. usage: /usr/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
  47. Try `python -h' for more information.
  48. CUDA_TOOLKIT_ROOT_DIR not found or specified
  49. CMake Error at /opt/EmbedSky/cmake/cmake-3.1.0-Linux-i386/share/cmake-3.1/Modules/FindCUDA.cmake:616 (if):
  50. if given arguments:
  51. "CUDA_VERSION" "VERSION_GREATER" "5.0" "AND" "CMAKE_CROSSCOMPILING" "AND" "MATCHES" "arm" "AND" "EXISTS" "CUDA_TOOLKIT_ROOT_DIR-NOTFOUND/targets/armv7-linux-gnueabihf"
  52. Unknown arguments specified
  53. Call Stack (most recent call first):
  54. CMakeLists.txt:958 (find_package)
  55. Configuring incomplete, errors occurred!
  56. See also "/opt/EmbedSky/opencv_2_3_1/opencv_forArm/CMakeFiles/CMakeOutput.log".
  57. anwser:将 WITH_CUDA的钩去掉
  58. //////////////////////////////////////////
  59. err2:
  60. CMake Warning (dev) at CMakeLists.txt:1508 (add_custom_target):
  61. Policy CMP0037 is not set: Target names should not be reserved and should
  62. match a validity pattern. Run "cmake --help-policy CMP0037" for policy
  63. details. Use the cmake_policy command to set the policy and suppress this
  64. warning.
  65. The target name "package_source" is reserved or not valid for certain CMake
  66. features, such as generator expressions, and may result in undefined
  67. behavior.
  68. This warning is for project developers. Use -Wno-dev to suppress it.
  69. anwser2:WITH_TIFF去掉
  70. ////////////////////////////////////////
  71. System is unknown to cmake, create:
  72. Platform/arm-linux to use this system, please send your config file to cmake@www.cmake.org so it can be added to cmake
  73. Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to cmake@www.cmake.org.
  74. Extracting svn version, please wait...
  75. SVNVERSION: exported
  76. Detected version of GNU GCC: 20091 (200901)
  77. Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS)
  78. Unknown option: -B
  79. usage: /usr/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
  80. Try `python -h' for more information.
  81. Unknown option: -B
  82. usage: /usr/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
  83. Try `python -h' for more information.
  84. Parsing 'cvconfig.h.cmake'
  85. CMake Warning (dev) at CMakeLists.txt:1508 (add_custom_target):
  86. Policy CMP0037 is not set: Target names should not be reserved and should
  87. match a validity pattern. Run "cmake --help-policy CMP0037" for policy
  88. details. Use the cmake_policy command to set the policy and suppress this
  89. warning.
  90. The target name "package_source" is reserved or not valid for certain CMake
  91. features, such as generator expressions, and may result in undefined
  92. behavior.
  93. This warning is for project developers. Use -Wno-dev to suppress it.
  94. CMake Warning (dev) at OpenCVModule.cmake:158 (get_target_property):
  95. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  96. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  97. command to set the policy and suppress this warning.
  98. The LOCATION property should not be read from target "opencv_test_calib3d".
  99. Use the target name directly with add_custom_command, or use the generator
  100. expression $<TARGET_FILE>, as appropriate.
  101. Call Stack (most recent call first):
  102. modules/calib3d/CMakeLists.txt:1 (define_opencv_module)
  103. This warning is for project developers. Use -Wno-dev to suppress it.
  104. CMake Warning (dev) at OpenCVModule.cmake:158 (get_target_property):
  105. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  106. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  107. command to set the policy and suppress this warning.
  108. The LOCATION property should not be read from target "opencv_test_core".
  109. Use the target name directly with add_custom_command, or use the generator
  110. expression $<TARGET_FILE>, as appropriate.
  111. Call Stack (most recent call first):
  112. modules/core/CMakeLists.txt:8 (define_opencv_module)
  113. This warning is for project developers. Use -Wno-dev to suppress it.
  114. CMake Warning (dev) at OpenCVModule.cmake:158 (get_target_property):
  115. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  116. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  117. command to set the policy and suppress this warning.
  118. The LOCATION property should not be read from target
  119. "opencv_test_features2d". Use the target name directly with
  120. add_custom_command, or use the generator expression $<TARGET_FILE>, as
  121. appropriate.
  122. Call Stack (most recent call first):
  123. modules/features2d/CMakeLists.txt:1 (define_opencv_module)
  124. This warning is for project developers. Use -Wno-dev to suppress it.
  125. CMake Warning (dev) at modules/highgui/CMakeLists.txt:418 (get_target_property):
  126. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  127. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  128. command to set the policy and suppress this warning.
  129. The LOCATION property should not be read from target "opencv_test_highgui".
  130. Use the target name directly with add_custom_command, or use the generator
  131. expression $<TARGET_FILE>, as appropriate.
  132. This warning is for project developers. Use -Wno-dev to suppress it.
  133. CMake Warning (dev) at modules/highgui/CMakeLists.txt:418 (get_target_property):
  134. Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  135. interface. Run "cmake --help-policy CMP0022" for policy details. Use the
  136. cmake_policy command to set the policy and suppress this warning.
  137. Target "opencv_highgui" has an INTERFACE_LINK_LIBRARIES property which
  138. differs from its LINK_INTERFACE_LIBRARIES properties.
  139. INTERFACE_LINK_LIBRARIES:
  140. opencv_core;opencv_imgproc;zlib;libjpeg;libpng;libjasper
  141. LINK_INTERFACE_LIBRARIES:
  142. This warning is for project developers. Use -Wno-dev to suppress it.
  143. CMake Warning (dev) at OpenCVModule.cmake:158 (get_target_property):
  144. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  145. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  146. command to set the policy and suppress this warning.
  147. The LOCATION property should not be read from target "opencv_test_imgproc".
  148. Use the target name directly with add_custom_command, or use the generator
  149. expression $<TARGET_FILE>, as appropriate.
  150. Call Stack (most recent call first):
  151. modules/imgproc/CMakeLists.txt:1 (define_opencv_module)
  152. This warning is for project developers. Use -Wno-dev to suppress it.
  153. CMake Warning (dev) at OpenCVModule.cmake:158 (get_target_property):
  154. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  155. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  156. command to set the policy and suppress this warning.
  157. The LOCATION property should not be read from target "opencv_test_ml". Use
  158. the target name directly with add_custom_command, or use the generator
  159. expression $<TARGET_FILE>, as appropriate.
  160. Call Stack (most recent call first):
  161. modules/ml/CMakeLists.txt:1 (define_opencv_module)
  162. This warning is for project developers. Use -Wno-dev to suppress it.
  163. CMake Warning (dev) at OpenCVModule.cmake:158 (get_target_property):
  164. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  165. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  166. command to set the policy and suppress this warning.
  167. The LOCATION property should not be read from target
  168. "opencv_test_objdetect". Use the target name directly with
  169. add_custom_command, or use the generator expression $<TARGET_FILE>, as
  170. appropriate.
  171. Call Stack (most recent call first):
  172. modules/objdetect/CMakeLists.txt:1 (define_opencv_module)
  173. This warning is for project developers. Use -Wno-dev to suppress it.
  174. CMake Warning (dev) at OpenCVModule.cmake:158 (get_target_property):
  175. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  176. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  177. command to set the policy and suppress this warning.
  178. The LOCATION property should not be read from target "opencv_test_video".
  179. Use the target name directly with add_custom_command, or use the generator
  180. expression $<TARGET_FILE>, as appropriate.
  181. Call Stack (most recent call first):
  182. modules/video/CMakeLists.txt:1 (define_opencv_module)
  183. This warning is for project developers. Use -Wno-dev to suppress it.
  184. CMake Warning (dev) at modules/gpu/CMakeLists.txt:213 (get_target_property):
  185. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  186. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  187. command to set the policy and suppress this warning.
  188. The LOCATION property should not be read from target "opencv_test_gpu".
  189. Use the target name directly with add_custom_command, or use the generator
  190. expression $<TARGET_FILE>, as appropriate.
  191. This warning is for project developers. Use -Wno-dev to suppress it.
  192. CMake Warning (dev) at modules/gpu/CMakeLists.txt:88 (add_library):
  193. Policy CMP0038 is not set: Targets may not link directly to themselves.
  194. Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy
  195. command to set the policy and suppress this warning.
  196. Target "opencv_gpu" links to itself.
  197. This warning is for project developers. Use -Wno-dev to suppress it.
  198. General configuration for opencv 2.3.1 =====================================
  199. Built as dynamic libs?: YES
  200. Compiler: /opt/EmbedSky/4.3.3/bin/arm-linux-g++
  201. C++ flags (Release): -Wall -ffunction-sections -O3 -DNDEBUG -fomit-frame-pointer -DNDEBUG
  202. C++ flags (Debug): -Wall -ffunction-sections -g -O0 -DDEBUG -D_DEBUG -ggdb3
  203. Linker flags (Release):
  204. Linker flags (Debug):
  205. GUI:
  206. GTK+ 2.x: NO
  207. GThread: NO
  208. Media I/O:
  209. ZLib: build
  210. JPEG: build
  211. PNG: build
  212. TIFF:
  213. JPEG 2000: build
  214. OpenEXR: NO
  215. OpenNI: NO
  216. OpenNI PrimeSensor Modules: NO
  217. XIMEA: NO
  218. Other third-party libraries:
  219. Use IPP: NO
  220. Use TBB: NO
  221. Use Cuda: NO
  222. Use Eigen: NO
  223. Interfaces:
  224. Python: YES
  225. Python interpreter: /usr/bin/python -B (ver 2.5)
  226. Python numpy: NO (Python wrappers will not be generated)
  227. Java: NO
  228. Documentation:
  229. Sphinx: NO
  230. PdfLaTeX compiler: /usr/bin/pdflatex
  231. Build Documentation: NO
  232. Tests and samples:
  233. Tests: YES
  234. Examples: NO
  235. Install path: /usr/local
  236. cvconfig.h is in: /opt/EmbedSky/opencv_2_3_1/opencv_forArm
  237. -----------------------------------------------------------------
  238. Configuring done
  239. 有些警告忽略了
  240. #make
  241. /usr/lib/libImath.so: could not read symbols: File in wrong format
  242. collect2: ld returned 1 exit status
  243. make[2]: *** [lib/libopencv_highgui.so] 错误 1
  244. make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] 错误 2
  245. make: *** [all] 错误 2
  246. answer:
  247. remove BUILD_OPENEXR options
  248. #make
  249. ....
  250. [100%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/main.o
  251. Linking CXX executable ../../bin/opencv_stitching
  252. [100%] Built target opencv_stitching
  253. 参考:
  254. http://blog.sina.com.cn/s/blog_92942dba0101d1wj.html
  255. http://blog.csdn.net/embeddedman/article/details/7416934
  256. http://blog.csdn.net/chenaini119/article/details/39079965
  257. http://blog.csdn.net/eagelangel/article/details/7232364
  258. http://lbn321.blog.163.com/blog/static/227841017201422491245680/
  259. http://blog.csdn.net/b5w2p0/article/details/39211013
  260. <span style="color:#FF0000;">////////////////////////////////////////////////////////////////////////////
  261. 小的总结
  262. 以上是用CMAKE编译OPENCV2.3.1,需要主要几个问题:
  263. 1,下载cmake和opencv,解压到linux下,这步很简单不会有什么问题
  264. 2,怎么去config cmake,最关键的
  265. 参考:http://blog.csdn.net/luotuo44/article/details/8958990
  266. 3,修改CMakeCache.txt 添加-lpthread -ldl -lrt
  267. //Flags used by the linker.
  268. CMAKE_EXE_LINKER_FLAGS:STRING=-lpthread -lrt -ldl
  269. 4,make && make install
  270. 5,测试应用程序
  271. 6,移植到arm
  272. 我认为如果没有必要用更高opencv的话,比如opencv2.3.1
  273. 就用opencv2.0.0
  274. 为什么推荐opencv2.0呢,很简单,
  275. 1,没有cmake,直接config...就可以了;
  276. 2,节约时间;
  277. 3,最头痛的是 遇到一大推BUG,比如出现找不到链接库,最老火的是,那库就在那儿,它还说找不到,
  278. 哈哈,如果懂修改工具链会得到解决,我遇到这个问题,网上也有人遇到这个问题
  279. /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
  280. warning: ../../lib/libopencv_imgproc.so, needed by
  281. /opt/EmbedSky/4.3.3/arm-none-linux-gnueabi/lib/libopencv_highgui.so,
  282. not found (try using -rpath or -rpath-link)
  283. /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
  284. warning: ../../lib/libopencv_core.so, needed by
  285. /opt/EmbedSky/4.3.3/arm-none-linux-gnueabi/lib/libopencv_highgui.so,
  286. not found (try using -rpath or -rpath-link)
  287. 下面介绍一下移植opencv2.0.0
  288. 1,下载及解压
  289. 2,生成opencv编译后的目录,方便管理
  290. </span><h3><pre name="code" class="cpp"><span style="color:#FF0000;">#mkdir -p /opt/arm/opencv
  291. #mkdir -p /opt/arm/opencv/lib
  292. #mkdir -p /opt/arm/opencv/include</span>

2016-8-28 张朋艺 added:

【实际操作中遇到的问题:】

1. CMAKE之后的make命令错误:

  1. Linking CXX shared library ../../lib/libopencv_core.so
  2. /opt/EmbedSky/4.4.6/lib/gcc/arm-embedsky-linux-gnueabi/4.4.6/../../../../arm-embedsky-linux-gnueabi/bin/ld: ../../3rdparty/lib/libzlib.a(inflate.c.obj): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
  3. ../../3rdparty/lib/libzlib.a: could not read symbols: Bad value
  4. collect2: ld returned 1 exit status
  5. make[2]: *** [lib/libopencv_core.so] 错误 1
  6. make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] 错误 2
  7. make: *** [all] 错误 2

解决方法:

  1. 进入opencv目录下的3rdparty的对应目录CMakeFiles/ *.dir下,打开flags.make,在C_FLAGS = 后添加-O3 -fPIC用来支持在64位机上编译
  2. 如../3rdparty/zlib/CMakeFiles/zlib.dir/flags.make
  3. 修改C_FLAGS = -W -Wall C_FLAGS = -O3 -fPIC -W -Wall
  4. 和修改CXX_FLAGS = -W -Wall C_FLAGS = -O3 -fPIC -W -Wall

好像得对应到每一个出错的路径下进行修改(多个都出现这种问题的话)。

  1. 编译一个能在 arm 平台上用的动态库,结果报错如下:
  2. relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
  3. ./obj/xxx.o: could not read symbols: Bad value
  4. collect2: error: ld returned 1 exit status
  5. 其实错误信息已经给出解决办法了,加 -fPIC 参数从新编译(recompile with -fPIC)
  6. 所以如果是命令行,直接添加 -fPIC
  7. 如果是Makefile,添加编译选项:CFLAGS += -fPIC
  8. Done !

2. CMAKE的配置问题:

可以先用apt-get install cmake-gui获得CMAKE的图像化配置界面;

安装好之后,打开cmake-gui,然后选择source路径为OpenCv2.4.9,然后build路径可以放到另一个文件夹比如OpenCv2.4.9-arm,然后可以点击configure,然后配置交叉编译工具,选择:

丫丫个呸的!

最后也没搞定关于生成的动态链接库中共享库有路径的依赖关系的问题

比如 readelf -d libopencv_highgui.so

  1. root@huty-virtual-machine:/home/huty/opencv/opencv-2.4.9-arm/lib# readelf -d libopencv_highgui.so
  2. Dynamic section at offset 0x8c868 contains 29 entries:
  3. 标记 类型 名称/值
  4. 0x00000001 (NEEDED) 共享库:[../../lib/libopencv_core.so]
  5. 0x00000001 (NEEDED) 共享库:[../../lib/libopencv_imgproc.so]
  6. 0x00000001 (NEEDED) 共享库:[libstdc++.so.6]
  7. 0x00000001 (NEEDED) 共享库:[libm.so.6]
  8. 0x00000001 (NEEDED) 共享库:[libgcc_s.so.1]
  9. 0x00000001 (NEEDED) 共享库:[libc.so.6]
  10. 0x0000000c (INIT) 0x14979
  11. 0x0000000d (FINI) 0x82f1d
  12. 0x00000019 (INIT_ARRAY) 0x94000
  13. 0x0000001b (INIT_ARRAYSZ) 16 (bytes)
  14. 0x0000001a (FINI_ARRAY) 0x94010
  15. 0x0000001c (FINI_ARRAYSZ) 4 (bytes)
  16. 0x00000004 (HASH) 0x118
  17. 0x00000005 (STRTAB) 0x8428
  18. 0x00000006 (SYMTAB) 0x2838
  19. 0x0000000a (STRSZ) 32289 (bytes)
  20. 0x0000000b (SYMENT) 16 (bytes)
  21. 0x00000003 (PLTGOT) 0x94970
  22. 0x00000002 (PLTRELSZ) 7064 (bytes)
  23. 0x00000014 (PLTREL) REL
  24. 0x00000017 (JMPREL) 0x12de0
  25. 0x00000011 (REL) 0x10e78
  26. 0x00000012 (RELSZ) 8040 (bytes)
  27. 0x00000013 (RELENT) 8 (bytes)
  28. 0x6ffffffe (VERNEED) 0x10dc8
  29. 0x6fffffff (VERNEEDNUM) 4
  30. 0x6ffffff0 (VERSYM) 0x1024a
  31. 0x6ffffffa (RELCOUNT) 359
  32. 0x00000000 (NULL) 0x0

我也是哭了,反正,不想再弄了,直接在编译或者运行程序的时候把路径都放好就行了。

比如:

  1. 可执行程序:
  2. ./lib/../OpenCVTesting

或者直接用./OpenCVTesting/lib/bin/OpenCVTesting这样好了,lib路径下放opencv的库,bin路径下放可执行文件。

还有一个大问题就是cvNamedWindow不能运行的问题,就躲过算了,Qt来处理就好了,这种方法已经验证过了!

具体参看:

【Linux开发】OpenCV在ARM-linux上的移植过程遇到的问题1—cvNamedWindow调用报错的问题


2016-8-28 23:42

张朋艺 pyZhangBIT2010@126.com

OpenCV在ARM-linux上的移植过程遇到的问题3---共享库中嵌套库居然带路径【未解决】的更多相关文章

  1. 【Linux开发】OpenCV在ARM-linux上的移植过程遇到的问题4---共享库中嵌套库带路径【已解决】

    [Linux开发]OpenCV在ARM-linux上的移植过程遇到的问题4-共享库中嵌套库带路径[已解决] 标签:[Linux开发] 紧接着上一篇,我居然又尝试了一下编译opencv,主要是因为由于交 ...

  2. Boa服务器在ARM+Linux上的移植

    下面给大家介绍一下Boa服务器移植的具体操作步骤,希望能够有帮助. 环境        主机:ubuntu8.10        交叉工具链:gcc-3.4.5-glibc-2.3.6         ...

  3. 16C554在LINUX上的移植(AT91)

    16C554在LINUX上的移植(AT91) linux版本:3.14.17 AT91SAMa5d36   EINTA_0   ARM-IO5        PA14         14 EINTA ...

  4. 【Linux开发】OpenCV在ARM-linux上的移植过程遇到的问题2---CMAKE配置问题

    实际上这里说的是移植的第一步,下载到源码后,我用的是opencv2.4.9,解压缩,然后可以利用cmake-gui来进行configure配置,这里面需要设置交叉编译的工具链,具体的可以参考[Linu ...

  5. opencv在arm和x86在移植

    一个.开发环境 操作系统:fedora14 Opencv版本号:2.0 Qt版本号:4.7 arm:mini6410 交叉编译工具:arm-linux-gcc-4.5.1 二.安装与配置 Linux系 ...

  6. 转载:JProfiler远程监控LINUX上的Tomcat过程细讲

    来源于xuwanbest的博客   所谓"工欲善其事,必先利其器",好的工具确能起到事半工倍的作用.我用到的最多的就两个JConsole 和JProfiler .JConsole监 ...

  7. Linux上 Can't connect to X11 window server using XX as the value of the DISPLAY 错误解决方法

    在Linux上运行需要图形界面的程序时出现如下错误提示: No protocol specified Exception in thread "main" java.awt.AWT ...

  8. 【Linux开发】OpenCV在ARM-linux上的移植过程遇到的问题1---cvNamedWindow调用报错的问题

    问题描述: 这个实际上是最后一部的问题,将生成的共享库文件放入到了/usr/local/opencv-arm/lib下,并且设置了LD_LIBRARY_PATH中为/usr/local/opencv- ...

  9. arm linux上的第一个应用程序 BOA移植

    1. 首先, linux在开发板上能跑起来了. 包括网络驱动也有了, ifconfig之后, 能看到在rcS里面设置的IP, 也能ping通windows主机了, 当然, 也要window关掉防火墙才 ...

随机推荐

  1. ubuntu 安装nginx redis dotnet

    1 安装nginx sudo apt-get update sudo apt-get install nginx 配置文件 /etc/nginx/nginx.conf 2 安装redis sudo a ...

  2. 【CF461B】Appleman and Tree

    题目大意:给定一棵 N 个节点的有根树,1 号节点为根节点,每个点有两种颜色(黑.白),现给出树上每个节点的颜色,求有多少种分割树的方式,使得分割出的每个联通块中有且仅有一个黑点. 题解:树形dp 由 ...

  3. LAMP系统优化

    LAMP系统优化 2011-03-18 10:23 度哥 互联网 字号:T | T LAMP(Linux+Apache+Mysql+Perl/PHP/Python)常用来搭建动态网站或者服务器的开源软 ...

  4. 【Spring】Spring-Session-Data-Redis实现session共享

    前言 在开发中遇到一个关于用户体验的问题,每次当运维进行更新重启服务器时,都会导致会员平台中已登录的用户掉线.这是因为每个用户的会话信息及状态都是由session来保存的,而session对象是由服务 ...

  5. 使用Swagger自动生成文档

    1.maven依赖 maven仓库(https://mvnrepository.com/)搜索springfox <!-- https://mvnrepository.com/artifact/ ...

  6. 11.Linux date命令的用法

    date命令常的日常应用   修改时间 date -s “2008/05/23 19:20″ 打包文件 tar zcvf log-$(date +$F).gz /home/admin/logs 同步阿 ...

  7. ELK+Filebeat+redis整合

    前面的博客,有具体的ELK安装配置步骤,此处在其基础上修改 修改配置文件并启动 [root@topcheer filebeat-6.2.3-linux-x86_64]# vim filebeat.ym ...

  8. ROI pooling

    R-CNN需要大量的候选框,对每个候选框都提取特征,速度很慢,无法做到实时检测,无法做到端到端.ROI pooling层实现training和testing的显著加速,并提高检测accuracy. R ...

  9. go语言系列--输出正弦函数

    实验所用到的标准库和包 库与包之间的理解可以类比成:数据库种的库和表 库名 作用 image 常见图形格式的访问及生成 log 日志记录库 math 数学库 os 操作系统平台不依赖平台操作封装 查看 ...

  10. java jdk原生的http请求工具类

    package com.base; import java.io.IOException; import java.io.InputStream; import java.io.InputStream ...