zenix_2k2 | so someone here advised me to compile my program on Windows 10 and it is gonna work backward on the other versions, but when i run on Windows 8 it says something like "api-ms-win-crt-runtime-l1-1-0.dll is missing" |
rindolf | zenix_2k2: i recall similar issues |
zenix_2k2 | and i was trying to compile the program with pyinstaller |
Arahael | zenix_2k2: You need to find the redistributable for the libraries you're using, and install them. Looks like windows 10 has it by default. |
zenix_2k2 | more like freezing it |
Arahael | zenix_2k2: That said, the convention in most environments is to get the *oldest* environment you want to support, and use that. |
Arahael | zenix_2k2: Older apps tend to work well on newer systems. The reverse is not usually true. |
deniska | zenix_2k2: when compiling for compatibility, you probably would want to go with older systems rather than newer |
zenix_2k2 | well, maybe i will just compile on Windows 8 and hopefully it will work on win10 and win7 |
deniska | (not sure how it works on windows though) |
Arahael | zenix_2k2: In that case, compile on windows 7. |
deniska | if you want to target win7, you probably should use win7 |
zenix_2k2 | that's weird, some people here said i should have compiled on win10 |
zenix_2k2 | it is gonna work backward |
zenix_2k2 | or maybe i lagged :P |
vdamewood | Windows 7 is EOL in 7 months. |
zenix_2k2 | well... but i bet its apps will still work on windows 10 and 8 |
vdamewood | zenix_2k2: Compiling for Windows 7 on Windows 10 should, in theory work, as long as you only use libraries that come with 7. |
vdamewood | Same with 8.1. |
rindolf | zenix_2k2: Arahael deniska : I think the https://pysolfc.sourceforge.io/ packages work fine on older windows and they are built on win10 |
zenix_2k2 | does this mean i should ask my users to install the appropriate libraries every time they use my program ? |
Arahael | rindolf: If you know what you're doing, sure. |
Arahael | rindolf: But if you're struggling, well, one *very obvious* way to figure it out is to just use the oldest system. |
rindolf | zenix_2k2: you can bundle them |
vdamewood | zenix_2k2: The thing is, I think that missing lib you mentioned isn't distributed with Windows before 10. Maybe before 8.0. |
deniska | depending on the licensing terms of this library, you may redistribute it with your program |
rindolf | Arahael: yes |
zenix_2k2 | rindolf : bundle ? this sounds new to me |
vdamewood | deniska: It looks like an MS-supplied library. MS is basically You may distribute Release versions of the dll's freely. No modification, no source, no static libs, and no debug versions. |
rindolf | zenix_2k2: it is an English word |
zenix_2k2 | yea but its definition in this situation isn't |
rindolf | zenix_2k2: means "to include" |
zenix_2k2 | yes i know, but when you talk about include, i can only imagine something like "#include" |
zenix_2k2 | in C, C++ programs |
vdamewood | zenix_2k2: Think more like zip myzip myapp foo.dll |
vdamewood | That's a terrible command. |
rindolf | zenix_2k2: include has a more general meaning |
vdamewood | zenix_2k2: Anyway, think about 'including' something in the same archive file, or such, when people speak of bundling. |
rindolf | zenix_2k2: like "europeans, including Frenchmen, are ..." |
* vdamewood | bundles France with Europe. |
rindolf | vdamewood: heh |
* Arahael | thinks #include <frenchmen> is a bit weird. |
rindolf | vdamewood: will it cost extra? |
vdamewood | #include <frenchman.h> |
vdamewood | #include <aussie.h> |
Arahael | #include <australia.cpp> |
zenix_2k2 | yea, that is a good example, so bundle in this case is like a zip file ? |
deniska | #ifdef __deal__ #include <uk> |
deniska | >_> |
deniska | <_< |
Arahael | deniska: Isn't that over yet? |
deniska | dunno, I don't really follow this |
vdamewood | zenix_2k2: Yeah, same concept. You just include it with your installer program, though, which often is something similar to a self-extracting zip file. |
zenix_2k2 | Hm, i don't think pyinstaller offers any option like that |