Build x86 dll on x64 Windows7

I build a dll using JetBrains CLion 1.1 (MinGW 3.21, CMake 3.3.0) on Windows 7 x64 system.
When I trying to use it I have the following error:
“Could not find agent library o:SamplelibSampleAgent.dll on the library path, with error: Can’t find dependent libraries”

How can I build a dll depending on x86 versions of system dlls?

There is what DependencyWalker shows
enter image description here


Source: windows

Leave a Reply