简体   繁体   English

MongoDB和Visual C ++ 2008链接器错误

[英]MongoDB and visual C++ 2008 linker errors

i'm trying to get the c++ client for mongodb working in visual studio 2008. i can reference the includes, but whenever i tell the linker about the mongodb .lib file i get the following error: "fatal error LNK1257: code generation failed". 我试图在Visual Studio 2008中使用mongodb的C ++客户端。我可以引用include,但是每当我告诉链接器有关mongodb .lib文件时,我都会收到以下错误:“致命错误LNK1257:代码生成失败” 。 if visual studio can't find the .lib, then i get a bunch of unresolved externals errors. 如果Visual Studio找不到.lib,那么我会收到一堆无法解决的外部错误。 i'm really pretty lost at this point. 我现在真的很迷路。

Have you tried the latest from GitHub ? 您是否尝试过从GitHub下载最新版本?

Have you installed vs 2008 SP1? 您是否已安装vs 2008 SP1?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM