高人过来看看, 关于stlport-5.1.2和boost_1_33_1解决办法
高人过来看看, 关于stlport-5.1.2和boost_1_33_1
最近准备使用stlport-5.1.2 + boost_1_33_1 + vc-7_1(以及vc-8_0). 首先想做的事是搭建一个单元测试环境. 目前选择了boost::test的框架. 但是进展不太顺利. 也有些疑惑想问一下.
1. stlport-5.1.2为什么是要编译? 我记得目前的编译器好象对分离模型的template编译支持并不好. vc-7_1似乎是不支持的. 是不是被编译的那部分不是template? 编译出来的部分是些什么呢, iostream吗 ?
2. 我看到编译出来的有如下.dll:
stlport.5.1.dll
stlportd.5.1.dll
stlportstld.5.1.dll
我猜测分别是release和debug版, 但 stlportstld.5.1.dll 这个是什么? 在什么情况下连接它呢?
3. 我注意到stlport支持一个叫debug mode的模式, 这个怎么理解的?
4. boost编译出来的库, 会有名称修饰, 如下, 其中的d是什么意思?
Key Feature
s Static link to runtime.
g Debug runtime.
y Debug Python system.
d Debug enabled code.
p STLport runtime, instead of the vendor toolset runtime.
n STLport runtime using the "native " IO streams instead of the STLPort IO streams.
谢谢.
------解决方案--------------------
1
io部分,貌似还有其他的地方是需要编译的
4
估计是在代码中做了检测东西吧,比如检测指针是否有效什么的
最近准备使用stlport-5.1.2 + boost_1_33_1 + vc-7_1(以及vc-8_0). 首先想做的事是搭建一个单元测试环境. 目前选择了boost::test的框架. 但是进展不太顺利. 也有些疑惑想问一下.
1. stlport-5.1.2为什么是要编译? 我记得目前的编译器好象对分离模型的template编译支持并不好. vc-7_1似乎是不支持的. 是不是被编译的那部分不是template? 编译出来的部分是些什么呢, iostream吗 ?
2. 我看到编译出来的有如下.dll:
stlport.5.1.dll
stlportd.5.1.dll
stlportstld.5.1.dll
我猜测分别是release和debug版, 但 stlportstld.5.1.dll 这个是什么? 在什么情况下连接它呢?
3. 我注意到stlport支持一个叫debug mode的模式, 这个怎么理解的?
4. boost编译出来的库, 会有名称修饰, 如下, 其中的d是什么意思?
Key Feature
s Static link to runtime.
g Debug runtime.
y Debug Python system.
d Debug enabled code.
p STLport runtime, instead of the vendor toolset runtime.
n STLport runtime using the "native " IO streams instead of the STLPort IO streams.
谢谢.
------解决方案--------------------
1
io部分,貌似还有其他的地方是需要编译的
4
估计是在代码中做了检测东西吧,比如检测指针是否有效什么的