BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
312 stars 39 forks source link

Example: main.c and support/gcc8_c_support.c cannot be found #139

Closed sebastianbergmann closed 1 year ago

sebastianbergmann commented 1 year ago

I followed the quick start instructions. When I hit F5 then I get the output shown below:

 *  Task wird ausgeführt: c:\Users\sb\.vscode\extensions\bartmanabyss.amiga-debug-1.6.2\bin\win32\gnumake.exe -j4 program=out/a 

Compiling main.c
Compiling support/gcc8_c_support.c
Assembling support/gcc8_a_support.s
cc1.exe: fatal error: Example/main.c: No such file or directory
compilation terminated.
cc1.exe: fatal error: Example/support/gcc8_c_support.c: No such file or directory
compilation terminated.
gnumake: *** [Makefile:69: obj/main.o] Error 1
gnumake: *** Waiting for unfinished jobs....
gnumake: *** [Makefile:69: obj/gcc8_c_support.o] Error 1

 *  Der Terminalprozess "C:\Users\sb\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe -Command c:\Users\sb\.vscode\extensions\bartmanabyss.amiga-debug-1.6.2\bin\win32\gnumake.exe -j4 program=out/a" wurde mit folgendem Exitcode beendet: 1. 

Environment

BartmanAbyss commented 1 year ago

oops. there seems to be some files there that shouldn't be... from VSCode open the "obj" folder and delete all files, then do the same with the "out" folder. then it should work. Will fix that in the next version.

sebastianbergmann commented 1 year ago

from VSCode open the "obj" folder and delete all files, then do the same with the "out" folder. then it should work.

This unfortunately does not solve the issue for me.

BartmanAbyss commented 1 year ago

hmm.. It worked here. Any more info?

sebastianbergmann commented 1 year ago

Glad to provide more info, but don't know what you're looking for.

I deleted everything in obj and out and hit F5: same result.

I deleted everything, initialized a new Amiga project, deleted everything in obj and out and hit F5: same result.

BartmanAbyss commented 1 year ago

Hmm.. not sure. try to update to the latest 1.6.3? works fine here: https://we.tl/t-xUb3GwLC87

sebastianbergmann commented 1 year ago

Unfortunately same result with 1.6.3. Happy to hop on a video call with screenshare to figure this out collectively if that helps.

BartmanAbyss commented 1 year ago

sure. tonight around 20:00-ish?

sebastianbergmann commented 1 year ago

Works for me. How can I send you the URL for the video call?

BartmanAbyss commented 1 year ago

So for someone facing the same problem: don't have spaces in your directory names. gnumake can't handle it ;)

sebastianbergmann commented 1 year ago

Thank you so much!