Levenshtein
Levenshtein copied to clipboard
Support CMake builds on Windows, cleanup windows support
The Windows build process can be described as, "Just do whatever to get the .dll." I couldn't get Visual Studio 2019 EAP to build the library via CMake, so I created a Visual Studio project in which the MySQL include and plugin directories are hardcoded to my own machine. The CMakeLists.txt file includes a half-hearted attempt at facilitating a build on Windows, but it's probably better to remove that code and wait for someone to do it right than to leave it in there.
I've been trying to install this plugin into mysql on Windows Server 2012 but I keep gettin the error "Error Code: 1126. Can't open shared library 'C:\Program Files (x86)\MySQL\MySQL Server 5.7\lib\plugin\libdamlev.dll' (errno: 193 )" Any idea about what is happening?
Thanks
Does the file exist in the right directory? Take a look at this issue and see if any of it helps: https://github.com/rljacobson/Levenshtein/issues/5
I'm sorry I can't be of more help. I do not have access to that platform.
@FlorianEMKA41 Take a look at the fix in issue #11 (quoted from #8). You seem to be getting a different error message, but maybe it's related.