PMG
http://forum.pmg.org.ru/

Еба.... или почему так глючит VC++ 8 pro
http://forum.pmg.org.ru/viewtopic.php?f=4&t=975
Страница 2 из 2

Автор:  Assassin [ 21 ноя 2006 21:27 ]
Заголовок сообщения: 

Lion,Невынуждай меня делать того чего я нехочу. ;/

Автор:  Tiger [ 22 ноя 2006 10:25 ]
Заголовок сообщения: 

Цитата:
Lion,Невынуждай меня делать того чего я нехочу. ;/

Ты же сам просил о помоши. :o
Как я могу исправить ошибку не зная исходного текста программы в котором происходит ошибка? :o

P.S. По пробуй с компилировать проект как RELEASE, вдруг по может.

Автор:  MagicWolf [ 22 ноя 2006 12:42 ]
Заголовок сообщения: 

Просьба не употреблять матов или неких подобий ...

Автор:  Tiger [ 22 ноя 2006 13:32 ]
Заголовок сообщения: 

Цитата:
Просьба не употреблять матов или неких подобий ...

Где вы видели что бы я употреблял МАТЫ и тому подобное? :o

Автор:  Tiger [ 22 ноя 2006 13:41 ]
Заголовок сообщения: 

Цитата:
Lion,Компилятор долго ругался...... :-(
Код:

main.obj : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) already defined in msvcprtd.lib(MSVCP80D.dll)
main.obj : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in msvcprtd.lib(MSVCP80D.dll)
main.obj : error LNK2005: "public: __thiscall std::_Container_base::~_Container_base(void)" (??1_Container_base@std@@QAE@XZ) already defined in msvcprtd.lib(MSVCP80D.dll)
main.obj : error LNK2005: "public: void __thiscall std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@_Container_base@std@@QBEXXZ) already defined in msvcprtd.lib(MSVCP80D.dll)
main.obj : error LNK2005: "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@QAE@XZ) already defined in msvcprtd.lib(MSVCP80D.dll)
main.obj : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in msvcprtd.lib(MSVCP80D.dll)
main.obj : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in msvcprtd.lib(MSVCP80D.dll)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in main.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) already defined in main.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in main.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z) already defined in libcpmtd.lib(stdthrow.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in main.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Container_base::~_Container_base(void)" (??1_Container_base@std@@QAE@XZ) already defined in main.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@_Container_base@std@@QBEXXZ) already defined in main.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@QAE@XZ) already defined in main.obj
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fprintf already defined in LIBCMT.lib(fprintf.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already defined in LIBCMT.lib(_file.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _fclose already defined in LIBCMT.lib(fclose.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __invalid_parameter already defined in LIBCMT.lib(invarg.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already defined in LIBCMT.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall std::exception::exception(void)" (??0exception@std@@QAE@XZ) already defined in LIBCMT.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@QAE@ABV01@@Z) already defined in LIBCMT.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall std::exception::exception(char const * const &)" (??0exception@std@@QAE@ABQBD@Z) already defined in LIBCMT.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove_s already defined in LIBCMT.lib(memmove_s.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sscanf already defined in LIBCMT.lib(sscanf.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
..\Bin\Debug\RealityExTest.exe : fatal error LNK1169: one or more multiply defined symbols found
Это при линковке.

Уважаемый ASSASSIN ты можешь выложить хотя бы EXE файл проекта
который глючит. =)

Автор:  Assassin [ 22 ноя 2006 19:49 ]
Заголовок сообщения: 

MagicWolf,Можеш небеспокоятся у нас вполне дружеская беседа.
Lion,Давай е-майл кину.

Автор:  WandereR [ 22 ноя 2006 20:47 ]
Заголовок сообщения: 

На сколько я понял у тебя глючит компилер при ребилде? Т.Е. компилер свою длл найти не может, а не программа.
Не знаю может ли это помочь, но попробуй найти ту самую ДЛЛ и положить ее в папку с ехе КОМПИЛЯТОРА... Хотя возможно она и так там лежит )

Автор:  Tiger [ 22 ноя 2006 20:51 ]
Заголовок сообщения: 

Цитата:
Lion,Давай е-майл кину.

Кидай на Рапиду: http://rapidshare.com

Автор:  MagicWolf [ 23 ноя 2006 12:08 ]
Заголовок сообщения: 

Lion писал(а):
Цитата:
Просьба не употреблять матов или неких подобий ...

Где вы видели что бы я употреблял МАТЫ и тому подобное? :o


В заголовке темы! "Еба.." Я понимаю твою досаду, и поддерживаю тебя, но форум все же публичное дело ...

Автор:  Assassin [ 23 ноя 2006 15:51 ]
Заголовок сообщения: 

MagicWolf,Гм...гм...это я завёл тему!

Автор:  Tiger [ 23 ноя 2006 19:26 ]
Заголовок сообщения: 

Цитата:
В заголовке темы! "Еба.." Я понимаю твою досаду, и поддерживаю тебя, но форум все же публичное дело ...

Эту тему завёл не я!!! :evil:

Автор:  MagicWolf [ 24 ноя 2006 16:08 ]
Заголовок сообщения: 

Сорри, не разобрался.

Автор:  Towards [ 28 ноя 2007 02:57 ]
Заголовок сообщения: 

Вот нашел тут решение этой проблемы:
project - properties - configuration properties - manifest tool - input and output - меняем Embed Manifest на No. Значения ниже должны сами заменится на следующие:
$(TargetPath).manifest
$(IntDir)\$(TargetFileName).embed.manifest.res
No
$(IntDir)\mt.dep
Все, лично мне помогло, пробуйте)

Страница 2 из 2 Часовой пояс: UTC + 3 часа [ Летнее время ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/