English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 22 June 2022, 19:31   #1
dalton
tulou
 
dalton's Avatar
 
Join Date: Jun 2006
Location: Gothenburg / Sweden
Posts: 88
Issue getting started with amiga-debug Visual Studio Code Extension (Windows)

Hello,

Bartman's vscode extension for amiga development seems really cool but I'm having some trouble getting started with it. After I initialize the sample project and try to build (with F5) I get the following errors. Maybe someone has had this problem before?

Code:
> Executing task: c:\Users\david\.vscode\extensions\bartmanabyss.amiga-debug-1.4.0\bin\gnumake.exe -j4 <

Compiling main.c
Compiling support/gcc8_c_support.c
Assembling support/gcc8_a_support.s
Assembling support/depacker_doynax.s
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
gnumake: *** [Makefile:51: obj/main.o] Error 1
gnumake: *** Waiting for unfinished jobs....
gnumake: *** [Makefile:51: obj/gcc8_c_support.o] Error 1
AsAsesmsbelmebrl emre smseasgseasg:e
sF:a
tFaalt aelr reorrr:o rc:a nc'atn 'ctr ecarteea toeb jo/bdje/pgaccck8e_ra__dsouypnpaoxr.to.:o :N oN os uscuhc hf ifliel eo ro rd idriercetcotroyr
y
gnumake: *** [Makefile:57: obj/depacker_doynax.o] Error 1
gnumake: *** [Makefile:57: obj/gcc8_a_support.o] Error 1
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c c:\Users\david\.vscode\extensions\bartmanabyss.amiga-debug-1.4.0\bin\gnumake.exe -j4" terminated with exit code: 2.
First of all I think the really weird non-readable text is actually two errors being printed at the same time and the letters get mixed up with each other.

The `unexpected EOF` error seems to come from the Makefile line
Code:
@if not exist "$(call forward-to-backward,$(dir $@))" mkdir $(call forward-to-backward,$(dir $@))
I think the makefile commands are somehow being executed by sh, when they should really be executed with windows' cmd.

Does anybody have a clue?

Windows 11, vscode 1.68.1
dalton is offline  
Old 23 June 2022, 08:12   #2
dalton
tulou
 
dalton's Avatar
 
Join Date: Jun 2006
Location: Gothenburg / Sweden
Posts: 88
Solved by adding
Code:
SHELL = c:/windows/system32/cmd.exe
to the top of Makefile.

Make was using Git's `sh` to run commands but the commands are designed for windows `cmd.exe`.
dalton is offline  
Old 23 June 2022, 21:02   #3
Bartman
Registered User
 
Join Date: Feb 2019
Location: Munich, Germany
Posts: 63
Thanks for reporting. Fixed in 1.4.1!
Bartman is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga Assembly extension for Visual Studio Code prb28 Coders. Asm / Hardware 342 15 December 2023 21:22
Amiga GCC 8.3+gdb extension for Visual Studio Code Bartman Coders. C/C++ 117 11 March 2023 20:06
Pb Visual Studio Code LeCaravage Coders. Asm / Hardware 4 07 April 2022 17:55
Amiga Assembly exension for Visual Studio Code 0.19 released prb28 Coders. General 2 02 January 2020 18:34
Visual Studio Code Blitz Basic extension earok Coders. Blitz Basic 29 16 July 2019 17:59

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:37.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10927 seconds with 15 queries