From: Eli Z. <el...@gn...> - 2013-06-22 10:36:14
|
> Date: Sat, 22 Jun 2013 03:06:02 -0700 > From: Kirk Joppy <kir...@gm...> > > I am trying to build a small test program that uses some boost > headers. I can get MinGW to find the headers through Code::Blocks but > not from the command line, and I'm trying to figure out why. I've > installed boost on my machine at H:\boost_1_53_0 with the header files > at H:\boost_1_53_0\boost. Instead of fighting an uphill battle against GCC, why not install Boost in the tree where GCC already looks for its headers and libraries? That is, put the headers in H:\MinGW\include, the libraries in H:\MinGW\lib, etc. The base names of Boost files are unlikely to conflict with any existing header file, so you shouldn't need to segregate them. |