SAnsell / CombLayer

MCNP(X) project builder using C++
GNU General Public License v3.0
14 stars 13 forks source link

muBeam: now can be compiled with new boost #57

Closed kbat closed 7 years ago

kbat commented 7 years ago

This pull request is for the muBeam branch. I tried to build muBeam from the muBeam branch, but failed with several boost-related complains. Therefore I modified the boost-related stuff in order to compile with the modern boost version:

  1. boost::bind replaced with std::bind
  2. when needed, for_each loop replaced with range based for loop (needs c++11)

Now muBeam can be compiled (at least on my laptop).

SAnsell commented 7 years ago

Sorry but this very very old -- I have previously merged the muBeam model into the master model. I really really think the best option is to checkout the master model and simple type ./CMake.pl -O cmake ./ make muBeam ./muBeam -r AA

That should work.

To avoid further problems I am off to do a MASSIVE branch pruning.

kbat commented 7 years ago

I confirm it works in the master model.