|
Boost Users : |
From: Samvit Prakash (samvit_at_[hidden])
Date: 2005-03-22 16:39:01
Hi,
First a confession: I am new to VC++ AND to BOOST...I thought the best way
to learn both was to dive right in...and now I'm looking for a life-guard!
OK, so here's the problem: I have installed the Boost Library in its
default location (C:/Boost... ).
When I try to compile the code random_demo.cpp (link to the code:
http://www.boost.org/libs/random/random_demo.cpp), I get the following
error:
"fatal error C1083: Cannot open include file:
'boost/random/linear_congruential.hpp': No such file or directory
Error executing cl.exe."
Clicking on the error leads me to the following source of error in the code:
#include <boost/random/linear_congruential.hpp>
I have added the root Boost directory to the directory path:
(tools>options>directories > I added C:\Boost there for "include files")
So I am not sure why the compiler can't locate the file.
Any help would be appreciated.
Thanks,
samvit
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net