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

String issues make unresolvable file errors inactionable #11

Closed
BitFracture opened this issue Jul 30, 2021 · 1 comment
Closed

String issues make unresolvable file errors inactionable #11

BitFracture opened this issue Jul 30, 2021 · 1 comment

Comments

@BitFracture
Copy link

On win64, versions 1.4 and 1.5 at least, I can execute an include -I with -I"." for current dir, and it works fine. Finds include files. If I put anything else there, such as -I"C:\Users\username\git\project.git\source" I get an often confusing error message. It doesn't help if I omit the drive letter or reverse my slashes to unix style.

Examples:

rasm_win64 "emulator_main.asm" -I"." -I"C:\Users\username\git\project.git\source" -ob "emulator_main.bin"

Result: Cannot find file [≡╛v ☺]

rasm_win64 "emulator_main.asm" -I"C:\Users\username\git\project.git\source" -ob "emulator_main.bin"

Result: Cannot find file [emulator_main]

The assembly file doesn't need to include anything from source for this to happen, simply by including this -I it breaks and I can't sort out why. It's entirely possible I'm misusing -I but the error message isn't directing me towards the cause. I have also included longer files where the file name in the error is truncated, not at the ends, but in the middle, and placed in this error message. I'm having trouble reproing that 3rd case with my example at the moment. Let me know if I can provide any more examples or assist in finding the cause in any way, thanks!

Environment:
Windows 10 x64
RASM 1.5 x64

@EdouardBERGE
Copy link
Owner

solved 16 august 2021

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