Skip to content

Conversation

@rburema
Copy link
Member

@rburema rburema commented Aug 6, 2025

The dynamic lib MSVCP140.dll (and related) comes in two distinct flavours -- one pre-fix and one post-fix -- according to MS this technically doesn't break compatibility and is 'By Design'. (But it's not really them that are to blame in this particular case.)

In any case, this was a bit of a problem for us -- but one we thought to have (eventually, after some detours) solved with the workaround of just building everything with the newer version and then forcing the newer ones to be high up in our PATH.

Que certain anti-virus vendors (McAfee) just straight up forcing programs to use certain DLL's -- which is a can of worms just in and of itself, and from the above context you can begin to guess which particular worm bit us in this case.

Yes, that's right, they're forcing us to use the old version of MSVCP140.dll.

Fortunately, MS was at least graceful enough to have 'an escape hatch' as they put it, so that's what we're using here. Even though we actually shouldn't need it, since we where using the newer version (originally).

Anyway we should be good now, whatever version of that DLL anyone has.

rburema added 3 commits August 6, 2025 14:09
…sion of MSVCP140.dll instead of ours.

See actions/runner-images#10004 (comment) -- and that thread in general. Which is the same as an issue we _originally_ tried to work around by going with an older MSVC (which is what Lulzbot ended up going with) and when that turned out to not work, we just upgraded the entire chain to the new version. -- _However_ it now apprears that an antivirus vendor (McAfee) is forcing their own version of those DLL's, which are the older ones. -- So now try this workaround.

CURA-12675
If this ends up not working either, we should propbably rely on the (same) alteration in the generate step instead.

CURA-12675
@HellAholic HellAholic merged commit 2bcace4 into main Aug 12, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants