WARNING: Full-path compiler "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe" not found!! WARNING: Attempting replacement by "cl.exe" INFO: No output directory specified (--dir) INFO: Using directory: "Test_mirror_elliptic_20240301_105132" INFO: Regenerating c-file: Test_mirror_elliptic.c DEBUG: CMD: C:\install_mcstas\miniconda3\bin\mcxtrace -t -o Test_mirror_elliptic.c C:\\Users\\pkwi\\mctest\\20240301_1047_43\\3.4.24_Windows\\Test_mirror_elliptic\\Test_mirror_elliptic.instr CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: C:\install_mcstas\miniconda3\bin\mcxtrace finished INFO: Recompiling: Test_mirror_elliptic.exe DEBUG: CMD: cl.exe -o Test_mirror_elliptic.exe Test_mirror_elliptic.c -lm /Zi /O2 /Ob1 /DNDEBUG /DWIN32 /D_WINDOWS /std:c11 -std=c99 Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30153 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release cl : Command line warning D9002 : ignoring unknown option '-lm' cl : Command line warning D9002 : ignoring unknown option '-std=c99' Test_mirror_elliptic.c C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winbase.h(9531): warning C5105: macro expansion producing 'defined' has undefined behavior Test_mirror_elliptic.c(2171): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_mirror_elliptic.c(2171): note: consider using '%zi' in the format string Test_mirror_elliptic.c(5741): warning C4477: 'printf' : format string '%i' requires an argument of type 'int', but variadic argument 1 has type 'void *' Test_mirror_elliptic.c(5741): warning C4313: 'printf': '%i' in format string conflicts with argument 1 of type 'void *' Test_mirror_elliptic.c(7173): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_mirror_elliptic.c(7173): note: consider using '%zi' in the format string Test_mirror_elliptic.c(7771): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_mirror_elliptic.c(7771): note: consider using '%zi' in the format string Test_mirror_elliptic.c(7796): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_mirror_elliptic.c(7796): note: consider using '%zi' in the format string Test_mirror_elliptic.c(7978): error C2143: syntax error: missing ')' before '*' Test_mirror_elliptic.c(7978): error C2143: syntax error: missing '{' before '*' Test_mirror_elliptic.c(7978): error C2059: syntax error: 'type' Test_mirror_elliptic.c(7981): error C2059: syntax error: ')' Test_mirror_elliptic.c(7984): error C2146: syntax error: missing ')' before identifier 'kqvals' Test_mirror_elliptic.c(7984): error C2061: syntax error: identifier 'kqvals' Test_mirror_elliptic.c(7984): error C2059: syntax error: ';' Test_mirror_elliptic.c(7984): error C2059: syntax error: '[' Test_mirror_elliptic.c(7987): error C2059: syntax error: ')' Test_mirror_elliptic.c(7993): error C2146: syntax error: missing ')' before identifier 'chi0' Test_mirror_elliptic.c(7993): error C2061: syntax error: identifier 'chi0' Test_mirror_elliptic.c(7993): error C2059: syntax error: ';' Test_mirror_elliptic.c(7993): error C2059: syntax error: ',' Test_mirror_elliptic.c(7994): error C2059: syntax error: ')' Test_mirror_elliptic.c(8002): error C2146: syntax error: missing ')' before identifier 'chi0' Test_mirror_elliptic.c(8002): error C2061: syntax error: identifier 'chi0' Test_mirror_elliptic.c(8002): error C2059: syntax error: ';' Test_mirror_elliptic.c(8002): error C2059: syntax error: ',' Test_mirror_elliptic.c(8003): error C2059: syntax error: ')' Test_mirror_elliptic.c(8029): error C2143: syntax error: missing ')' before '*' Test_mirror_elliptic.c(8029): error C2143: syntax error: missing '{' before '*' Test_mirror_elliptic.c(8029): error C2059: syntax error: 'type' Test_mirror_elliptic.c(8032): error C2059: syntax error: ')' Test_mirror_elliptic.c(8119): error C2146: syntax error: missing ')' before identifier 'chi0' Test_mirror_elliptic.c(8119): error C2061: syntax error: identifier 'chi0' Test_mirror_elliptic.c(8119): error C2059: syntax error: ';' Test_mirror_elliptic.c(8119): error C2059: syntax error: ',' Test_mirror_elliptic.c(8121): error C2059: syntax error: ')' Test_mirror_elliptic.c(8202): error C2146: syntax error: missing ')' before identifier 'kqvals' Test_mirror_elliptic.c(8202): error C2061: syntax error: identifier 'kqvals' Test_mirror_elliptic.c(8202): error C2059: syntax error: ';' Test_mirror_elliptic.c(8202): error C2059: syntax error: '[' Test_mirror_elliptic.c(8205): error C2059: syntax error: ')' Test_mirror_elliptic.c(8336): error C2146: syntax error: missing ')' before identifier 'chi0' Test_mirror_elliptic.c(8336): error C2061: syntax error: identifier 'chi0' Test_mirror_elliptic.c(8336): error C2059: syntax error: ';' Test_mirror_elliptic.c(8336): error C2059: syntax error: ',' Test_mirror_elliptic.c(8337): error C2059: syntax error: ')' Test_mirror_elliptic.c(8588): error C2146: syntax error: missing ';' before identifier 'R' Test_mirror_elliptic.c(8588): error C2061: syntax error: identifier 'R' Test_mirror_elliptic.c(8589): error C2059: syntax error: '}' Test_mirror_elliptic.c(8636): error C2079: 'rconst' uses undefined struct 't_reflec_constant' Test_mirror_elliptic.c(8651): error C2061: syntax error: identifier 'refleccq' Test_mirror_elliptic.c(8651): error C2059: syntax error: ';' Test_mirror_elliptic.c(8651): error C2059: syntax error: '' Test_mirror_elliptic.c(8655): error C2061: syntax error: identifier 'reflecc' Test_mirror_elliptic.c(8655): error C2059: syntax error: ';' Test_mirror_elliptic.c(8655): error C2059: syntax error: '' Test_mirror_elliptic.c(8658): error C2061: syntax error: identifier 'reflec_coating' Test_mirror_elliptic.c(8658): error C2059: syntax error: ';' Test_mirror_elliptic.c(8658): error C2059: syntax error: '' Test_mirror_elliptic.c(8660): error C2061: syntax error: identifier 'reflec_bare' Test_mirror_elliptic.c(8660): error C2059: syntax error: ';' Test_mirror_elliptic.c(8660): error C2059: syntax error: '' Test_mirror_elliptic.c(8662): error C2061: syntax error: identifier 'reflec_q_prmtc' Test_mirror_elliptic.c(8662): error C2059: syntax error: ';' Test_mirror_elliptic.c(8662): error C2059: syntax error: '' Test_mirror_elliptic.c(8664): error C2061: syntax error: identifier 'reflec_parratt' Test_mirror_elliptic.c(8664): error C2059: syntax error: ';' Test_mirror_elliptic.c(8664): error C2059: syntax error: '' Test_mirror_elliptic.c(8666): error C2061: syntax error: identifier 'reflec_kinematic' Test_mirror_elliptic.c(8666): error C2059: syntax error: ';' Test_mirror_elliptic.c(8666): error C2059: syntax error: '' Test_mirror_elliptic.c(8668): error C2061: syntax error: identifier 'parrat_reflec_bulk' Test_mirror_elliptic.c(8668): error C2059: syntax error: ';' Test_mirror_elliptic.c(8668): error C2059: syntax error: '' Test_mirror_elliptic.c(8670): error C2061: syntax error: identifier 'reflec_eth_prmtc' Test_mirror_elliptic.c(8670): error C2059: syntax error: ';' Test_mirror_elliptic.c(8670): error C2059: syntax error: '' Test_mirror_elliptic.c(8715): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' Test_mirror_elliptic.c(8721): error C2224: left of '.R' must have struct/union type Test_mirror_elliptic.c(8788): error C2224: left of '.R' must have struct/union type Test_mirror_elliptic.c(8808): error C2224: left of '.R' must have struct/union type Test_mirror_elliptic.c(8820): error C2224: left of '.R' must have struct/union type Test_mirror_elliptic.c(8987): error C2061: syntax error: identifier 'reflec_coating' Test_mirror_elliptic.c(8987): error C2059: syntax error: ';' Test_mirror_elliptic.c(8987): error C2059: syntax error: '' Test_mirror_elliptic.c(9019): error C2061: syntax error: identifier 'reflec_bare' Test_mirror_elliptic.c(9019): error C2059: syntax error: ';' Test_mirror_elliptic.c(9019): error C2059: syntax error: '' Test_mirror_elliptic.c(9023): error C2061: syntax error: identifier 'reflec_kinematic' Test_mirror_elliptic.c(9023): error C2059: syntax error: ';' Test_mirror_elliptic.c(9023): error C2059: syntax error: '' Test_mirror_elliptic.c(9033): error C2061: syntax error: identifier 'reflec_q_prmtc' Test_mirror_elliptic.c(9033): error C2059: syntax error: ';' Test_mirror_elliptic.c(9033): error C2059: syntax error: '' Test_mirror_elliptic.c(9045): error C2061: syntax error: identifier 'reflec_eth_prmtc' Test_mirror_elliptic.c(9045): error C2059: syntax error: ';' Test_mirror_elliptic.c(9045): error C2059: syntax error: '' Test_mirror_elliptic.c(9055): error C2061: syntax error: identifier 'reflec_parratt' Test_mirror_elliptic.c(9055): error C2059: syntax error: ';' Test_mirror_elliptic.c(9055): error C2059: syntax error: '' Test_mirror_elliptic.c(9078): error C2061: syntax error: identifier 'parrat_reflec_bulk' Test_mirror_elliptic.c(9078): error C2059: syntax error: ';' Test_mirror_elliptic.c(9078): error C2059: syntax error: '' Test_mirror_elliptic.c(9102): error C2061: syntax error: identifier 'refleccq' Test_mirror_elliptic.c(9102): error C2059: syntax error: ';' Test_mirror_elliptic.c(9102): error C2059: syntax error: '' Test_mirror_elliptic.c(9159): error C2224: left of '.R' must have struct/union type Test_mirror_elliptic.c(9159): error C2168: 'fabs': too few actual parameters for intrinsic function Test_mirror_elliptic.c(9164): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_mirror_elliptic.c(9164): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_mirror_elliptic.c(9169): error C2146: syntax error: missing ';' before identifier 'rp' Test_mirror_elliptic.c(9169): fatal error C1003: error count exceeds 100; stopping compilation INFO: call to cl.exe failed with Command 'cl.exe -o Test_mirror_elliptic.exe Test_mirror_elliptic.c -lm /Zi /O2 /Ob1 /DNDEBUG /DWIN32 /D_WINDOWS /std:c11 -std=c99' returned non-zero exit status 2. Traceback (most recent call last): File "C:\install_mcstas\miniconda3\share\mcxtrace\tools\Python\mxrun\mxrun.py", line 569, in main() File "C:\install_mcstas\miniconda3\share\mcxtrace\tools\Python\mxrun\mxrun.py", line 483, in main mcstas.prepare(options) File "C:\install_mcstas\miniconda3\share\mcxtrace\tools\Python\mxrun\mccode.py", line 245, in prepare Process(lexer.quote(options.cc)).run(args) File "C:\install_mcstas\miniconda3\share\mcxtrace\tools\Python\mxrun\mccode.py", line 77, in run raise err File "C:\install_mcstas\miniconda3\share\mcxtrace\tools\Python\mxrun\mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) File "C:\install_mcstas\miniconda3\lib\subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'cl.exe -o Test_mirror_elliptic.exe Test_mirror_elliptic.c -lm /Zi /O2 /Ob1 /DNDEBUG /DWIN32 /D_WINDOWS /std:c11 -std=c99' returned non-zero exit status 2.