McStas and W32

Peter Link Peter_Link at physik.tu-muenchen.de
Mon Jan 25 10:17:10 CET 1999


Dear Kristian Nielsen,
at first my congratulations for your and your collegues work.
I downloaded McStas last week and started to learn using it. I'm
instrument responsible of the future thermal triple axis spektrometer at
the Munich FRM II. I plan to simulate my hole instrument using McStas
during the following months.
I tried the Win32 compilation and I think in basic view it works.
Although I'm a little concerned about some compiler warnings ( VC++,
Microsoft, WinNT):

/usr/share/misc/bison.simple(387) : warning C4013: 'yylex' undefined;
Suppose: extern mit Rueckgabetyp int
/usr/share/misc/bison.simple(590) : warning C4013: 'yyerror' undefined;
Suppose: extern mit Rueckgabetyp int
instrument.y(745) : warning C4716: 'yyerror' : has to return a value
e:\mcstas\rotation.c(153) : warning C4101: 'k' : unreferenced local
variable

I think this is due to the exotic enviroment, but perhaps You know some
turn arounds.

I also wonder whether there exists a possiblility to use front-ends like
gscan with Win32?

Last but not least I discussed with Georg Artus a collegue here in
Munich about source definition. source_flat has a circular face. As my
beamtube will have a rectangular nose I ask myself about the best way to
implement this.
Best regards Peter
-- 
******************************************
Dr. P. Link
IPC Uni Göttingen
Außenstelle Garching
Neue Forschungs- Neutronenquelle Garching
ZBE- FRM II- Bau
85747 Garching

Tel. 089 2891 4622
Fax. 089 2895 4622
mailto: plink at physik.tu-muenchen.de
******************************************





More information about the mcstas-users mailing list