开发者

mysql/c++ program not compiling (problem with boost)

开发者 https://www.devze.com 2023-03-11 13:30 出处:网络
c:\\program files\\mysql\\mysql connector c++ 1.1.0\\include\\cppconn\\connection.h(29): fatal error C1083: Cannot open include file: \'boost/variant.hpp\': No such file or directory

c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\connection.h(29): fatal error C1083: Cannot open include file: 'boost/variant.hpp': No such file or directory

What do I need to do to solve this problem? This is a simple hello world program that i copied from here. http://blog.ulf-wendel.de/?p=215#hello I have downloaded boost and have added the boost file path to visual studios "additional include directories" under c/c++ but I'm not sure I'm doing it right as the tutorial doesn't see开发者_C百科m to have instructions for boost for whatever reason.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号