尝试构建程序时接收LNK1107 [英] Receiving LNK1107 when attempting to build program
问题描述
< form action =" https://www.reddit.com/r/VisualStudio/comments/8284g7/receiving_lnk1107_when_attempting_to_build_program/#" class =" usertext warn-on-unload" ID = QUOT;形状t3_8284g7w95"风格= QUOT;余量:0像素;填充:0像素;字体大小:小;">
问候,同伴VS'ers!
Greetings, fellow VS'ers!
每当我在Visual Studio Enterprise 2017(Ctrl + F5)中构建程序时,我收到错误"LNK1107:无效或损坏的文件无法在第1行读取0x23AB0"和文件odbccp32.lib。第1行只是.cpp文件的注释
标头。我采取的步骤包括重新安装Desktop C ++组件并重新安装VS本身。目前正在测试社区版。任何可能的修复?
Whenever I build a program in Visual Studio Enterprise 2017 (Ctrl + F5) I receive the error 'LNK1107: invalid or corrupt file cannot read at 0x23AB0' at line 1 and file odbccp32.lib. Line 1 is just a comment header for the .cpp file. Steps I've taken include reinstalling the Desktop C++ components and reinstalling VS itself. Currently going to test the Community Edition. Any possible fixes?
感谢您提供进一步的帮助和信息! ~JBJblaze
Thank you for further help and info! ~ JBJblaze
推荐答案
odbccp32.lib是Windows SDK的一部分。 您是否单独安装了SDK? 你有安装问题吗? 你可能缺少磁盘空间吗?
odbccp32.lib is part of the Windows SDK. Did you install the SDK separately? Did you have any troubles installing either? Could you have been short of disk space?
该库提供对数据库的ODBC访问。 除非您是数据库访问权限,否则您不应该需要它。
That library provides ODBC access to databases. You shouldn't need that unless you're dong database access.
这篇关于尝试构建程序时接收LNK1107的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!