You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test in the Windows console, using the command line, and adding compiler.exe to the path. It informs you with a warning that it cannot find a file and therefore does not compile it.
1 - Compiler.exe Prog.ob07 win64con -out Prog.exe
A - Akron Oberon Compiler v1.66 (64-bit) 10-feb-2023
Copyright (c) 2018-2023, Anton Krotov
file C:\temp\oberon07\samples\Windows\hello\lib\Windows\RTL.ob07 not found
compiling (1) API (SYSTEM)
compiling (2) RTL (SYSTEM)
compiling (3) Out (SYSTEM)
compiling (4) Prog1
780 lines, 0.00 sec, 7168 bytes
If you pass the complete path line, it compiles. But in the case if only the place where the code to be compiled is, it cannot find the lib and does not compile. Is there a way to adjust this?
thanks
The text was updated successfully, but these errors were encountered:
'lib' folder must be in the same folder as the compiler. An alternative way is to place all program modules (including RTL and API) in one folder. I don't know how to do it better.
Test in the Windows console, using the command line, and adding compiler.exe to the path. It informs you with a warning that it cannot find a file and therefore does not compile it.
1 - Compiler.exe Prog.ob07 win64con -out Prog.exe
A - Akron Oberon Compiler v1.66 (64-bit) 10-feb-2023
Copyright (c) 2018-2023, Anton Krotov
file C:\temp\oberon07\samples\Windows\hello\lib\Windows\RTL.ob07 not found
but,
1 - C:\temp\oberon07>Compiler.exe c:\temp\oberon07\samples\Windows\hello\Prog1.ob07 win64con -out C:\temp\oberon07\samples\Windows\hello\Prog1.exe
Akron Oberon Compiler v1.66 (64-bit) 10-feb-2023
Copyright (c) 2018-2023, Anton Krotov
compiling (1) API (SYSTEM)
compiling (2) RTL (SYSTEM)
compiling (3) Out (SYSTEM)
compiling (4) Prog1
780 lines, 0.00 sec, 7168 bytes
If you pass the complete path line, it compiles. But in the case if only the place where the code to be compiled is, it cannot find the lib and does not compile. Is there a way to adjust this?
thanks
The text was updated successfully, but these errors were encountered: