Skip to content

Can't build with cmake #42

@Ranguna

Description

@Ranguna

When I try to run cmake .\ on the luacrypto directory I get:

C:\Users\Admin\Desktop\luacrypto-master>cmake .\
-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.31101.0
-- Check for working C compiler using: Visual Studio 12 2013
-- Check for working C compiler using: Visual Studio 12 2013 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found Lua51: C:/Program Files (x86)/Lua/5.1/lib/lua51.lib (found version "5.1.4")
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CRYPTO_LIBRARY
    linked by target "crypto" in directory C:/Users/Admin/Desktop/luacrypto-master
SSL_LIBRARY
    linked by target "crypto" in directory C:/Users/Admin/Desktop/luacrypto-master

-- Configuring incomplete, errors occurred!
See also "C:/Users/Admin/Desktop/luacrypto-master/CMakeFiles/CMakeOutput.log".

If I run:
cmake -D CRYPTO_LIBRARY=C:\OpenSSL-Win32\bin\libeay32.dll -D SSL_LIBRARY=C:\OpenSSL-Win32\bin\ssleay32.dll .\
libeay32.dll being the downloaded crypto lib and ssleay32.dll the sll lib, which I'm not even sure if they are because I really don't know what the cryptlib and ssllib are supposed to be name or how I'm supposed to get them. I installed them from this website. This is the output:

`C:\Users\Admin\Desktop\luacrypto-master>cmake -D CRYPTO_LIBRARY=C:\OpenSSL-Win32\bin\libeay32.dll -D SSL_LIBRARY=C:\OpenSSL-Win32\bin\ssleay32.dll .\
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Admin/Desktop/luacrypto-master

Supposedly it compiled but I can't find luacrypto.dll anywhere in luacrypto-master.
I'm running windows 10 (unfortunatly..) and I'm using the latest installation of cmake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions