-
June 16th, 2014, 03:50 AM
#1
How to configurate the Visual Studio C/C++ Additional Include Directories?
I want to include boost directory. What must be in the
Additional Include Directories input?
I tried
C:\C++\boost_1_55_0\libs\accumulators\example;$(BOOST_ROOT);%(AdditionalIncludeDirectories)
But I am still getting error "Cannot open include file: 'boost/libs/accumulators/lambda/lambda.hpp': No such file or directory" when I include
Code:
#include <boost/libs/accumulators/lambda/lambda.hpp>
The file is placed out side of boost directory of sure.
Last edited by crazy boy; June 16th, 2014 at 05:01 AM.
Reason: Additional Include Directories, not headers
-
June 16th, 2014, 07:15 AM
#2
Re: How to configurate the Visual Studio C/C++ Additional Include Headers?
The word is "configure".
In VC2012 it's
Project
Properties
Configuration Properties
C/C++
Additional Include Directories
-
June 16th, 2014, 09:13 AM
#3
Re: How to configurate the Visual Studio C/C++ Additional Include Headers?
GCFED:
I know where - but I dont know how?
This is my settings:
C:\C++\boost_1_55_0;%(AdditionalIncludeDirectories)
Can somebody explain to me what meant the:
$(BOOST); %(AdditionalIncludeDirectories)
Should I replace the line - how?
Last edited by crazy boy; June 16th, 2014 at 09:16 AM.
-
June 16th, 2014, 09:24 AM
#4
Re: How to configurate the Visual Studio C/C++ Additional Include Headers?
I repaired it.
Seems there are two directories which should be included.
Either this way:
C:\C++\boost_1_55_0\;C:\C++\boost_1_55_0\libs
and include command then looks like this
Code:
#include <boost/lambda/lambda.hpp>
this works.
Last edited by crazy boy; June 16th, 2014 at 09:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|