MCStas

Andrew Garrett agarrett at ccbsf0.kek.jp
Tue Nov 10 07:37:23 CET 1998


Kristian,

  As we'd discussed during the conference, I've been trying to get
MCStas running under windows.  I'm having a problem...

  The problem occurs in the yyparse function in instrume.c.  This is the
bison parser, and I'm having some trouble isolating the problem.  My
best guess at the moment is all the
    #line x "/usr/share/misc/bison.simple"
since that file doesn't actually exist on my machine (OK, it's not the
most difficult guess in the world).  Do you know what that file is?  Or
where I can find a copy, preferably windows compatible?

  As to other changes that have been required, most have revolved around
the file system, changing the separator '/' to '\'.  Also, I had to
declare the variable read_components in mcstas.h as extern, or I got an
error for this being declared in every file.  I'm not sure if that will
cause problems down the road - was that defined anywhere else?

  Thanks for your help,

  Andrew Garrett




More information about the mcstas-users mailing list