2013-05-06 59 views
0

我想在Windows 64位上的Visual Studio express 2012中编译一个简单的C++文件。我使用visual studio命令提示符安装了boost_1_53_0。我也编译/安装了boost库。编译boost程序的问题

这里是我包括的:

#include "stdafx.h" 
#include <stdio.h> 
#include <stdlib.h> 
#include <iostream> 
#include <fstream> 
#include <boost\filesystem.hpp> 
#include <ctime> 
#include <string> 

我收到以下错误,当我尝试调试或释放我的“项目”。

http://pastebin.com/fBDcttKc

我已正确设置附加包含目录,以及附加库目录设置。

如果我丢失了一些信息,请告诉我,我刚开始学习C++

谢谢!

+0

http://stackoverflow.com/questions/12573816/what-is-an-undefined-reference-unresolved-external-symbol-error-and-how-do-i-fix – chris 2013-05-06 01:35:14

+0

非常丰富的职位,我将通过它看。 -谢谢 – 2013-05-06 01:38:35

回答

1

This was already answered。 想法是启用自动链接或链接正确的库。

在项目中的C++选项 中的预处理器符号中定义BOOST_ALL_DYN_LINK。