Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Comunicados
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussões

Side-by-side configuration error -- Release version

salbruce
Principiante
756 Visualizações
I am trying to develop a dll in IVF 11 without the static libraries. While the dll works on my computer, we get a side-by-side configuration error on my associate's computer, preventing the dll from running.

We have determined from dependency walker that the following files are needed:
LIBIFCOREMD.DLL
LIBIFPORTMD.DLL
LIBMMD.DLL
MSVCR90.DLL

So we copied these to the executable folder on my associate's computer and set the PATH environment variable accordingly.

Notes:
1. The dll is compiled as a Release configuration (unlike previous posts on this forum with a similar problem which were compiled as Debug versions).
2. I am running Vista, my associate has XP.
3. If the dll is compiled with /libs:static, then the dll works on my associate's computer. But we want to avoid that because we have about 30 dlls that share the same libraries.
4. Dependency Walker is seeing the 4 dlls listed above, but is warning about "...unresolved import due to a missing export in a delay-load dependent module." (See attached screen shot. We also get this with the dll that works, which was compiled with the static libraries included).
5. The dll is compiled with

My question:
What do we need to do to get this dll to run on my associate's computer?

Thanks in advance,
Bruce

0 Kudos
1 Solução
Steven_L_Intel1
Funcionário
756 Visualizações

You can't copy MSVCR90.DLL in this fashion - it requires use of a shared assembly. Remove that DLL and install on the target system the Microsoft Visual C++ 2008 Redistributables.

Ver solução na publicação original

2 Respostas
salbruce
Principiante
756 Visualizações
Oops, submitted before I finished note 5. I meant to say:

5. The dll is compiled with the compiler set as "multithread dll" and the linker as "Link Library Dependencies = No".
Steven_L_Intel1
Funcionário
757 Visualizações

You can't copy MSVCR90.DLL in this fashion - it requires use of a shared assembly. Remove that DLL and install on the target system the Microsoft Visual C++ 2008 Redistributables.
Responder