Boost logo

Boost Users :

Subject: Re: [Boost-users] boost lib error
From: Jack Bryan (dtustudy68_at_[hidden])
Date: 2010-06-12 17:31:35


Hi

I got the same error, even though
I used mpic++ -o
 testp2p test_p2p.cpp -I/home/myname/boost_2010_6_8/boost_1_43_0

Any help is appreciated.

Jack

From: kbelco_at_[hidden]
To: boost-users_at_[hidden]
Date: Sat, 12 Jun 2010 14:45:39 -0600
Subject: Re: [Boost-users] boost lib error

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
                                               
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3



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