This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
dear g++ programers:
I download boost's 1_46_1, then try to compile a simple program copied from book(C++ Cookbook) page447, 12.1 Creating a Thread -------------- // example 12-1. Creating a thread #include <iostream> #include </home/eric/boost1/boost_1_46_1/boost/thread/thread.hpp> #include </home/eric/boost1/boost_1_46_1/boost/thread/xtime.hpp>
I strongly doubt you copied that from a book. You should have: #include <boost/thread/thread.hpp>
-- Marc Glisse
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |