diff --git a/README.md b/README.md index b024bf2..7f9392d 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,6 @@ [stm32_pwm_computer.exe](./release/stm32_pwm_computer.exe) - - **Linux** ```bash @@ -19,13 +17,9 @@ cd linux ./build.sh ``` +## 用法 - -## Usage - - - -**Win** +### Win 1.文件资源管理器打开stm32_pwm_computer.exe所在目录。 @@ -52,3 +46,35 @@ Tip: ``` ![image-20220607194308252](markdown.assets/README.assets/image-20220607194308252.png) + + + +## 程序执行异常 + +### vcruntime140.dll was not found + +解决方案: + +下载Visual C++ Redistributable库文件,安装即可 + +[Latest supported Visual C++ Redistributable downloads | Microsoft Docs](https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170) + +![image-20220618173350153](markdown.assets/README.assets/image-20220618173350153.png) + +错误分析 + +``` +vcruntime140.dll,是vc工程编译出来的程序必须依赖的库,如果没有则需要安装相应的库包。 +``` + + + +### vcruntime140d.dll was not found + +![image-20220618173238145](markdown.assets/README.assets/image-20220618173238145.png) + +``` +vcruntime140d.dll 是 vcruntime140.dll的包含Debug信息的版本,如下图在viso编译时,生成的目标选择Debug版本,则连接的是vcruntime140d.dll,如果是Release连接的是vcruntime140.dll,如果想要安装vcruntime140d.dll,安装驱动库即可。 +``` + +![image-20220618174248032](markdown.assets/README.assets/image-20220618174248032.png) diff --git a/markdown.assets/README.assets/image-20220618173238145.png b/markdown.assets/README.assets/image-20220618173238145.png new file mode 100644 index 0000000..61aca61 Binary files /dev/null and b/markdown.assets/README.assets/image-20220618173238145.png differ diff --git a/markdown.assets/README.assets/image-20220618173350153.png b/markdown.assets/README.assets/image-20220618173350153.png new file mode 100644 index 0000000..b06dd78 Binary files /dev/null and b/markdown.assets/README.assets/image-20220618173350153.png differ diff --git a/markdown.assets/README.assets/image-20220618174248032.png b/markdown.assets/README.assets/image-20220618174248032.png new file mode 100644 index 0000000..3dbf7a7 Binary files /dev/null and b/markdown.assets/README.assets/image-20220618174248032.png differ diff --git a/release/VC_redist.x86.exe b/release/VC_redist.x86.exe new file mode 100644 index 0000000..f6bd404 Binary files /dev/null and b/release/VC_redist.x86.exe differ diff --git a/release/stm32_pwm_computer.exe b/release/stm32_pwm_computer.exe index f90c5f6..e67ec55 100644 Binary files a/release/stm32_pwm_computer.exe and b/release/stm32_pwm_computer.exe differ