leuat / TRSE

Turbo Rascal Syntax Error full repo
GNU General Public License v3.0
243 stars 44 forks source link

(Linux) @export fails because of "double slash" in file paths #818

Closed ProbDenis closed 1 year ago

ProbDenis commented 1 year ago

I can't build most of the example projects, because TRSE seems to mess up the file paths when using "@export". I'm using the Linux version, so this might be a Linux-specific bug.

Here's what happens: If the code is looking for a file "resources/sprites/sprites.flf", a "file not found error" shows up with the path containing a "double slash". Looks like the project path ends with a slash, and the compiler adds another one?

And here's a screenshot: double_slash

zzarko commented 1 year ago

Hi @ProbDenis, I am also a Linux user of TRSE (not a TRSE developer, but maybe I can help), can you tell me which example did you try to compile? AFAIK, double slashes should not be a problem for paths (for Linux), but I am not sure how Qt handles them.

ProbDenis commented 1 year ago

I saw the error message multiple times when trying to run C64 examples and tutorials. I tried again today and couldn't reproduce it at all - the examples that didn't run are now running just fine, and I'm not sure what I did differently. I'm closing the issue for now.