mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-10 21:59:54 -05:00
Update faq.md ,add openssl error in wsl
This commit is contained in:
@@ -46,3 +46,39 @@ 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.
|
||||
|
||||
|
||||
## 使用WSL编译OpenSSL时出错的修复方法
|
||||
|
||||
当我在工程中使用openssl时:
|
||||

|
||||
|
||||
编译报错:
|
||||
|
||||

|
||||
|
||||
用verbose查看命令发现, Path里是包含“(”的,这是windows的Path将WSL的path污染了。
|
||||
|
||||
参照网上的方法,在WSL中:
|
||||
```
|
||||
sudo nano /etc/wsl.conf
|
||||
```
|
||||
|
||||
如果没有则新建,内容如下:
|
||||
|
||||
```conf
|
||||
[interop]
|
||||
appendWindowsPath = false
|
||||
```
|
||||
|
||||
重启WSL后, Path干净了。
|
||||
|
||||

|
||||
|
||||
|
||||
编译openssl也成功了。
|
||||
|
||||

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