zerasul / genesis-code

Visual Studio Code Genesis Development Extension
https://marketplace.visualstudio.com/items?itemName=zerasul.genesis-code
MIT License
43 stars 9 forks source link

Error when trying to compile and run #1061

Closed Fusion-Tech-05 closed 10 months ago

Fusion-Tech-05 commented 10 months ago

image It fails to compile and run when using Ctrl Shift P then using the 'Genesis Code : Compile and Run' option. gives me and error indicating something is wrong with the && symbol.

zerasul commented 10 months ago

Hi:

Its seems that you are using Powershell as terminal; genesis code works with CMD Prompt. To change the default terminal you can follow the next instructions:

  1. Change default terminal, using the command >Terminal: Select default Profile and select Command Prompt (cmd).

Or you can select the default profile clicking on the following button:

imagen

And click on the option "Select default profile", later select CMD.

Fusion-Tech-05 commented 10 months ago

Thank you so much. I really appreciate you helping me. Can you please help me with this error, I am really not used to visual studio code or setting up a development environment in general. image I am trying to use SGDK if that helps.

zerasul commented 10 months ago

Hi:

Its seems you cannot configure the GDK environment variable. You can set this variable in two ways:

  1. Setting the GDK environment variable on your system.
  2. Set the GDK environment variable on Genesis Code configuration (press ctrl+, and see the options under extensions-> Genesis Code.

I hope this can helps you.

Fusion-Tech-05 commented 10 months ago

What is the GDK variable for?

zerasul commented 10 months ago

The GDK Variable points to your SGDK installation folder.

Fusion-Tech-05 commented 10 months ago

Oh, okay, I understand now, thank you so much.

Fusion-Tech-05 commented 10 months ago

It worked, thank you so much. I am looking forward to be able to develop Sega games using you software to make the process all the more easier. image

zerasul commented 10 months ago

You are welcome.

I you have more questions about Genesis code; you can check the Documentation:

https://zerasul.github.io/genesis-code-docs/

Fusion-Tech-05 commented 10 months ago

Thanks.