using boost graph library in VC++
Hi, I downloaded the boost graph library and extract the zip file to root directory C:\boost_1_29_0 . I tried to use it to develope a project in VC++. I built the example file adj_list_cc.cpp, but the compiler give message "can not open boost/graph/graph_concepts.hpp". Based on the installation on the website, I added 'c:/boost_1_29_0' to the #include<...> line. Then, I builted it again, the compiler said other library could not be opened. I want to know whether I should add 'c:/boost_1_29_0' to all the related #include<...>. Is there an easier way to use the library? Thanks Charlie
At 02:07 AM 2/3/2003, charlie_zhang66
Hi,
I downloaded the boost graph library and extract the zip file to root directory C:\boost_1_29_0 . I tried to use it to develope a project in VC++. I built the example file adj_list_cc.cpp, but the compiler give message "can not open boost/graph/graph_concepts.hpp". Based on the installation on the website, I added 'c:/boost_1_29_0' to the #include<...> line. Then, I builted it again, the compiler said other library could not be opened. I want to know whether I should add 'c:/boost_1_29_0' to all the related #include<...>. Is there an easier way to use the library?
On VC++ 6.0, click "Tools" menu, click "Options...", select "Directories" tab. Then enter "c:\boost_1_29_0" in the rectangular box at the bottom of the "Directories" window, and click OK. Every compiler on for every operating system has some way to do the equivalent. A user should never have to change the boost code itself. HTH, --Beman
participants (2)
-
Beman Dawes
-
charlie_zhang66 <charlie_zhang66@yahoo.com>