|
|

楼主 |
发表于 2007-5-6 00:08:00
|
显示全部楼层
Re:发现缺乏安装指导
\STLport-5.1.3\stlport\stl\_num_put.c:404: warning: 'stlp_std::num_put<_CharT, _OutputIter>::id' redeclared without dllimport attribute: previous dllimport ignored
\STLport-5.1.3\stlport\stl\_num_get.c:440: warning: 'stlp_std::num_get<_Ch, _InIt>::id' redeclared without dllimport attribute: previous dllimport ignored
)]+0x2f):: undefined reference to `_imp___ZN8stlp_std12__node_alloc11_M_allocateERj'
::_M_throw_length_error() const]+0xf):: undefined reference to
`_imp___ZN8stlp_std24__stl_throw_length_errorEPKc'
unsigned int)]+0x29):: undefined reference to `_imp___ZN8stlp_std12__node_alloc13_M_deallocateEPvj'
::
=== 生成结束: 3个错误, 2个警告 ===
我用gcc4 for windows 编译了 stlport5, 可以编译,虽然有很多警告。
但是用这个编译后的库来编译一个hello world程序,就出现这些错误了。
斑竹大人快救救我吧。
|
|