Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line compiler reports not finding lib. #23

Open
Spoiledpay opened this issue Nov 21, 2023 · 1 comment
Open

Command line compiler reports not finding lib. #23

Spoiledpay opened this issue Nov 21, 2023 · 1 comment

Comments

@Spoiledpay
Copy link

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

@AntKrotov
Copy link
Owner

'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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants