在Visual Studio 2008(C ++)中包含钉子库的问题 [英] Problem of include Peg Library in Visual Studio 2008 (C++)
问题描述
您好专家,
我是使用Visual Studio 2008的C ++编译器新手.我的代码包括Peg库(来自Swellsoftware公司的PegPro软件).我运行代码,并收到错误消息:致命错误C1083:无法打开包含文件:" peg.hpp":没有这样的文件或目录".我尝试在预处理器设置的预处理器定义中包含Peg库目录("C:\ swellsoftware \ pegplus \ include"),但它仍然无法正常工作.我到预处理器设置的路径如下.我不知道我需要添加其他库目录,还是需要一个名称而不是目录路径,或者我设置的方式不正确.请帮我解决问题吗?
非常感谢.
我进入预处理器设置的路径:
项目->属性->配置属性-> C/C ++-> Preprocessor
Hello Experts,
I am new with using C++ compiler of visual studio 2008. My code includes Peg library (from PegPro software of Swellsoftware company). I run the code and I got error message: "fatal error C1083: Cannot open include file: ''peg.hpp'': No such file or directory". I tried include Peg library directory ("C:\swellsoftware\pegplus\include") in preprocessor definitions of Preprocessor setting and it still didn''t work. the path that I get to preprocessor setting is below. I don''t know I need to add additional library directories, or it need to have a name instead of directory path, or the way I set isn''t right. Please help me to fix problem?
Many thanks.
The path that I get to Preprocessor setting:
Project->Properties->Configuration Properites->C/C++->Preprocessor
推荐答案
有一个针对Peg Pro 此处 [
There is a support forum for Peg Pro here[^], you might have more luck asking your question there, if you don''t get any responses here.
You will need to have an account, or be able to create one, and a password for that forum though.
这篇关于在Visual Studio 2008(C ++)中包含钉子库的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!