Adam Wulkiewicz wrote On 4-6-2014 19:08:
Adam Wulkiewicz wrote:
2014-06-03 12:35 GMT+02:00 Adam Wulkiewicz <adam.wulkiewicz@gmail.com>:

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
update'?
I think that would be a safe thing to do.

And then indeed
remove the BOOST_ROOT/boost/ directory and run b2 headers again.




Regards, Barend