|
Boost Users : |
Subject: Re: [Boost-users] boost lib error
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2010-06-12 16:45:39
On Jun 12, 2010, at 2:42 PM, Jack Bryan wrote:
> After installingit, I compile some c++ program with calling for
> boost.MPI class, the compiler cannot find the header files in the
> program even though I have included the boost path in the compile
> command.
[ snip ]
> mpic++ -o testp2p test_p2p.cpp I/home/myname/boost_2010_6_8/
> boost_1_43_0
Your dash I path is missing the dash. Try it like this.
> mpic++ -o testp2p test_p2p.cpp -I/home/myname/boost_2010_6_8/
> boost_1_43_0
-- Noel
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