[mcstas-users] McStas 3.0 and NCrystal (WSL)
Dembski-Villalta, Michal Piotr
michal.dembski-villalta at tum.de
Sun Feb 7 14:23:04 CET 2021
Dear McStas users,
Thank you for the help with previous issue, i.e. starting mcgui on Ubuntu 20.04, the solution made mcgui work. However, I encountered another problem, this time with NCrystal - I do not know, whether that is a different part of the same issue, or is it something entirely different. As I understand from the changes in Mcstas 3.0:
"Updated version 2.2.2 NCrystal library from T. Kittelmann (ESS) and X.X. Cai (CSNS), distributed with McStas on Unix
platforms only. With McStas 3.0, NCrystal is more tightly integrated and should run without using ncrystal_preparemcstasdir."
However, I cannot get the NCrystal sample to work, using McStas on Windows 10 (WSL1 Ubuntu 20.04):
"
./PANDA_Michal_DV_draft.c: At top level:
./PANDA_Michal_DV_draft.c:7890:10: fatal error: NCrystal/ncrystal.h: No such file or directory
7890 | #include "NCrystal/ncrystal.h"
| ^~~~~~~~~~~~~~~~~~~~~
"
Please find attached the log (together with running mcgui) as well as the .instr and .c files. I would be grateful for any help with it.
Kindly,
Michał Dembski-Villalta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210207/8eca3ecc/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210207/8eca3ecc/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PANDA_Michal_DV_draft.c
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210207/8eca3ecc/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PANDA_Michal_DV_draft.instr
Type: application/octet-stream
Size: 22820 bytes
Desc: PANDA_Michal_DV_draft.instr
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20210207/8eca3ecc/attachment-0001.obj>
More information about the mcstas-users
mailing list