Subject: Re: [geometry] submodule update (was: Fixing unused variable/typdef warnings)
From: Barend Gehrels (barend_at_[hidden])
Date: 2014-06-18 06:00:11
Adam Wulkiewicz wrote On 4-6-2014 19:08:
> Adam Wulkiewicz wrote:
>> 2014-06-03 12:35 GMT+02:00 Adam Wulkiewicz <adam.wulkiewicz_at_[hidden]
>> When I switched to develop branch in the modular-boost and
>> pulled, the libs/core/ directory was created but was empty. AFAIR
>> this helped:
> For those of you having problems with the updating ModularBoost. Not
> only Core was created, also ThrowException. So if directories of those
> submodules are empty you must update both:
> git submodule update --init libs/core
> git submodule update --init libs/throw_exception
> Then to avoid problems remove the BOOST_ROOT/boost/ directory and run
> b2 headers again.
I now got:
../../../../boost/smart_ptr/shared_ptr.hpp:25:10: fatal error:
'boost/assert.hpp' file not found
which is in yet another module.
For those who have this too, the general thing to do is:
git submodule update --init
Quoted from boost mailing list:
> I don't reach to get the last changes in libs/core after un update of
> the whole boost repository and it modules
> That should be 'git submodule update --init'
> Does this mean that we should*always* add the --init when doing 'git submodule
> I think that would be a safe thing to do.
And then indeed
> remove the BOOST_ROOT/boost/ directory and run b2 headers again.
Geometry list run by mateusz at loskot.net