I have written a long program in C, so I am not writing the whole code. These are the libraries I a using (in case it matters)
#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"
The program runs perfectly on my Windows computer, and in my work computer as well where I have the same programs.
But when I am running in on a colleagues computer this error appears:
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.
Is there some way to make it work without installing the whole visual studio?
Rookie C programmer here!:)
Edit: I am compiling like this:
gcc Example.c -o Example -static-libgcc -std=c99 -lxlsxwriter -lz