Can you post your script ? Laurent
Jeff Theinert a écrit : > > I downloaded QuteCom in Jan 09 and found the create_vcproj-vc80.bat > file generated .vcproj files with numerous errors, such as: > > 1) Improperly quoted preprocessor defines, eg "BUILD_CURRL_DLL > -DCUL_DLL" > > 2) Improperly ignoring default lib MSVCTD.lib > > 3) Improper link dependencies, typically debug vs. release version > of libs > > 4) Problems with PostBuild commands (copying to wrong dirs) > > > > Items 1 and 2 above prevented good builds. > > > > Since I am not a CMake wizard, I just developed a small utility that > fixes the problems in the .vcproj. So each time I run > create_vcproj-vs80, I run this utility to fix the .vcproj files > > > > Jeff > > > > > ----- Original Message ----- > From: "QuteCom" <qutecom-t...@qutecom.org> > Cc: qutecom-dev@lists.qutecom.org > Sent: Friday, July 3, 2009 7:37:01 AM GMT -08:00 US/Canada Pacific > Subject: [QuteCom] #123: I need to debug qutecom, faced huge amounts > of error LNK2001 in vs2005 sulution, but release goes well, why? > > #123: I need to debug qutecom, faced huge amounts of error LNK2001 in > vs2005 > sulution, but release goes well, why? > --------------------------+------------------------------------------------- > Reporter: ouhncom | Owner: laurent > Type: defect | Status: new > Priority: major | Milestone: QuteCom 2.2-RC2 > Component: Build System | Version: 2.2-RC3 > Keywords: LNK2001 | > --------------------------+------------------------------------------------- > I send command cmake -DCMAKE_BUILD_TYPE=release -G "Visual Studio 8 2005" > .. , then build in wengophone.sln, it goes well, > > But when i send command cmake -DCMAKE_BUILD_TYPE=debug -G "Visual > Studio 8 > 2005" .. (in order to debug qutecom in visual IDE), > it shows huge amounts of error LNK2001, and i have set the include and > lib directory both in system environment variable and vs2005 IDE, why > ??????? > > huge amounts of error LNK2001 in debug model were like this: > > owlist.obj : error LNK2019: 无法解析的外部符号 __imp__free,该符号在 > 函数 _owlist_new 中被引用 > owqueue.obj : error LNK2001: 无法解析的外部符号 __imp__free > owlist.obj : error LNK2019: 无法解析的外部符号 __imp__malloc,该符号 > 在函数 _owlist_new > 中被引用 > owqueue.obj : error LNK2001: 无法解析的外部符号 __imp__malloc > owlist.obj : error LNK2019: 无法解析的外部符号 __RTC_CheckEsp,该符号 > 在函数 _owlist_new > 中被引用 > owqueue.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > owlist.obj : error LNK2001: 无法解析的外部符号 __RTC_Shutdown > owqueue.obj : error LNK2001: 无法解析的外部符号 __RTC_Shutdown > owlist.obj : error LNK2001: 无法解析的外部符号 __RTC_InitBase > owqueue.obj : error LNK2001: 无法解析的外部符号 __RTC_InitBase > owqueue.obj : error LNK2019: 无法解析的外部符号 > @_rtc_checkstackv...@8,该符号在函数 > _owqueue_read_transaction_close 中被引用 > owqueue.obj : error LNK2019: 无法解析的外部符号 _memcpy,该符号在函数 > _owqueue_read_circular_buffer_without_commit 中被引用 > owqueue.obj : error LNK2019: 无法解析的外部符号 __RTC_UninitUse,该符 > 号在函数 > _owqueue_transaction_read 中被引用 > owqueue.obj : error LNK2019: 无法解析的外部符号 _memset,该符号在函数 > _owqueue_transaction_write 中被引用 > LINK : error LNK2001: 无法解析的外部符号 __dllmaincrtstar...@12 > C:\Program Files\Mercurial\qutecom-2.2\build\wifo\owbase\Debug\owbase.dll > : fatal error LNK1120: 10 个无法解析的外部命令 > 生成日志保存在“file://c:\Program > Files\Mercurial\qutecom-2.2\build\wifo\owbase\owbase.dir\Debug\BuildLog.htm” > owbase - 16 个错误,0 个警告 > ------ 已启动生成: 项目: owutil, 配置: Debug Win32 ------ > 正在链接... > 正在创建库 C:\Program > Files\Mercurial\qutecom-2.2\build\libs\owutil\util\Debug\owutil.lib > 和对象 > C:\Program > Files\Mercurial\qutecom-2.2\build\libs\owutil\util\Debug\owutil.exp > WebBrowser.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > UuidWin.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > owcutil.lib(dirent.obj) : error LNK2001: 无法解析的外部符号 > __RTC_CheckEsp > String.obj : error LNK2019: 无法解析的外部符号 __RTC_CheckEsp,该符号 > 在函数 "public: > static class std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > __cdecl String::fromNumber(int,int)" > > (?fromnum...@string@@sa?av?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@h...@z) > 中被引用 > StringList.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > Time.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > Uuid.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > Identifiable.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > Logger.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > OWPicture.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > Path.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > Base64.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp > > can anybody else faced the similar problem? please help me, > thanks. > > -- > Ticket URL: <http://trac.qutecom.org/ticket/123> > QuteCom <http://trac.qutecom.org> > > _______________________________________________ > QuteCom-dev mailing list > QuteCom-dev@lists.qutecom.org > http://lists.qutecom.org/mailman/listinfo/qutecom-dev > > ------------------------------------------------------------------------ > > _______________________________________________ > QuteCom-dev mailing list > QuteCom-dev@lists.qutecom.org > http://lists.qutecom.org/mailman/listinfo/qutecom-dev > _______________________________________________ QuteCom-dev mailing list QuteCom-dev@lists.qutecom.org http://lists.qutecom.org/mailman/listinfo/qutecom-dev