- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Try a reboot - changes to PATH sometimes don't take effect right away. Or, log out of Windows and in again.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Can you run your program from an Intel oneAPI command prompt window?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Whoops, yes - I edited my post. Sorry about that.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thank you, the path to bin was what I needed. My unit tests are running again.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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