rolandshacks / vs64

C64 Development Environment for Visual Studio Code
Other
88 stars 15 forks source link

Linux install does not work #33

Closed Rytikar closed 1 year ago

Rytikar commented 1 year ago

Installed VS64 2.02 on Ubuntu 22.10 and VC 1.74.3

acme, cc65 and vice installed. paths in settings updated (/usr/bin/acme, /usr/bin/cc65)

Command to create project produces: 'Command 'VS64: Create ACME Assembler Project' resulted in an error (command 'vs64.createProjectAsm' not found)

Opening example folder with main.asm generates:

When trying to run: No example.report created in build folder.

rolandshacks commented 1 year ago

Thank you for the report. Will immediately have a look.

rolandshacks commented 1 year ago

Ok. This is not a bug, but a not well handled mistake in the settings - which I should fix and improve soon. Both mentioned settings (acme and cc65 - and also llvm) are installation DIRECTORIES which need to be set if they are not the default. For a usual Linux installation, just leave it blank and it should be fine. In case you used the Getting Started wizard, you can just tick off the settings steps.

As said before, thanks for the feedback - I will think about how to make this more robust.

Please clear the settings for acme and cc65, try again and let me know if things are fine now.

Rytikar commented 1 year ago

Right, that was fast, and it worked. I removed the settings to blank paths and things started to work. Nice I also created a launch config and got the example program to run in vice. Many thanks, :-) Btw, I plan to have a big C64 program (36k assembler) from 1988 converted to cross assembling. I have no idea how all my tools from 35 years ago work anymore, so better start with improved setup in 2023. :-) I will use this setup to see if it holds up. If something comes up I will contact you. Now to get those assembly files from the C64 to Linux... Thanks for the help

rolandshacks commented 1 year ago

Glad it worked.

amelco commented 1 year ago

Same (probably) issue but in windows with vanilla vscode (fresh install, no extensions).

I installed VS64 v2.0.2 in VS Code 1.74.3. I did not have ACME Cross Assembler installed. Only VICE emulator. I noticed that the button "Update Settings" in "Get Started" window did not work. I could go into settings clicking on the gear icon on the side of extension icon and updated the path to ACME (after installation) and VICE.

I tried to ctrl+shift+p VS64: Create Acme Assembler Project and got the error: 'Command 'VS64: Create ACME Assembler Project' resulted in an error (command 'vs64.createProjectAsm' not found)

Similar error also occur when I try every other option from the ctrl+shift+p menu for the extension. For instance, trying "Getting Started" returns command 'vs64.showWelcome' not found.

I've tried to clean all configuration options without success. Also tried to uninstall/reinstall both extension and vscode.

rolandshacks commented 1 year ago

Hi. Thanks for the update. This is really strange, will look at it asap.

Am Mi., 1. Feb. 2023 um 01:22 Uhr schrieb Andre Herman F. Bezerra < @.***>:

Same (probably) issue but in windows with vanilla vscode (fresh install, no extensions).

I installed VS64 v2.0.2 in VS Code 1.74.3. I did not have ACME Cross Assembler installed. Only VICE emulator. I noticed that the button "Update Settings" in "Get Started" window did not work. I could go into settings clicking on the gear icon on the side of extension icon and updated the path to ACME (after installation) and VICE.

I tried to ctrl+shift+p VS64: Create Acme Assembler Project and got the error: 'Command 'VS64: Create ACME Assembler Project' resulted in an error (command 'vs64.createProjectAsm' not found)

Similar error also occur when I try every other option from the ctrl+shift+p menu for the extension. For instance, trying "Getting Started" returns command 'vs64.showWelcome' not found.

I've tried to clean all configuration options without success. Also tried to uninstall/reinstall both extension and vscode.

— Reply to this email directly, view it on GitHub https://github.com/rolandshacks/vs64/issues/33#issuecomment-1411259142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALEIMF3FI2RHQAOR3GORJLWVGUDRANCNFSM6AAAAAAULORPFU . You are receiving this because you commented.Message ID: @.***>

rolandshacks commented 1 year ago

Could you please do me a favor and try once again, but now with log level of vs64 set to "trace" and the developer tools turned on in Visual Studio Code? (You do this using the "Command Palette" -> "Toggle Developer Tools")

THANKS a lot in advance! Roland

Am Mi., 1. Feb. 2023 um 08:29 Uhr schrieb Roland Schabenberger < @.***>:

Hi. Thanks for the update. This is really strange, will look at it asap.

Am Mi., 1. Feb. 2023 um 01:22 Uhr schrieb Andre Herman F. Bezerra < @.***>:

Same (probably) issue but in windows with vanilla vscode (fresh install, no extensions).

I installed VS64 v2.0.2 in VS Code 1.74.3. I did not have ACME Cross Assembler installed. Only VICE emulator. I noticed that the button "Update Settings" in "Get Started" window did not work. I could go into settings clicking on the gear icon on the side of extension icon and updated the path to ACME (after installation) and VICE.

I tried to ctrl+shift+p VS64: Create Acme Assembler Project and got the error: 'Command 'VS64: Create ACME Assembler Project' resulted in an error (command 'vs64.createProjectAsm' not found)

Similar error also occur when I try every other option from the ctrl+shift+p menu for the extension. For instance, trying "Getting Started" returns command 'vs64.showWelcome' not found.

I've tried to clean all configuration options without success. Also tried to uninstall/reinstall both extension and vscode.

— Reply to this email directly, view it on GitHub https://github.com/rolandshacks/vs64/issues/33#issuecomment-1411259142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALEIMF3FI2RHQAOR3GORJLWVGUDRANCNFSM6AAAAAAULORPFU . You are receiving this because you commented.Message ID: @.***>

rolandshacks commented 1 year ago

Another option: could it be that you did not create a workspace? (like, not having opened a folder?)

Am Mi., 1. Feb. 2023 um 09:18 Uhr schrieb Roland Schabenberger < @.***>:

Could you please do me a favor and try once again, but now with log level of vs64 set to "trace" and the developer tools turned on in Visual Studio Code? (You do this using the "Command Palette" -> "Toggle Developer Tools")

THANKS a lot in advance! Roland

Am Mi., 1. Feb. 2023 um 08:29 Uhr schrieb Roland Schabenberger < @.***>:

Hi. Thanks for the update. This is really strange, will look at it asap.

Am Mi., 1. Feb. 2023 um 01:22 Uhr schrieb Andre Herman F. Bezerra < @.***>:

Same (probably) issue but in windows with vanilla vscode (fresh install, no extensions).

I installed VS64 v2.0.2 in VS Code 1.74.3. I did not have ACME Cross Assembler installed. Only VICE emulator. I noticed that the button "Update Settings" in "Get Started" window did not work. I could go into settings clicking on the gear icon on the side of extension icon and updated the path to ACME (after installation) and VICE.

I tried to ctrl+shift+p VS64: Create Acme Assembler Project and got the error: 'Command 'VS64: Create ACME Assembler Project' resulted in an error (command 'vs64.createProjectAsm' not found)

Similar error also occur when I try every other option from the ctrl+shift+p menu for the extension. For instance, trying "Getting Started" returns command 'vs64.showWelcome' not found.

I've tried to clean all configuration options without success. Also tried to uninstall/reinstall both extension and vscode.

— Reply to this email directly, view it on GitHub https://github.com/rolandshacks/vs64/issues/33#issuecomment-1411259142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALEIMF3FI2RHQAOR3GORJLWVGUDRANCNFSM6AAAAAAULORPFU . You are receiving this because you commented.Message ID: @.***>

rolandshacks commented 1 year ago

Well, I think that's the problem: In case there's no workspace (folder opened) - the extension does not register completely. Workaround: open a folder, restart vscode

I consider this to be a bug and will fix asap.

Am Mi., 1. Feb. 2023 um 10:47 Uhr schrieb Roland Schabenberger < @.***>:

Another option: could it be that you did not create a workspace? (like, not having opened a folder?)

Am Mi., 1. Feb. 2023 um 09:18 Uhr schrieb Roland Schabenberger < @.***>:

Could you please do me a favor and try once again, but now with log level of vs64 set to "trace" and the developer tools turned on in Visual Studio Code? (You do this using the "Command Palette" -> "Toggle Developer Tools")

THANKS a lot in advance! Roland

Am Mi., 1. Feb. 2023 um 08:29 Uhr schrieb Roland Schabenberger < @.***>:

Hi. Thanks for the update. This is really strange, will look at it asap.

Am Mi., 1. Feb. 2023 um 01:22 Uhr schrieb Andre Herman F. Bezerra < @.***>:

Same (probably) issue but in windows with vanilla vscode (fresh install, no extensions).

I installed VS64 v2.0.2 in VS Code 1.74.3. I did not have ACME Cross Assembler installed. Only VICE emulator. I noticed that the button "Update Settings" in "Get Started" window did not work. I could go into settings clicking on the gear icon on the side of extension icon and updated the path to ACME (after installation) and VICE.

I tried to ctrl+shift+p VS64: Create Acme Assembler Project and got the error: 'Command 'VS64: Create ACME Assembler Project' resulted in an error (command 'vs64.createProjectAsm' not found)

Similar error also occur when I try every other option from the ctrl+shift+p menu for the extension. For instance, trying "Getting Started" returns command 'vs64.showWelcome' not found.

I've tried to clean all configuration options without success. Also tried to uninstall/reinstall both extension and vscode.

— Reply to this email directly, view it on GitHub https://github.com/rolandshacks/vs64/issues/33#issuecomment-1411259142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALEIMF3FI2RHQAOR3GORJLWVGUDRANCNFSM6AAAAAAULORPFU . You are receiving this because you commented.Message ID: @.***>

rolandshacks commented 1 year ago

Should be fixed with release v2.0.3 (Release has been published on vscode marketplace)

Please check and re-open in case the problem is not gone. THANK YOU!!

amelco commented 1 year ago

Wow! Thanks for the quick response and update. I will check if the problem persists and, if so, I'll reopen this and give you the information you asked.