Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT LAN Messenger Compiling and Build Error
C:\Users\KISHORE\Downloads\lanmessenger-master (1)\lanmessenger-master\lmc\src\crypto.h:27: error: openssl/rand.h: No such file or directory
try this one instead
it just compiled for windows for me.
@mrjj thank you for your valuable help
just as a note.
the other one seemed to miss some openSLL headers.
how to add the openssl in linking library
Do you mean you already have OpenSSL installed on your machine ?
Followup to any one finding it.
and followed the docs and it works.
Note that it wants you to have openSLL in a certain level
relative to the lanmessenger project .
We didnt move the folder from c:\openSSL
but added this to the .pro file.
win32: LIBS += -LC:/OpenSSL/lib/ -llibeay32
INCLUDEPATH += "C:/OpenSSL/include"
DEPENDPATH += += "C:/OpenSSL/include"
and used the mingw 32 bit compiler.
The mentioned openSSL ("Win32 OpenSSL v1.0.2q") from
worked without compiling.
But its 32 bit only.
Qt version was 5.12