Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build with cmake #42

Open
Ranguna opened this issue Feb 7, 2016 · 0 comments
Open

Can't build with cmake #42

Ranguna opened this issue Feb 7, 2016 · 0 comments

Comments

@Ranguna
Copy link

Ranguna commented Feb 7, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant