compiling error using Boost with VC++ 6
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
At Tuesday 2005-03-22 14:39, you wrote:
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!
what version of boost (the latest is 1.32)? and get a newer compiler 6 was released before the standard for C++ was even approved!!!
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
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
Yes, it's the latest version of boost (1.32). I don't have access to VC7 as the firm for which I am interning doesn't have that. So I just have to make do with VC6.
At Tuesday 2005-03-22 14:39, you wrote:
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!
what version of boost (the latest is 1.32)? and get a newer compiler 6 was released before the standard for C++ was even approved!!!
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
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
You don't need the newer compiler.
Try the following
1) Open the VC6 ide. Toolbar tools->options-> Select the
directories tab and add the path C:\BOOST\BOOST_1_32_0 to
your directory structure. (This will slow down your
compile times because the compiler will have a large
amount of directories to parse to find include file.
This assumes you have the 1_32_0 installed if you have a
higher version adjust your directory accordingly
Best of Luck
Nick
On Wed, 23 Mar 2005 07:07:26 -0500 (EST)
"Samvit Prakash"
Yes, it's the latest version of boost (1.32). I don't have access to VC7 as the firm for which I am interning doesn't have that. So I just have to make do with VC6.
At Tuesday 2005-03-22 14:39, you wrote:
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!
what version of boost (the latest is 1.32)? and get a newer compiler 6 was released before the standard for C++ was even approved!!!
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
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
At Wednesday 2005-03-23 05:07, you wrote:
Yes, it's the latest version of boost (1.32). I don't have access to VC7 as the firm for which I am interning doesn't have that. So I just have to make do with VC6.
I'm not going to be any help, I no longer (for 2 years now) don't have access to vc6 but you MAY want to put: C:\Boost\include\boost-1_32 in your "include directory" path instead of simply c:\boost
At Tuesday 2005-03-22 14:39, you wrote:
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!
what version of boost (the latest is 1.32)? and get a newer compiler 6 was released before the standard for C++ was even approved!!!
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
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (3)
-
nick@monarchsoft.com
-
Samvit Prakash
-
Victor A. Wagner Jr.