Levenshtein icon indicating copy to clipboard operation
Levenshtein copied to clipboard

Support CMake builds on Windows, cleanup windows support

Open rljacobson opened this issue 6 years ago • 3 comments

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.

rljacobson avatar Feb 04 '19 21:02 rljacobson

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

FlorianEMKA41 avatar Feb 11 '21 15:02 FlorianEMKA41

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.

rljacobson avatar Feb 23 '21 17:02 rljacobson

@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.

rljacobson avatar Jun 10 '22 06:06 rljacobson