You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build errors with mgclient C library in windows OS #64
I am trying to build mgclient lib in Windows and C/C++ and having errors on the "CMake Error at
CMake Error at CMakeLists.txt:118 (add_subdirectory):
add_subdirectory given source "D:/Software/mgclient-master/src/src"
which is not an existing directory.
CMake Error at C:/msys64/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found
version "3.3.1")
Call Stack (most recent call first):
"
can someone help if its restricted to 1.0.2 version or any specific vesrion of open ssl only ?
I executed $ cmake -DOPENSSL_INCLUDE_DIR="$OPENSSL_ROOT_DIR\include" .. from the src/build directory.
I had open ssl version 3.3.1 - can someone heIlp if its restricted to 1.0.2 version or any specific vesrion of open ssl only ?
I executed $ cmake -DOPENSSL_INCLUDE_DIR="$OPENSSL_ROOT_DIR\include" .. from the src/build directory.
I had open ssl version 3.3.1 - can someone heIlp if its restricted to 1.0.2 version or any specific vesrion of open ssl only ?
Activity
antejavor commentedon Aug 19, 2024
Hi @selvamkc83, thanks for opening the issue 🙏
gitbuda commentedon Aug 25, 2024
@selvamkc83 fighting the same thing under memgraph/rsmgclient#55 (CI file for building under msys2/mingw).
In general,
mgclientis buildable under [MSVC and MinGW](https://github.com/memgraph/mgclient?tab=readme-ov-file#building-and-installing-on-windows, under Github Actions done HERE), but there are many things that might go wrong:D:\a\_temp\msys64(mentioned under https://github.com/msys2/setup-msys2?tab=readme-ov-file#msys2-location, I think that "recently" changed)rsmgclient, cmake somehow is using 32bit linker (that's my recent hypothesis)?As soon as I figure out under memgraph/rsmgclient#55 I'll try to get back here 😄