Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1016157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:30:27+00:00 2026-05-16T10:30:27+00:00

Sorry for what seems like a silly question: But I’ve never, ever worked with

  • 0

Sorry for what seems like a silly question: But I’ve never, ever worked with boost, until tonight, and I’m finding that getting it configured seems to be harder to use than it should be.

I wanted experiment with it tonight. So I downloaded the zip file, and unzipped it to a directory here:

F:/boost_1_44_0

Then I created an empty c++ project in visual studio 2010 (not using pch either). So all I wanted to do was to include a header file. But not even a silly thing like that seems to work. Now I’ve been using visual studio for years, though at work we are still stuck on vs 2008 (That is another story). So usually what you do is set an include directory, and then you can include files in at will right?

So I set the global include directory to include the boost root. i.e. Property Manager -> My configuration (debug|win32) -> Microsoft.Cpp.Win32.user -> Common Properties -> C++ Directories -> Include Directories. There I added my path to f:/boost_1_44_0.

I also went to the project properties and set the C++ include directory for the project to point to the boost root like in vs 2008.

I then added a silly include declaration like so:

#include <boost/lambda/lambda.hpp>

But, amazingly it fails to compile!!! with the following error:

Error 1 error C1083: Cannot open include file: ‘boost/type_traits/transform_traits.hpp’: No such file or directory f:\boost_1_44_0\boost\lambda\core.hpp 25 1 test_boost

Which when I double click it, it opens up in f:\boost_1_44_0\boost\lambda\core.hpp, and takes me to this line:

#include "boost/type_traits/transform_traits.hpp"

So I have no idea what’s happening. Is visual studio just not delivering up my global include paths that I set? It seems also that the include directive in core.hpp should be using angle brackets and not quotes.

If I’m doing something wrong what?

EDIT:
!! SOLVED !!

Before I didn’t have all the files unzipped. I don’t know what happened. So I re-downloaded the zip file, and unzipped it again. This time the zip file took much longer to unzip, and it extracted much more files: Including the missing files.
Problem solved, my hello world app compiles just fine now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:30:28+00:00Added an answer on May 16, 2026 at 10:30 am

    The behaviour of compilers in locating header files is implementation defined for both the <> and "" variants.

    However, based on this page for VC2010, it appears the quoted form searches a superset of the angle bracket form so I’m not sure that’s the problem.

    I suppose it would be a silly question to ask if the following file actually existed?

    f:\boost_1_44_0\boost\type_traits\transform_traits.hpp
    

    So, a couple of investigative jobs:

    • Make sure that f:\boost_1_44_0\boost\type_traits\transform_traits.hpp exists.
    • Try changing your top-level include to use quotes.
    • Try changing the include in f:\boost_1_44_0\boost\lambda\core.hpp to use angle brackets.
    • Make sure you try all four possibilities for those last two.
    • Is f: a network-mounted drive? What happens if you put it all on c:?

    That last one is just in case Windows is doing some shenanigans under the covers 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.