SAnsell / CombLayer

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

cannot generate Makefile #22

Open mmocko opened 10 years ago

mmocko commented 10 years ago

I downloaded the code (through download zip) and upon running ./getMk.pl -s I cannot generate a full Makefile. The script is missing some includes: mocko@tgt:~/Calculations/CombLayer/CombLayer-master>./getMk.pl -s Ignoring build item :: bilbau Ignoring build item :: pressure Ignoring build item :: divide Ignoring build item :: d4c Ignoring build item :: lens Ignoring build item :: simple Ignoring build item :: ts1layer Ignoring build item :: siMod Ignoring build item :: cuBuild Ignoring build item :: epb Ignoring build item :: bnct INIT Opt= INIT Deb=-g GSL == 1 G++ == g++ -std=c++11 GCC == gcc ZERO on: PlateUnit.h ZERO on: BenderUnit.h No file PlateUnit.h in inc or beamline at getMake.pm line 434. Is the zip file not complete? What do I need to use to download the full package?

michal

kbat commented 10 years ago

I confirm the same problem - it seems like the PlateUnit.h and BlenderUnit.h files are missing in the newest version.

mmocko commented 10 years ago

At least it is not a stupid beginner mistake on my part!

SAnsell commented 10 years ago

Ok -- my fault -- the files are in the branch beamline -- but not in the master AND stupidly I left the link back into in master line. Sorry to all this issue should now be fixed.

Note the beamline branch is not actually working, as I haven't finished it and have a few issues. So if you want to use bendunit etc, it will print an amount of debug information and simply exit (I think). It certainly will not give you any output -- BUT you will only encounter it if you activate the beamline options with

-beamline GuideName InstrumentName , e.g. -beamline Bulk7 JRefl to build the JParc reflectometer on the TS2 beamline number 7. However this feature set doesn't really work yet. My priority is for the TS2 new SANS instrument ZOOM but the components should work with everything.

Note that the original beamline building system (e.g. chipIR etc) works as usual.