I've been having lots of troubles for last few days while compiling C programs through wine-MinGW-gcc compiler.
It is a common error for C programs.
Code: Select all
err:module:import_dll Library libmpc-3.dll (which is needed by L"C:\\mingw\\libexec\\gcc\\mingw32\\4.8.1\\cc1.exe") not found
err:module:import_dll Library libmpfr-4.dll (which is needed by L"C:\\mingw\\libexec\\gcc\\mingw32\\4.8.1\\cc1.exe") not found
err:module:import_dll Library zlib1.dll (which is needed by L"C:\\mingw\\libexec\\gcc\\mingw32\\4.8.1\\cc1.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\mingw\\libexec\\gcc\\mingw32\\4.8.1\\cc1.exe" failed, status c0000135
The code has following headers:-
Code: Select all
#include "stdafx.h"
#include <winsock2.h>
#include <Rpc.h>
#include <stdio.h>
#include <stdlib.h>
#pragma comment(lib, "mpr")
#pragma comment(lib, "Rpcrt4")
Thanks
kriss332
#pragma comment(lib, "ws2_32")