DoubleLi

qq: 517712484 wx: ldbgliet

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年8月16日

摘要: 前文在Win32平台上用C++实现了事件对象Event,对线程进行同步,以达到期望目的。这次在Linux平台上实现与之类似的事件对象。与其相关的一组API包括:pthread_mutex_init,pthread_cond_init,pthread_mutex_lock,pthread_cond_w 阅读全文
posted @ 2017-08-16 16:42 DoubleLi 阅读(2130) 评论(0) 推荐(0)

摘要: 1. 安装cmake: https://cmake.org/files/v3.6/cmake-3.6.0-win64-x64.msi 2. 下载libwebsocket源码: git clone https://github.com/warmcat/libwebsockets.git tag到最后一 阅读全文
posted @ 2017-08-16 11:03 DoubleLi 阅读(2098) 评论(0) 推荐(0)

摘要: [cpp] view plaincopy [cpp] view plaincopy 生成(Build)工程,在debug文件夹中会生成相应的DLL及LIB文件:facedll.dll facedll.lib 多个类封装DLL 封装好一个类之后,在后面的类可以调用这个类生成的dll,再封装新类的dll 阅读全文
posted @ 2017-08-16 10:56 DoubleLi 阅读(822) 评论(0) 推荐(0)

摘要: Libevent官网:http://libevent.org/ windows 7下编译: 编译环境: windows 7 + VS2010 (1)解压libevent到F:\libevent\libevent-2.0.21-stable (2)打开Microsoft visual studio 2 阅读全文
posted @ 2017-08-16 10:51 DoubleLi 阅读(456) 评论(0) 推荐(0)

摘要: 出于学习目的,想建一个vs2010工程来编译ffmpeg(http://www.ffmpeg.org/),但是由于意义不大,并且工作量太大放弃了。原因如下: 1、一些unix平台相关的头文件、库的依赖。这个是最好解决的,对应替换下就行了。 2、.C99支持,MSVC不支持C99,而ffmpeg需要它 阅读全文
posted @ 2017-08-16 10:50 DoubleLi 阅读(523) 评论(0) 推荐(0)

摘要: You can copy text from an MSYS window to the clipboard simply by selecting the text you want to copy. As the text selection changes the clipboard is u 阅读全文
posted @ 2017-08-16 10:36 DoubleLi 阅读(1053) 评论(0) 推荐(0)

摘要: windows 7下mingw+msys编译ffmpeg 1-->下载安装MingW,mingw-get-inst-20120426.exe http://sourceforge.net/projects/mingw/ 安装路径 默认C:\MinGW 。勾选了 <1> C Compiler <2> 阅读全文
posted @ 2017-08-16 10:31 DoubleLi 阅读(491) 评论(0) 推荐(0)