昨天正式把项目编译完成,经历了一周的摸索和折磨后,最后也想:oh,it's so easy!
但是过程确实困难的,因为cmake官方只有API的解释,而且解释的不是很清楚。
一般项目都是狠复杂的层级关系
project
include
lib
bin
project1
project2
project3
....
这种如何来写cmake呢?
首先要知道一个很重要的东西,cm...
分类:
编程语言 时间:
2014-07-22 23:01:55
阅读次数:
432
报错:
symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o for architecture i386
解决:
Project -> Targets -> General -> Deployment Info
-> Deployment Target ->选择7.0
...
分类:
其他好文 时间:
2014-07-22 23:01:33
阅读次数:
368
[ 问题: ]
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were
inserted in order. You may assume no duplicates in th...
分类:
其他好文 时间:
2014-07-22 23:01:15
阅读次数:
270
1.first of all,take a lookup on the left side
of keyword const.If there is something(type or pointer),then apply const
featureto it.2.nothing found on...
分类:
编程语言 时间:
2014-05-06 00:38:25
阅读次数:
361
Iahub accidentally discovered a secret lab. He
found there n devices ordered in a line, numbered from 1 to n from left to
right. Each device i (1?≤?i?...
分类:
其他好文 时间:
2014-05-02 15:36:19
阅读次数:
314
Where's Waldorf?
Given a m by n grid
of letters, ( ),
and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
分类:
其他好文 时间:
2014-05-02 10:59:15
阅读次数:
514
安装modsecurity时,出现“configure: *** apu library not found.”。
解决方法:
yum install apr-util-devel...
分类:
其他好文 时间:
2014-05-02 10:52:44
阅读次数:
433
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-05-02 09:54:11
阅读次数:
269
在C++控制台应用程序中可以控制控制台输出的字体颜色和 接受任意按键退出#ifndef
CONSOLE_UTILS_H#define CONSOLE_UTILS_H#include #include #include //default text
colors can be found in win...
分类:
编程语言 时间:
2014-05-02 00:23:19
阅读次数:
450
./nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory...
分类:
其他好文 时间:
2014-04-30 22:43:38
阅读次数:
346