L
L
lemon_spb2015-12-20 16:21:31
Qt
lemon_spb, 2015-12-20 16:21:31

How to overcome Error: The Side by Side configuration information for dll. C++ Depends?

Hello colleagues!
I've run into a strange problem, please help.
Briefly:
the plugin in the saw dll does not run, although all other plugins built on the same machine are loaded. Depends says a single error:
Error: The Side by Side configuration information for plugin dll path.
On my computer, where I compile the entire project, everything works and this error does not exist.
On all computers of colleagues - everything is OK too.
On a relatively clean Windows - everything is also ok.
But there is such an infection on the computers at the facility.
Read more:
C++ Project, Qt 4.8.6, Visual Studio 2008 Compiler. x86. Windows 7.
The structure of the assembled project is as follows. Next to the exe file are all sorts of qt's dlls and dlls that belong to the kernel. There is also the plugins folder, which contains the dll of all the plugins for the project, it also contains my ill-fated plugin.dll.
All plugins from the plugins folder are loaded dynamically during application startup. If some plugin has fallen, or it has problems with dependencies, then it simply will not be in the opened program.
Additional difficulties are created by the fact that the object is far away, there is no Internet, team viewer, etc. All that is possible is to send files / archives to a colleague and try to run them.
I emphasize that the entire project, along with all plugins, is assembled from Qt Creator at the same time as my plugin and with the same compilation settings, roughly speaking with one button.
Features of my plugin: it uses boost. But boost is included in it not as any, but together with cpp and h - I pulled out the parts I needed with the program built into boost.
What I tried, after thinking and googling:
1. I reassembled everything entirely and sent it - it did not help.
2. I took msvr90.dll, msvcp90.dll from my computer, sent it to the object to put next to the project. No result.
3. The second answer is from here . The first one disappears, because the application starts and other plugins are loaded.
4. I looked into the manifest dll of my planig and compared it with others. They are different, but I don't know what that means. My plugin manifest:

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
            <requestedPrivileges>
                <requestedExecutionLevel level="asInvoker" uiAccess="false" /> 
            </requestedPrivileges>
        </security>
    </trustInfo>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b" /> 
        </dependentAssembly>
    </dependency>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.OpenMP" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b" /> 
        </dependentAssembly>
    </dependency>
</assembly>

Manifest of others:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
            <requestedPrivileges>
                <requestedExecutionLevel level="asInvoker" uiAccess="false" /> 
            </requestedPrivileges>
        </security>
    </trustInfo>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b" /> 
        </dependentAssembly>
    </dependency>
</assembly>

Those. there is some block in my plugin with Microsoft.VC90.OpenMP . Maybe this is the issue? But how to live with it further?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2015-12-21
@limon_spb

Perhaps this link will help www.codeproject.com/Articles/43681/Side-by-Side-Co...
Solution by @limon_spb

It turns out that when installing Windows 7, redist studio comes by default. But for some reason not complete, without OpenMP. After installing redist'a - everything is ok.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question