Trying to run a C application

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
OneInchMonster
Newbie
Newbie
Posts: 2
Joined: Thu Mar 09, 2017 6:30 pm

Trying to run a C application

Post by OneInchMonster »

Hey, I'm trying to run an application that I made but keep getting these errors..

Code: Select all

err:module:import_dll Library MSVCP140D.dll not found
err:module:import_dll Library VCRUNTIME140D.dll not found
err:module:import_dll Library ucrtbased.dll not found
I tried installing visual c++ 2005 express, etc but nothing is working...
Anyway to run this?
qwertymnb
Level 4
Level 4
Posts: 236
Joined: Sun Jan 17, 2016 4:36 pm

Re: Trying to run a C application

Post by qwertymnb »

I guess these are the debugversions of the vcrun2015 dlls

According to google they get installed along with Visual Studio.

You might give the following a try:

winetricks vcrun2015

cp ~/.wine/drive_c/windows/system32/msvcp140.dll ~/.wine/drive_c/windows/system32/msvcp140d.dll

also do similar for other 2 dlls.

No guarantee to success, but might be worth a try.
madewokherd
Level 4
Level 4
Posts: 143
Joined: Mon Jun 02, 2008 5:03 pm

Re: Trying to run a C application

Post by madewokherd »

Or just compile your project with a Release configuration instead of Debug.
Locked