mdembski@PCMICHALDE:/mnt/d/Aplikacje/McStas$ mcgui /usr/bin/mcgui: 14: [[: not found qt.qpa.xcb: X server does not support XInput 2 failed to get the current screen resources QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-mdembski' qt.qpa.xcb: QXcbConnection: XCB error: 1 (BadRequest), sequence: 164, resource id: 90, major code: 130 (Unknown), minor code: 47 qt.qpa.xcb: QXcbConnection: XCB error: 170 (Unknown), sequence: 177, resource id: 90, major code: 146 (Unknown), minor code: 20 McStas version 3.0 (Dec. 15, 2020) Copyright (C) DTU Physics and Risoe National Laboratory, 1997-2020 Additions (C) Institut Laue Langevin, 2003-2020 All rights reserved - Component library: McStas-3.0, built Dec. 15, 2020 Instrument opened: PANDA_Michal_DV_draft.instr /usr/share/mcstas/3.0/tools/Python/mcgui/../mccodelib/../../../bin/mcrun: 14: [[: not found INFO: No output directory specified (--dir) INFO: Using directory: "PANDA_Michal_DV_draft_20210207_132739" INFO: Using existing c-file: ./PANDA_Michal_DV_draft.c INFO: Recompiling: ./PANDA_Michal_DV_draft.out ./PANDA_Michal_DV_draft.c:588: warning: "MC_RAND_MAX" redefined 588 | # define MC_RAND_MAX ULONG_MAX | ./PANDA_Michal_DV_draft.c:560: note: this is the location of the previous definition 560 | # define MC_RAND_MAX ((unsigned long)0xffffffff) | ./PANDA_Michal_DV_draft.c: In function ‘sighandler’: ./PANDA_Michal_DV_draft.c:5280:5: warning: implicit declaration of function ‘kill’ [-Wimplicit-function-declaration] 5280 | kill(0, SIGKILL); /* kill myself if error occurs within sighandler: loops */ | ^~~~ ./PANDA_Michal_DV_draft.c: In function ‘mcsetstate’: ./PANDA_Michal_DV_draft.c:5516:22: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 5516 | mcneutron.mcMagnet = mcMagnet; | ^ ./PANDA_Michal_DV_draft.c: In function ‘Table_Read_Handle’: ./PANDA_Michal_DV_draft.c:6608:18: warning: implicit declaration of function ‘strncasecmp’; did you mean ‘strcasecmp’? [-Wimplicit-function-declaration] 6608 | if (!strncasecmp(lexeme,"NaN",3)) | ^~~~~~~~~~~ | strcasecmp ./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" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated.