To compile for Windows:
‐--------------------------------
server.hpp
‐--------------------------------
Changed getcwd to _getcwd and included dir.h
‐--------------------------------
Luarocks_cmake.txt
target_link_libraries(lrdb_server ws2_32)
target_link_libraries(lrdb_server wsock32)
After that luarocks installed liblrdb_server.dll.a but i have copied lrdb_server.dll from build.luarocks directory