- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a C++ DLL that calls Fortran libraries. I have had this project working for many years, but I just received a new computer, and my unit tests are failing to run on this new system. I am using Win 11, VS2022 and oneAPI 2025.2. I was previously using oneAPI 2024. In order to get a build, I changed two settings:
Include Directories = $(IFORT_COMPILER25)include;$(IncludePath)
Library Directories = $(IFORT_COMPILER25)lib;$(LibraryPath)
I use the Dependencies app to check the DLL in the unit test directory, and I see that it cannot find libifcoremd.dll and libmmd.dll. I do not see any reference to Intel directories in either of my Path environment variables, but I do not know if this is how the problem is handled. I would think Path variables would be updated during the install. What configuration do I need to change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is interesting - I just checked my system, which is a recent install, and you're right that the paths are not there! It wouldn't be the first time that the Intel installer messed this up.
Add the following to your PATH variable:
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\bin
If you don't know how to do that, let me know.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try a reboot - changes to PATH sometimes don't take effect right away. Or, log out of Windows and in again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A reboot did not work. I see no change in the Path variable. This is where I wish I still had access to my old computer to see what is different.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is interesting - I just checked my system, which is a recent install, and you're right that the paths are not there! It wouldn't be the first time that the Intel installer messed this up.
Add the following to your PATH variable:
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\bin
If you don't know how to do that, let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I updated my system Path variable and rebooted, but my DLL still does not see the Intel DLLs. I also updated my account path, with the same result. There must be some other configuration that I am missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you run your program from an Intel oneAPI command prompt window?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have no console program that uses the DLL. I generally do simple modeling tasks with a unit test that dumps data to disk. These tasks are infrequent and do not warrant a full application.
Under linker, I added the lib path to Additional library directories. It did not help.
The DLLs are in a bin directory. Should that be part of the path?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whoops, yes - I edited my post. Sorry about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, the path to bin was what I needed. My unit tests are running again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can you help me? my problem starts with Fortran, I can't create a dll for C# or Excel, I was able to do it in March this year, not any more

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page