Data-Oriented-House / PortableBuildTools

Portable VS Build Tools installer
574 stars 17 forks source link

libomp140.x86_64.dll Missing #23

Closed harshn05 closed 2 weeks ago

harshn05 commented 3 weeks ago

Just tested the latest version of PortableBuildTools 2.5 with MSVC 14.41.17.11, the 26100 SDK, and Clang 18.1.8. The host and target architecture were both x64. To be precise, I am using Clang as the compiler while leveraging the MSVC toolchain and libraries for linking and other build processes.

For testing, a CMake-based C++ program of mine which includes complex dependencies such as stb_image, GLEW, GLFW, OpenGL, ImGUI, OpenMP etc, compiled successfully. However, when running the executable, the libomp140.x86_64.dll was missing. It appears that the portable installation did not include libomp140.x86_64.dll (and possibly other necessary DLLs?).

In an older installation of MSVC with PortableBuildTools, libomp140.x86_64.dll was available.

munohikari commented 3 weeks ago

Indeed, the method of installation has changed recently to make it work with new SDKs. Please report this issue here, since i use Martins' implementation as a base for this GUI.

harshn05 commented 3 weeks ago

Thanks I have reported the issue as suggested by you. For the time being as a workaround, I have downgraded the MSVC_Version to: 14.40 keeping the latest SDK version (26100).

harshn05 commented 2 weeks ago

The python script has been fixed by Martins and the updated script has successfully made libomp140(d).x86_64.dll available in the installation.

I think, now its time to fix the C code in the repository followed by a new release.

munohikari commented 2 weeks ago

Please try this version: https://github.com/Data-Oriented-House/PortableBuildTools/releases/download/v2.6/PortableBuildTools.exe

harshn05 commented 2 weeks ago

Working as expected, so closing this issue Thanks for this project.