随笔分类 -  makefile

摘要:经过一个星期的折腾(主要是makefile)哈哈,今天成功将wzplayer移植到mips上,并且支持dlna.因为这是给一个机器做的,没有界面.就不上图了.若大家需要其他平台版本,都欢迎联系.wzplayer各版本汇总:Android:http://blog.csdn.net/weinyzhou/article/details/8275390Windows:http://blog.csdn.net/weinyzhou/article/details/8162954tlplayer汇总:ios:http://blog.csdn.net/weinyzhou/article/details/861 阅读全文
posted @ 2013-03-05 12:46 weinyzhou 阅读(264) 评论(0) 推荐(0)
摘要:这些天因为要把wzplayer 移植到mips 下的Linux平台上.一度手写makefile去编译.最悲剧的是旧版本的gcc居然不支持utf8 bom的文件,不得不把用到的文件都去掉bom.现在工程已经到了最后阶段,连接测试. 阅读全文
posted @ 2013-03-04 23:50 weinyzhou 阅读(206) 评论(0) 推荐(0)
摘要:由于大部分的开源工程都需要用到pkg-config,因此今天在这讲解一下pkg-config for mac 安装过程.1.检测环境是否已安装pkg-config再命令行中输入: pkg-config 若未安装,则提示命令未找到.2.安装pkg-configcurl http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz -o pkg-config-0.28.tar.gztar -xf pkg-config-0.28.tar.gz cd pkg-config-0.28./configure --with-interna. 阅读全文
posted @ 2013-02-21 14:41 weinyzhou 阅读(8805) 评论(1) 推荐(0)
摘要:make >FILENAME 2>&1 阅读全文
posted @ 2012-11-29 18:48 weinyzhou 阅读(594) 评论(0) 推荐(0)
摘要:Using Visual StudioThe following details setting up for and building Clang on Windows using Visual Studio:Get the required tools:Subversion. Source code control program. Get it from:http://subversion.tigris.org/getting.htmlcmake. This is used for generating Visual Studio solution and project files. 阅读全文
posted @ 2012-11-05 19:05 weinyzhou 阅读(360) 评论(0) 推荐(0)
摘要:Clang Installation:If you want to build clang yourself, seehttp://clang.llvm.org/get_started.html. Otherwise see below for already built binaries of clang for easier installation.Debian/Ubuntusudo apt-get install clang Gentooemerge clang Arch Linuxpacman -S clang MacOSXsudo port install clang Window 阅读全文
posted @ 2012-11-05 19:03 weinyzhou 阅读(2372) 评论(0) 推荐(0)
摘要:# # c.cpp混合编译的makefile模板 # # BIN = foyerserver.exe CC = gcc CPP = g++ #这里只加入库头文件路径及库路径 INCS = LIBS = SUBDIRS = #生成依赖信息时的搜索目录,比如到下列目录中搜索一个依赖文件(比如.h文件) DEFINC = -I"./../../base/" -I"./../common" -I"./../../lib/lxnet/" -I"./../../lib/tinyxml/src/" #给INCS加上依赖搜索路径, 阅读全文
posted @ 2012-11-03 17:58 weinyzhou 阅读(194) 评论(0) 推荐(0)
摘要:# # c.cpp混合编译的makefile模板 # # BIN = foyerserver.exe CC = gcc CPP = g++ #这里只加入库头文件路径及库路径 INCS = LIBS = SUBDIRS = #生成依赖信息时的搜索目录,比如到下列目录中搜索一个依赖文件(比如.h文件) DEFINC = -I"./../../base/" -I"./../common" -I"./../../lib/lxnet/" -I"./../../lib/tinyxml/src/" #给INCS加上依赖搜索路径, 阅读全文
posted @ 2012-11-03 17:58 weinyzhou 阅读(150) 评论(0) 推荐(0)
摘要:# # c.cpp混合编译的makefile模板 # # BIN = liblxnet.a CC = gcc CPP = g++ #这里只加入库头文件路径及库路径 INCS = LIBS = SUBDIRS = #生成依赖信息时的搜索目录,比如到下列目录中搜索一个依赖文件(比如.h文件) DEFINC = -I"./../../base/" -I"./src/buf/" -I"./src/event/" -I"./src/sock/" -I"./src/threadpool/" # # #mai 阅读全文
posted @ 2012-11-03 17:58 weinyzhou 阅读(204) 评论(0) 推荐(0)