openwch / arduino_core_ch32

Core library for CH32duino
248 stars 41 forks source link

CH32 v1.04 doesn't install on Windows 10 #89

Closed cdemos closed 3 months ago

cdemos commented 4 months ago

The 1.04 update won't install on Arduino IDE 2.3.2. Version 1.03 installs fine and seems to work. I get the following message when trying to install 1.04 on Windows 10:

Downloading packages
WCH:beforeinstall@1.0.0
WCH:ch32v@1.0.4Installing WCH:beforeinstall@1.0.0
Failed to install platform: 'WCH:ch32v:1.0.4'.
Error: 13 INTERNAL: Cannot install tool WCH:beforeinstall@1.0.0: extracting archive: Create link
C:\Users\me\AppData\Local\Arduino15\tmp\package-2892474692\wch_beforeinstall_linux-1.0.0\libhidapi-hidraw.so: 
symlink libhidapi-hidraw.so.0.0.0 C:\Users\me\AppData\Local\Arduino15\tmp\package-2892474692\wch_beforeinstall
_linux-1.0.0\libhidapi-hidraw.so: A required privilege is not held by the client.

I also get the same error on a different PC running Windows 11. Looking at other postings, it seems like an error in the install script.

maxint-rd commented 4 months ago

Might be related to issue #44 - have you tried to run the installer as Administrator? That worked for me on Windows 11.

cdemos commented 4 months ago

It looked a bit more complicated than I’d like, and since 1.03 seems fine, I’ll hold off for now and hopefully it will it be fixed when 1.05 comes out.

From: Maxint R&D @.> Sent: Saturday, May 11, 2024 1:41 PM To: openwch/arduino_core_ch32 @.> Cc: cdemos @.>; Author @.> Subject: Re: [openwch/arduino_core_ch32] CH32 v1.04 doesn't install on Windows 10 (Issue #89)

Might be related to issue #44 https://github.com/openwch/arduino_core_ch32/issues/44 - have you tried to run the installer as Administrator? That worked for me on Windows 11.

— Reply to this email directly, view it on GitHub https://github.com/openwch/arduino_core_ch32/issues/89#issuecomment-2105965871 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFY4L57AOKB6SJRQFEUUZMLZBZJ4RAVCNFSM6AAAAABHR3PW7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVHE3DKOBXGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AFY4L56ZULJJLZQF6ZYH723ZBZJ4RA5CNFSM6AAAAABHR3PW7WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT5QZ6S6.gif Message ID: @. @.> >

TianpeiLee commented 3 months ago

Same as #44