Cam*_*ace 5 c windows dll mingw
我用 C 写了一个很长的程序,所以我没有写完整的代码。这些是我使用的库(以防万一)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include <time.h>
#include <sys/types.h>
#include <dirent.h>
#include "xlsxwriter.h"
Run Code Online (Sandbox Code Playgroud)
该程序在我的 Windows 计算机上完美运行,在我的工作计算机以及我有相同程序的地方运行。
但是当我在同事的计算机上运行时,会出现此错误:
System error:
The program can't start because msys-2.0.dll is missing from your computer.
Try reinstalling the program to fix this problem.
Run Code Online (Sandbox Code Playgroud)
有没有办法让它在不安装整个视觉工作室的情况下工作?
菜鸟 C 程序员在这里!:)
编辑:我是这样编译的:
gcc Example.c -o Example -static-libgcc -std=c99 -lxlsxwriter -lz
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6823 次 |
| 最近记录: |