FLAMEGPU2 icon indicating copy to clipboard operation
FLAMEGPU2 copied to clipboard

Potential for dll conflicts when using SWIG interface

Open Robadob opened this issue 4 years ago • 0 comments

Unlikely, but due to the windows dlls having such generic names e.g. sdl2.dll, glew.dll, it's possible a user will already have these on their system path but different versions.

This shouldn't be an issue for regular C users, as the working directory should take precedence over system path. Python however adds the package path to the path variable when the package is loaded. Therefore if two packages both have the same dlls, this could cause a conflict.

Numpy solves this by using dlls with a hash/guid in the name to ensure difference.

I don't feel that it's a likely occurrence, but it would be worthwhile addressing if we get time.

Robadob avatar Feb 17 '21 13:02 Robadob