mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-10 21:59:54 -05:00
Update faq.md
This commit is contained in:
@@ -48,3 +48,41 @@ class CommProtocol
|
||||
|
||||
Here `class CommProtocol` not add `@maixpy maix.comm.CommProtocol` but its method `get_msg` add it.
|
||||
So we add `@maixpy maix.comm.CommProtocol` to `class CommProtocol` comment will fix this error.
|
||||
|
||||
## Build OpenSSL Error when using WSL( Windows Subsystem Layer)
|
||||
|
||||
When I add openssl to my project
|
||||

|
||||
build fail occured:
|
||||
|
||||

|
||||
|
||||
Use "maixcdk build --verbose" to check . I found that windows path polluted wsl path . and there are "(" and space in path ,which make configure of openssl fail .
|
||||
|
||||
Fix : fix the path :
|
||||
|
||||
edit `wsl.conf` in wsl
|
||||
```sh
|
||||
sudo nano /etc/wsl.conf
|
||||
```
|
||||
|
||||
create the file if no exist. add the content below :
|
||||
|
||||
```
|
||||
|
||||
[interop]
|
||||
appendWindowsPath = false
|
||||
```
|
||||
|
||||
restart wsl
|
||||
```
|
||||
wsl --shutdown Ubuntu
|
||||
```
|
||||
|
||||

|
||||
|
||||
path is fixed ,openssl configure succ
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user