>   正在创建库 C:\Users\Administrator\Desktop\branch-Unicode-156\\Temp\Link\PointCloudMeasure\x64\Debug\PointCloudMeasure.lib 和对象 C:\Users\Administrator\Desktop\branch-Unicode-156\\Temp\Link\PointCloudMeasure\x64\Debug\PointCloudMeasure.exp
1>vtkXMLPointReader.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>msvcrtd.lib(_error_.obj) : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>PointCloudMeasureView.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>RtDlg.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>TrackerConnectDlg.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>TrackerManagementDlg.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>MainFrm.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>MeasurementDialog.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>PartTreeView.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>PointCloudMeasureDoc.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>AddWorkpieceDlg.obj : error LNK2019: 无法解析的外部符号 __imp_MultiByteToWideChar,该符号在函数 "public: wchar_t * __cdecl AddWorkpieceDlg::AnsiToUnicode(char const *)" (?AnsiToUnicode@AddWorkpieceDlg@@QEAAPEA_WPEBD@Z) 中被引用
1>DatabaseDlg.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>InsertData2DBDlg.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>LoginDlg.obj : error LNK2001: 无法解析的外部符号 __imp_MultiByteToWideChar
1>vtkXMLPointReader.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>msvcrtd.lib(_error_.obj) : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>PointCloudMeasureView.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>RtDlg.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>TrackerConnectDlg.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>TrackerManagementDlg.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>MainFrm.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>MeasurementDialog.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>PartTreeView.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>PointCloudMeasureDoc.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>AddWorkpieceDlg.obj : error LNK2019: 无法解析的外部符号 __imp_WideCharToMultiByte,该符号在函数 "public: char * __cdecl AddWorkpieceDlg::UnicodeToAnsi(wchar_t const *)" (?UnicodeToAnsi@AddWorkpieceDlg@@QEAAPEADPEB_W@Z) 中被引用
1>DatabaseDlg.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>InsertData2DBDlg.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>LoginDlg.obj : error LNK2001: 无法解析的外部符号 __imp_WideCharToMultiByte
1>PartTreeView.obj : error LNK2019: 无法解析的外部符号 __imp_LeaveCriticalSection,该符号在函数 "public: void __cdecl Standard_Mutex::Unlock(void)" (?Unlock@Standard_Mutex@@QEAAXXZ) 中被引用
1>PointCloudMeasureDoc.obj : error LNK2019: 无法解析的外部符号 __imp_GetModuleFileNameW,该符号在函数 "protected: __cdecl CPointCloudMeasureDoc::CPointCloudMeasureDoc(void)" (??0CPointCloudMeasureDoc@@IEAA@XZ) 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2001: 无法解析的外部符号 __imp_GetModuleFileNameW
1>atlsd.lib(AtlTraceModuleManager.obj) : error LNK2001: 无法解析的外部符号 __imp_GetModuleFileNameW
1>PointCloudMeasureDoc.obj : error LNK2019: 无法解析的外部符号 __imp_Sleep,该符号在函数 "public: virtual void __cdecl CPointCloudMeasureDoc::UpdateStatus(enum Leica_Tracker_Answer,int)" (?UpdateStatus@CPointCloudMeasureDoc@@UEAAXW4Leica_Tracker_Answer@@H@Z) 中被引用
1>PointCloudMeasureView.obj : error LNK2001: 无法解析的外部符号 __imp_Sleep
1>RadarVideoDlg.obj : error LNK2001: 无法解析的外部符号 __imp_Sleep
1>msvcrtd.lib(wcrtexew.obj) : error LNK2001: 无法解析的外部符号 __imp_Sleep
1>PointCloudMeasureView.obj : error LNK2019: 无法解析的外部符号 __imp_GetLastError,该符号在函数 "public: void __cdecl CPointCloudMeasureView::OnTrackerConnect(void)" (?OnTrackerConnect@CPointCloudMeasureView@@QEAAXXZ) 中被引用
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2001: 无法解析的外部符号 __imp_GetLastError
1>atlsd.lib(Allocate.obj) : error LNK2001: 无法解析的外部符号 __imp_GetLastError
1>PointCloudMeasureView.obj : error LNK2019: 无法解析的外部符号 __imp_DeleteFileW,该符号在函数 "public: void __cdecl CPointCloudMeasureView::OnTrackerSave(void)" (?OnTrackerSave@CPointCloudMeasureView@@QEAAXXZ) 中被引用
1>msvcrtd.lib(wcrtexew.obj) : error LNK2019: 无法解析的外部符号 __imp_GetStartupInfoW,该符号在函数 __tmainCRTStartup 中被引用
1>msvcrtd.lib(_error_.obj) : error LNK2019: 无法解析的外部符号 __imp_IsDebuggerPresent,该符号在函数 DebuggerKnownHandle 中被引用
1>msvcrtd.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 __imp_IsDebuggerPresent
1>atlsd.lib(Allocate.obj) : error LNK2001: 无法解析的外部符号 __imp_RaiseException
1>atlsd.lib(AtlTraceModuleManager.obj) : error LNK2001: 无法解析的外部符号 __imp_RaiseException
1>msvcrtd.lib(_error_.obj) : error LNK2019: 无法解析的外部符号 __imp_RaiseException,该符号在函数 "int __cdecl DebuggerProbe(unsigned long)" (?DebuggerProbe@@YAHK@Z) 中被引用
1>atlsd.lib(Externs.obj) : error LNK2001: 无法解析的外部符号 __imp_RaiseException
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2001: 无法解析的外部符号 __imp_RaiseException
1>atlsd.lib(atltime.obj) : error LNK2001: 无法解析的外部符号 __imp_RaiseException
1>msvcrtd.lib(_error_.obj) : error LNK2019: 无法解析的外部符号 __imp_DebugBreak,该符号在函数 "void __cdecl failwithmessage(void *,int,int,char const *)" (?failwithmessage@@YAXPEAXHHPEBD@Z) 中被引用
1>msvcrtd.lib(_error_.obj) : error LNK2019: 无法解析的外部符号 __imp_lstrlenA,该符号在函数 "void __cdecl _RTC_AllocaFailure(void *,struct _RTC_ALLOCA_NODE *,int)" (?_RTC_AllocaFailure@@YAXPEAXPEAU_RTC_ALLOCA_NODE@@H@Z) 中被引用
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2001: 无法解析的外部符号 __imp_lstrlenA
1>msvcrtd.lib(_error_.obj) : error LNK2019: 无法解析的外部符号 __imp_GetProcAddress,该符号在函数 "void __cdecl _RTC_AllocaFailure(void *,struct _RTC_ALLOCA_NODE *,int)" (?_RTC_AllocaFailure@@YAXPEAXPEAU_RTC_ALLOCA_NODE@@H@Z) 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2001: 无法解析的外部符号 __imp_GetProcAddress
1>msvcrtd.lib(_error_.obj) : error LNK2019: 无法解析的外部符号 __imp_LoadLibraryA,该符号在函数 "void __cdecl _RTC_AllocaFailure(void *,struct _RTC_ALLOCA_NODE *,int)" (?_RTC_AllocaFailure@@YAXPEAXPEAU_RTC_ALLOCA_NODE@@H@Z) 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2001: 无法解析的外部符号 __imp_LoadLibraryA
1>msvcrtd.lib(unhandld.obj) : error LNK2019: 无法解析的外部符号 __imp_SetUnhandledExceptionFilter,该符号在函数 __CxxSetUnhandledExceptionFilter 中被引用
1>msvcrtd.lib(gs_report.obj) : error LNK2001: 无法解析的外部符号 __imp_SetUnhandledExceptionFilter
1>msvcrtd.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 __imp_QueryPerformanceCounter,该符号在函数 __security_init_cookie 中被引用
1>msvcrtd.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 __imp_GetTickCount,该符号在函数 __security_init_cookie 中被引用
1>msvcrtd.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 __imp_GetCurrentThreadId,该符号在函数 __security_init_cookie 中被引用
1>msvcrtd.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 __imp_GetCurrentProcessId,该符号在函数 __security_init_cookie 中被引用
1>atlsd.lib(Externs.obj) : error LNK2001: 无法解析的外部符号 __imp_GetCurrentProcessId
1>atlsd.lib(AtlTraceModuleManager.obj) : error LNK2001: 无法解析的外部符号 __imp_GetCurrentProcessId
1>msvcrtd.lib(gs_support.obj) : error LNK2019: 无法解析的外部符号 __imp_GetSystemTimeAsFileTime,该符号在函数 __security_init_cookie 中被引用
1>atlsd.lib(atltime.obj) : error LNK2001: 无法解析的外部符号 __imp_GetSystemTimeAsFileTime
1>msvcrtd.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp_TerminateProcess,该符号在函数 __report_gsfailure 中被引用
1>msvcrtd.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp_GetCurrentProcess,该符号在函数 __report_gsfailure 中被引用
1>msvcrtd.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp_UnhandledExceptionFilter,该符号在函数 __report_gsfailure 中被引用
1>msvcrtd.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 RtlVirtualUnwind,该符号在函数 __report_gsfailure 中被引用
1>msvcrtd.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 RtlLookupFunctionEntry,该符号在函数 __report_gsfailure 中被引用
1>msvcrtd.lib(gs_report.obj) : error LNK2019: 无法解析的外部符号 __imp_RtlCaptureContext,该符号在函数 __report_gsfailure 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2019: 无法解析的外部符号 __imp_HeapFree,该符号在函数 "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPEAEPEA_WKPEAH1K@Z) 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2019: 无法解析的外部符号 __imp_HeapAlloc,该符号在函数 "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPEAEPEA_WKPEAH1K@Z) 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2019: 无法解析的外部符号 __imp_GetProcessHeap,该符号在函数 "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPEAEPEA_WKPEAH1K@Z) 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2019: 无法解析的外部符号 __imp_VirtualQuery,该符号在函数 "int __cdecl _RTC_GetSrcLine(unsigned char *,wchar_t *,unsigned long,int *,wchar_t *,unsigned long)" (?_RTC_GetSrcLine@@YAHPEAEPEA_WKPEAH1K@Z) 中被引用
1>msvcrtd.lib(_pdblkup_.obj) : error LNK2019: 无法解析的外部符号 __imp_FreeLibrary,该符号在函数 "struct HINSTANCE__ * __cdecl GetPdbDll(void)" (?GetPdbDll@@YAPEAUHINSTANCE__@@XZ) 中被引用
1>atlsd.lib(atltypes.obj) : error LNK2019: 无法解析的外部符号 __imp_MulDiv,该符号在函数 "public: class CRect __cdecl CRect::MulDiv(int,int)const " (?MulDiv@CRect@@QEBA?AV1@HH@Z) 中被引用
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2019: 无法解析的外部符号 __imp_CloseHandle,该符号在函数 "void __cdecl ATL::NotifyTool(void)" (?NotifyTool@ATL@@YAXXZ) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2001: 无法解析的外部符号 __imp_CloseHandle
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2019: 无法解析的外部符号 __imp_SetEvent,该符号在函数 "void __cdecl ATL::NotifyTool(void)" (?NotifyTool@ATL@@YAXXZ) 中被引用
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2019: 无法解析的外部符号 __imp_OpenEventA,该符号在函数 "void __cdecl ATL::NotifyTool(void)" (?NotifyTool@ATL@@YAXXZ) 中被引用
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2019: 无法解析的外部符号 __imp_OutputDebugStringA,该符号在函数 AtlTraceVA 中被引用
1>atlsd.lib(AtlDebugAPI.obj) : error LNK2019: 无法解析的外部符号 __imp_OutputDebugStringW,该符号在函数 AtlTraceVU 中被引用
1>atlsd.lib(atltime.obj) : error LNK2019: 无法解析的外部符号 __imp_FileTimeToSystemTime,该符号在函数 "public: static int __cdecl ATL::CTime::IsValidFILETIME(struct _FILETIME const &)" (?IsValidFILETIME@CTime@ATL@@SAHAEBU_FILETIME@@@Z) 中被引用
1>atlsd.lib(atltime.obj) : error LNK2019: 无法解析的外部符号 __imp_FileTimeToLocalFileTime,该符号在函数 "public: static int __cdecl ATL::CTime::IsValidFILETIME(struct _FILETIME const &)" (?IsValidFILETIME@CTime@ATL@@SAHAEBU_FILETIME@@@Z) 中被引用
1>atlsd.lib(atltime.obj) : error LNK2019: 无法解析的外部符号 __imp_LocalFileTimeToFileTime,该符号在函数 "public: class ATL::CFileTime __cdecl ATL::CFileTime::LocalToUTC(void)const " (?LocalToUTC@CFileTime@ATL@@QEBA?AV12@XZ) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2019: 无法解析的外部符号 __imp_VirtualAlloc,该符号在函数 "public: bool __cdecl CAtlAllocator::Init(char const *,unsigned long)" (?Init@CAtlAllocator@@QEAA_NPEBDK@Z) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2019: 无法解析的外部符号 __imp_UnmapViewOfFile,该符号在函数 "public: bool __cdecl CAtlAllocator::Init(char const *,unsigned long)" (?Init@CAtlAllocator@@QEAA_NPEBDK@Z) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2019: 无法解析的外部符号 __imp_GetSystemInfo,该符号在函数 "public: bool __cdecl CAtlAllocator::Init(char const *,unsigned long)" (?Init@CAtlAllocator@@QEAA_NPEBDK@Z) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2019: 无法解析的外部符号 __imp_MapViewOfFile,该符号在函数 "public: bool __cdecl CAtlAllocator::Init(char const *,unsigned long)" (?Init@CAtlAllocator@@QEAA_NPEBDK@Z) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2019: 无法解析的外部符号 __imp_CreateFileMappingA,该符号在函数 "public: bool __cdecl CAtlAllocator::Init(char const *,unsigned long)" (?Init@CAtlAllocator@@QEAA_NPEBDK@Z) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2019: 无法解析的外部符号 __imp_GetCurrentThread,该符号在函数 "public: bool __cdecl CAtlAllocator::Init(char const *,unsigned long)" (?Init@CAtlAllocator@@QEAA_NPEBDK@Z) 中被引用
1>atlsd.lib(Allocate.obj) : error LNK2019: 无法解析的外部符号 __imp_OpenFileMappingA,该符号在函数 "public: bool __cdecl CAtlAllocator::Open(char const *)" (?Open@CAtlAllocator@@QEAA_NPEBD@Z) 中被引用
1>C:\Users\Administrator\Desktop\branch-Unicode-156\\Temp\Link\PointCloudMeasure\x64\Debug\PointCloudMeasure.exe : fatal error LNK1120: 47 个无法解析的外部命令



