草庐IT

stricoll

全部标签

python - 未解析的外部符号 _stricoll

我正在将一个Python库移动到依赖于某些c代码的Windows平台。但是,我在Windows下构建它失败了,并得到:util.obj:errorLNK2019:unresolvedexternalsymbol_strtoll错误的代码是:x_space[j].index=(INT64)strtoll(idx,&endptr,10);我的编译器是VS2010,在XP32bit下使用。我的make文件是:CXX=cl.exeCFLAGS=/nologo/O2/EHsc/I./D_WIN32/D_CRT_SECURE_NO_DEPRECATETARGET=.lib:util.c$(CXX)