Dear Sir:
For some reasons, I recompiled icepatch2server.exe in Debug mode. When using this Debug icepatch2server.exe to transfer files with Chinese filename, it occurs to "Debug assertion failed: (unsigned)(c+1) <= 256, file isctype.c, line59" error. I looked up some materials, the reason for this error seems to be Debug mode.If compiling it in release mode, perhaps will avoid this error. So I modify config\Make.rules.mak set "OPTIMIZE = yes" and execute nmake cmd
and get the following link error:
E:\source\Ice-3.3.0\cpp\src\IcePatch2>nmake /f Makefile.mak
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
Ignoring ICE_HOME environment variable to build current source tree.
link.exe /LIBPATH:"C:\Ice-3.3.0-ThirdParty-VC80\lib" /LIBPATH:"..\..\lib
" /nologo /FIXED:no /OPT:REF /pdb:none /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:ms
vcrt.lib setargv.obj Server.obj FileServerI.obj /out:..\..\bin\icepatch2serv
er.exe ice.lib iceutil.lib rpcrt4.lib advapi32.lib icepatch2.lib IcePatch2Serve
r.res
Server.obj : error LNK2019: unresolved external symbol __imp___invalid_parameter
_noinfo referenced in function "public: bool __thiscall std::_Vector_const_itera
tor<class std::basic_string<char,struct std::char_traits<char>,class std::alloca
tor<char> >,class std::allocator<class std::basic_string<char,struct std::char_t
raits<char>,class std::allocator<char> > > >:perator==(class std::_Vector_cons
t_iterator<class std::basic_string<char,struct std::char_traits<char>,class std:
:allocator<char> >,class std::allocator<class std::basic_string<char,struct std:
:char_traits<char>,class std::allocator<char> > > > const &)const " (??8?$_Vecto
r_const_iterator@V?$basic_string@DU?$char_traits@D @std@@V?$allocator@D@2@@std@@V
?$allocator@V?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@@2@@st
d@@QBE_NABV01@@Z)
..\..\bin\icepatch2server.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l
ink.exe"' : return code '0x460'
Stop.
Please tell me how to compile icePatch2server.exe in Release version?
Thanks a lot!

perator==(class std::_Vector_cons
Reply With Quote