Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Environment problem perhaps?

Environment problem perhaps?

Scheduled Pinned Locked Moved C / C++ / MFC
helpworkspacec++toolstutorial
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mcgahanfl
    wrote on last edited by
    #1

    I am trying to use source code called BOOST\TUPLE, and I get the following error. Main.cpp C:\IT 670\Mod 4\Example2b\boost/config.hpp(26) : fatal error C1083: Cannot open include file: 'boost/config/user.hpp': No such file or directory Error executing cl.exe. The files do exist and the paths are: "C:\IT 670\Mod 4\Example2b" "C:\IT 670\Mod 4\Example2b\BOOST" "C:\IT 670\Mod 4\Example2b"\BOOST\TUPLE" In my code below I use #include "boost\tuple\tuple.hpp", which the compiler is finding. But tuple.hpp uses 'boost/config/user.hpp' which the compiler does not know how to find. I have used tools->options->directories to setup the directories so the project can find the desired files to no avail. Any suggestion would be great. Thanks The code is #include #include #include #include #include "boost\tuple\tuple.hpp" //store count, sum, and sum of squares typedef boost::tuple Stats; int main() { return 0; }

    M 1 Reply Last reply
    0
    • M mcgahanfl

      I am trying to use source code called BOOST\TUPLE, and I get the following error. Main.cpp C:\IT 670\Mod 4\Example2b\boost/config.hpp(26) : fatal error C1083: Cannot open include file: 'boost/config/user.hpp': No such file or directory Error executing cl.exe. The files do exist and the paths are: "C:\IT 670\Mod 4\Example2b" "C:\IT 670\Mod 4\Example2b\BOOST" "C:\IT 670\Mod 4\Example2b"\BOOST\TUPLE" In my code below I use #include "boost\tuple\tuple.hpp", which the compiler is finding. But tuple.hpp uses 'boost/config/user.hpp' which the compiler does not know how to find. I have used tools->options->directories to setup the directories so the project can find the desired files to no avail. Any suggestion would be great. Thanks The code is #include #include #include #include #include "boost\tuple\tuple.hpp" //store count, sum, and sum of squares typedef boost::tuple Stats; int main() { return 0; }

      M Offline
      M Offline
      mcgahanfl
      wrote on last edited by
      #2

      For those who care. I discovered the student version of VC 6++ does not support the path syntax of boost.:(

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups