PeterStaev / lego-spikeprime-mindstorms-vscode

Helps you connect and work with Lego's SPIKE Prime/MINDSTORMS Robot Inventor hubs
Apache License 2.0
64 stars 22 forks source link

Beginner quick start? #33

Closed nikobonomi closed 2 years ago

nikobonomi commented 2 years ago

Hi guys,

Sorry I'm a total noob with visual studio.

I've installed the plugin on a fresh visual studio install, under ubuntu 21.10.

Now I'm pretty lost, I dont have the icon "hub disconnected" in the bottom status bar nor I know how to start a "spike project". I have done a quick google search but with no lucky.

I went trough the README.md multiple times but still I have no clue where to start :/

The hub is connected trough an USB cable to the laptop, I'm able to use the lego spike web application to run some code, I also used the screen command to interact with the python on /dev/ttyACM0 device .

Thanks in advice!

image

PeterStaev commented 2 years ago

Hey @nikobonomi , if you dont see the item in the status bar this means that the plugin fails to start. Right now seems the new VSCode version uses a new V8 engine which requires the plugin to be rebuilt (#32), which I will try to do later in the week. But also before I had problems compiling the plugin for Linux, as I'm not a Linux expert myself :( I will try again when I rebuild the plugin for Win/macOS, hopefully it would work this time.

nikobonomi commented 2 years ago

Hi @PeterStaev!

Thanks for the answer, actually I have tried following the building instruction.

During the build it generates some warning s and notes, noting special to be honest (I upload the console log), I appears that it is not able to compile the bindings.

Maybe it could be useful to someone familiar with node :)

logs.txt

By the way, thanks for you time!