请教libcvd在windows平台上的安装问题

cuby 发布于 2012/02/21 11:09
阅读 1K+
收藏 0

在windows下,我用VS2005编译libcvd,出现如下错误,向各位高手诚心请教,我真的弄了好久也改不出来

1>正在编译...
1>jpeg.cxx
1>d:\program files\microsoft visual studio 8\vc\include\new(53) : error C2732: linkage specification contradicts earlier specification for 'operator delete'
1>        d:\program files\microsoft visual studio 8\vc\include\new(53) : see declaration of 'operator delete'
1>d:\program files\microsoft visual studio 8\vc\include\new(54) : error C2732: linkage specification contradicts earlier specification for 'operator new'
1>        d:\program files\microsoft visual studio 8\vc\include\new(54) : see declaration of 'operator new'
1>d:\program files\microsoft visual studio 8\vc\include\new(80) : error C2733: second C linkage of overloaded function 'operator delete[]' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\new(80) : see declaration of 'operator delete[]'
1>d:\program files\microsoft visual studio 8\vc\include\new(83) : error C2733: second C linkage of overloaded function 'operator new[]' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\new(82) : see declaration of 'operator new[]'
1>d:\program files\microsoft visual studio 8\vc\include\new(88) : error C2733: second C linkage of overloaded function 'operator new' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\new(87) : see declaration of 'operator new'
1>d:\program files\microsoft visual studio 8\vc\include\new(91) : error C2733: second C linkage of overloaded function 'operator new[]' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\new(90) : see declaration of 'operator new[]'
1>d:\program files\microsoft visual studio 8\vc\include\new(94) : error C2733: second C linkage of overloaded function 'operator delete' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\new(93) : see declaration of 'operator delete'
1>d:\program files\microsoft visual studio 8\vc\include\new(97) : error C2733: second C linkage of overloaded function 'operator delete[]' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\new(96) : see declaration of 'operator delete[]'
1>d:\program files\microsoft visual studio 8\vc\include\crtdbg.h(1118) : error C2732: linkage specification contradicts earlier specification for 'operator new[]'
1>        d:\program files\microsoft visual studio 8\vc\include\crtdbg.h(1118) : see declaration of 'operator new[]'
1>d:\program files\microsoft visual studio 8\vc\include\crtdbg.h(1135) : error C2732: linkage specification contradicts earlier specification for 'operator delete[]'
1>        d:\program files\microsoft visual studio 8\vc\include\crtdbg.h(1135) : see declaration of 'operator delete[]'
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(39) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(122) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(154) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(291) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(406) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(520) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(533) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(542) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(549) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(556) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(565) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(577) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(585) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(591) : error C2733: second C linkage of overloaded function 'std::_Traits_helper::copy_s' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\iosfwd(587) : see declaration of 'std::_Traits_helper::copy_s'
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(594) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(601) : error C2733: second C linkage of overloaded function 'std::_Traits_helper::copy_s' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\iosfwd(597) : see declaration of 'std::_Traits_helper::copy_s'
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(604) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(612) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(618) : error C2733: second C linkage of overloaded function 'std::_Traits_helper::move_s' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\iosfwd(614) : see declaration of 'std::_Traits_helper::move_s'
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(621) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(628) : error C2733: second C linkage of overloaded function 'std::_Traits_helper::move_s' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\iosfwd(624) : see declaration of 'std::_Traits_helper::move_s'
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(633) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(636) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(639) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(642) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(645) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(648) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(651) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(654) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(657) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(661) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(665) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(669) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(673) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(676) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(679) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\iosfwd(682) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(15) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(23) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(58) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(66) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(74) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(83) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(91) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(99) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(107) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(112) : warning C4190: 'make_pair' has C-linkage specified, but returns UDT 'std::pair<_Ty1,_Ty2>' which is incompatible with C
1>d:\program files\microsoft visual studio 8\vc\include\utility(114) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(119) : error C2733: second C linkage of overloaded function 'std::swap' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\utility(116) : see declaration of 'std::swap'
1>d:\program files\microsoft visual studio 8\vc\include\utility(124) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(130) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(136) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\utility(142) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(66) : error C2733: second C linkage of overloaded function 'std::_Debug_message' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(66) : see declaration of 'std::_Debug_message'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(225) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(232) : error C2733: second C linkage of overloaded function 'std::_Debug_get_cont' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(231) : see declaration of 'std::_Debug_get_cont'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(239) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(250) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(259) : error C2733: second C linkage of overloaded function 'std::_Debug_lt' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(251) : see declaration of 'std::_Debug_lt'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(261) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(270) : error C2733: second C linkage of overloaded function 'std::_Debug_lt' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(262) : see declaration of 'std::_Debug_lt'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(272) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(281) : error C2733: second C linkage of overloaded function 'std::_Debug_lt' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(273) : see declaration of 'std::_Debug_lt'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(286) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(297) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(306) : error C2733: second C linkage of overloaded function 'std::_Debug_lt_pred' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(298) : see declaration of 'std::_Debug_lt_pred'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(308) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(317) : error C2733: second C linkage of overloaded function 'std::_Debug_lt_pred' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(309) : see declaration of 'std::_Debug_lt_pred'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(319) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(328) : error C2733: second C linkage of overloaded function 'std::_Debug_lt_pred' not allowed
1>        d:\program files\microsoft visual studio 8\vc\include\xutility(320) : see declaration of 'std::_Debug_lt_pred'
1>d:\program files\microsoft visual studio 8\vc\include\xutility(471) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(488) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(506) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(522) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(538) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(561) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(569) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(580) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(591) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(602) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(612) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(622) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(632) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(643) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(654) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(664) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(674) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(684) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(694) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(704) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(714) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(724) : error C2894: templates cannot be declared to have 'C' linkage
1>d:\program files\microsoft visual studio 8\vc\include\xutility(724) : fatal error C1003: error count exceeds 100; stopping compilation
1>生成日志保存在“file://d:\PTAM\cvd\build\vc2005\Debug\BuildLog.htm”

加载中
返回顶部
顶部