==
解决:
这涉及到调用的windowsSDKs的调用问题, 必须要调用准确当前平台的lib文件;
本次的问题出现在 当前项目目录中存在kernel32.lib文件, 该文件是很久之前拷贝的win32 平台下的文件, 所以才导致这样的问题;删除过后,就立马正确了;








转为win64后, MS的lib问题的更多相关文章

  1. 将IMAGE转为PDF后上传

    using iTextSharp.text; using iTextSharp.text.pdf; /// <summary> /// 将IMAGE转为PDF后上传 /// </su ...

  2. jpg转yuv420抠图后转为jpg

    最近遇到个需求,已有全景图和其中的人脸坐标,将人脸小图从全景图中抠出来,最开始使用libjpeg,奈何使用libjpeg将jpg转为yuv420的资料实在少,libjpeg自身的readme和exam ...

  3. Java 将Word转为PDF、PNG、SVG、RTF、XPS、TXT、XML

    同一文档在不同的编译或阅读环境中,需要使用特定的文档格式来打开,通常需要通过转换文档格式的方式来实现.下面将介绍在Java程序中如何来转换Word文档为其他几种常见文档格式,如PDF.图片png.sv ...

  4. c语言中在引用math库后,编译出现错误(.text+0x9c):对‘sqrt’未定义的引用的解决办法

    写于2016年11月29日晚. 原因是gcc编译器没有引用默认的math库,需要在执行编译命令时加上-ml.例如: gcc 源文件 -ml -o 编译后文件名 或者 gcc 源文件 -lm -o 编译 ...

  5. 为什么eclipse中启动tomcat后,浏览器中出现404?

    问题描述: tomcat压缩包加压后,启动lib文件夹下面的startup.bat,在浏览器中输入http://localhost:8080/后出现熟悉的界面. 但是在eclipse中,jsp可以正常 ...

  6. 启动mysql错误ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ ( ...

  7. 安装mysql后ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var mysql 启动不了

    ps -A | grep -i mysql kill 列出来的进程 service mysql start 我的问题就解决了 ------------------------------------- ...

  8. Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’解决方法 + Linux启动/停止/重启Mysql数据库的方法

    启动mysql 报错: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/m ...

  9. lib和dll的区别,生成(转)

    首先介绍下静态库(静态链接库,.lib文件),动态库*(动态链接库,.dll文件)的概念,首先两者都是代码共享的方式. 静态库:在链接步骤中,连接器将从库文件取得所需的代码,复制到生成的可执行文件,这 ...

随机推荐

  1. thinkphp cookie支持

    系统内置了一个cookie函数用于支持和简化Cookie的相关操作,该函数可以完成Cookie的设置.获取.删除操作. Cookie设置 cookie('name','value'); //设置coo ...

  2. thinkphp 错误调试

    如果需要我们可以使用E方法输出错误信息并中断执行,例如: //输出错误信息,并中止执行 E($msg); 原3.1版本中的halt方法已经废弃,请使用E函数代替.

  3. NX二次开发-UFUN拉伸函数UF_MODL_create_extruded2

    NX9+VS2012 //NX二次开发中常用拉伸函数为UF_MODL_create_extruded2,但是此函数不能拉伸片体, //想要拉伸片体用函数UF_MODL_create_extruded. ...

  4. 微信-小程序-开发文档-服务端-模板消息:templateMessage.addTemplate

    ylbtech-微信-小程序-开发文档-服务端-模板消息:templateMessage.addTemplate 1.返回顶部 1. templateMessage.addTemplate 本接口应在 ...

  5. CSS3:CSS3 边框

    ylbtech-CSS3:CSS3 边框 1.返回顶部 1. CSS3 边框 CSS3 边框 用 CSS3,你可以创建圆角边框,添加阴影框,并作为边界的形象而不使用设计程序,如 Photoshop. ...

  6. ionic-CSS:ionic select

    ylbtech-ionic-CSS:ionic select 1.返回顶部 1. ionic select ionic select 的 select 相比原生的要更加美观些.但是弹出的可选选项样式是 ...

  7. C#面向对象通信

    面向对象通信编程: 看起来像是调用本地的函数,就得到了结果: 实际上参数是传递到了远程机器上了,而函数也是在远程机器上运行的.

  8. Maven如何发布jar包到Nexus私库

    Nexus2可以通过管理界面来上传jar包到私库中,而最新的Nexus3却找不到了上传界面,只能通过以下方式来发布到私库. 发布第三方jar包 这种情况是maven远程仓库没有,本地有的第三方jar包 ...

  9. uoj213 【UNR #1】争夺圣杯

    题目 设\(f_i\)表示所有长度为\(i\)的区间的最大值的和,求\(\bigoplus \sum_{i=1}^nf_i\) 不难发现随机数据非常好做 由于一个随机序列的前缀最大值期望只会变化\(\ ...

  10. 随笔记录 grub引导故障修复 2019.8.7

    系统备份: [root@localhost ~]# mkdir /abc [root@localhost ~]# mount /dev/sdb1 /abc [root@localhost ~]# dd ...