Rdbo
Rdbo
I actually thought about that for a while (and I had implemented it even), but I decided not to implement it simply because you can't ship the whole repository to...
I'm working on other projects right now, but I see that this is definitely something to worry about. I'll pin this issue so (hopefully) I don't forget. Thanks for your...
@nathan818fr That's impressive! We could definitely use that here :100: For the static library, I think one might have linking issues with it. If I remember correctly, the linker does...
@nathan818fr IIRC, MSVC is able to ship all the libraries into one without any additional steps, so that's why the `makebundle.sh` script doesn't run for Windows. As for the structure,...
@nathan818fr That's interesting. I really thought MSVC resolved the linking problems for me, apparently not. Good to know. I'll try your manual bundling for Windows later :+1:
In Python, the `setup.py` script will fetch a binary release from the GitHub if it has not found a libmem installation in the OS. The same could be done for...
Now both Python and Rust dynamically fetch the library, avoiding annoyances from building and linking libmem. The only thing left to do is make this more friendly for C/C++ On...
This also can't really work in practice, because you may have 32 bit and 64 bit libraries on your system Also, since there are many runtimes, such as `/MT`, `/MTd`,...
One possible solution is adding environment vars for libmem, such as `LIBMEM_DIR`, `LIBMEM_INCLUDE_DIR`, `LIBMEM_LIB_DIR` And for compiling, you could link against `%LIBMEM_LIB_DIR%\libmem-4.4.0-x86_64-windows-msvc\lib\libmem.lib`
NOTE: `INCLUDE`: adds to the compiler include directory `LIB` or `LIBPATH`: not sure yet, but I think the later one adds to the library lookup path