SAnsell / CombLayer

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

Problems to compile master #42

Closed kbat closed 8 years ago

kbat commented 8 years ago

Hi Stuart,

I get the following errors trying to compile the master branch (d16ab52):

[ 34%] Building CXX object CMakeFiles/libessBuild.dir/Model/essBuild/bunkerVariables.cxx.o /home/kbat/misc/soft/comblayer/master/System/weights/WeightControl.cxx:996:24: error: use of undeclared identifier 'IParam' const size_t NSetCnt=IParam.setCnt("wwgCalc"); ^ /home/kbat/misc/soft/comblayer/master/System/weights/WeightControl.cxx:999:28: error: use of undeclared identifier 'IParam' const size_t itemCnt=IParam.itemCnt("wwgCalc",index); ^ /home/kbat/misc/soft/comblayer/master/System/weights/WeightControl.cxx:1018:1: error: function definition is not allowed here { ^ /home/kbat/misc/soft/comblayer/master/System/weights/WeightControl.cxx:1054:1: error: function definition is not allowed here { ^ /home/kbat/misc/soft/comblayer/master/System/weights/WeightControl.cxx:1076:1: error: expected '}' ^ /home/kbat/misc/soft/comblayer/master/System/weights/WeightControl.cxx:85:1: note: to match this '{' { ^ 5 errors generated. make[3]: *\ [CMakeFiles/libweights.dir/System/weights/WeightControl.cxx.o] Error 1

kbat commented 8 years ago

It was fixed - thanks!