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

Linux VSCode Marketplace extension fails to build example project #266

Open
Hypexed opened this issue Nov 20, 2024 · 1 comment
Open

Linux VSCode Marketplace extension fails to build example project #266

Hypexed opened this issue Nov 20, 2024 · 1 comment

Comments

@Hypexed
Copy link

Hypexed commented Nov 20, 2024

Hi there.

So I tested out the project from running VSCode in Linux and installed from Marketplace. I then set the ROMs from the interface. Following the Quick-start guide until I was ready for example build. I then hit F5 and got these errors:

Compiling main.c
make: execvp: m68k-amiga-elf-gcc: Permission denied
make: *** [Makefile:69: obj/main.o] Error 127

 *  The terminal process "/bin/bash '-c', 'make -j4 program=out/a'" failed to launch (exit code: 2). 

I then located the binaries and set executable bit. They are in various places so not easily fixed by hand. I progressed to this:

#include errors detected based on information provided by the configurationProvider setting. Squiggles are disabled for this ```
translation unit (/home/damien/Development/Amiga/VSC/main.c).
cannot open source file "proto/exec.h
cannot open source file "proto/dos.h

`
There were a few other include files it didn't find. They definitely exist in the sys-include folder. This was output in the terminal:

 *  Executing task: make -j4 program=out/a 

Compiling main.c
Compiling support/gcc8_c_support.c
Assembling support/gcc8_a_support.s
Assembling support/depacker_doynax.s
Assembling support/depacker_doynax_vasm.asm
as: unrecognized option '-mcpu=68000'
as: unrecognized option '-mcpu=68000'
make: *** [Makefile:73: obj/gcc8_a_support.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:73: obj/depacker_doynax.o] Error 1
as: unrecognized option '-mcpu=68000'
make: *** [Makefile:69: obj/main.o] Error 1
as: unrecognized option '-mcpu=68000'
make: *** [Makefile:69: obj/gcc8_c_support.o] Error 1

 *  The terminal process "/bin/bash '-c', 'make -j4 program=out/a'" terminated with exit code: 2. 

I'm unsure where it's pulling 'as' from. The unrecognized option would indicate the host one and not the Amiga one is being executed. Apart from that I cannot find any ELF file and only so objects for as binary.

@Hypexed
Copy link
Author

Hypexed commented Nov 21, 2024

Found what is breaking it. It's the permissions issue again. I located all binaries it complained about and set them to execute which completed the build.

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

1 participant