Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: api-ms-win-core-path-l1-1-0.dll missing when executing Windows portable distribution (window 7 and incompatible python version) #183

Open
2 tasks done
TwoRedCells opened this issue May 7, 2024 · 9 comments

Comments

@TwoRedCells
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

When attempting to execute the 64-bit Windows portable distribution, upon unzipping the directory structure and running bin/freecad.exe, I get System Error The program can't start because api-ms-win-core-path-l1-1-0.dll is missing from your computer...

I have tried starting execution from the main directory and from the bin directory.

  • Windows 7 Professional SP1
  • Intel i7-2600K, 16GB RAM

Full version info

Unable to open application.

Subproject(s) affected?

None

Anything else?

I assume the installer will work, but wanted to report this before I try the installer, since that may make the issue unreproducable in the future.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Syres916
Copy link
Contributor

Syres916 commented May 7, 2024

I assume when you state Portable Distribution you mean FreeCAD_0.21.2-2023-12-17-conda-Windows-x86_64-py310.7z ?
If so, then you'll notice it's built with Python 3.10.x which is not compatible with Windows 7 SP1. You'll have to use the proper installer which has Python 3.8.x from https://github.com/FreeCAD/FreeCAD/releases

@kaiwas
Copy link
Member

kaiwas commented May 7, 2024

The problem is partially solved with this recipe.
https://github.com/nalexandru/api-ms-win-core-path-HACK
This is due to the fact that the required version of Python is not supported by Windows7. But this recipe worked before Python 10.
I again cannot run build based on version 11.
But freecad version 0.21.1 definitely works (0.21.2 seems to have problems)

@TwoRedCells
Copy link
Author

Thank you. Perhaps the download page could be updated to reflect this, as the text "Windows 7 is the minimum supported version. For more info on installation, please check out the Wiki" is directly under the download link for "64-bit portable (.7z)", and the linked Wiki page does not mention this constraint.

@luzpaz
Copy link
Collaborator

luzpaz commented Aug 14, 2024

Indeed as of today the download page does indeed say this:

Screenshot_20240814_095559

How should we proceed ?

@luzpaz luzpaz changed the title api-ms-win-core-path-l1-1-0.dll missing when executing Windows portable distribution Windows: api-ms-win-core-path-l1-1-0.dll missing when executing Windows portable distribution (window 7 and incompatible python version) Aug 14, 2024
@luzpaz luzpaz transferred this issue from FreeCAD/FreeCAD Aug 14, 2024
@luzpaz
Copy link
Collaborator

luzpaz commented Aug 14, 2024

CC @yorikvanhavre @chennes

@yorikvanhavre
Copy link
Member

Should we state that the portable version does not support win7 then? Or will this change when 1.0 is built? @adrianinsaval ?

@adrianinsaval
Copy link
Member

adrianinsaval commented Sep 2, 2024

Windows 7 will not be supported anymore, neither the portable nor the installer version. There are several security vulnerabilities in the dependencies that would be needed for windows 7 support, we must use newer software at this point.

Freecad should still compile using the old libpack though so windows 7 users may compile themselves if they really want to stick with that OS and use freecad 1.0

@yorikvanhavre
Copy link
Member

Seems fair. Any other third-party provider can still support it then.
Then I propose we wait for the 1.0 RC and we change the text to, what will it be, minimum windows 10?

@adrianinsaval
Copy link
Member

I think windows 8 should still work but I'm not actually sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants