Skip to content

Instantly share code, notes, and snippets.

@chenxiaolong chenxiaolong/mingw_openssl.log Secret
Created Jun 11, 2017

Embed
What would you like to do?
[build] env -i PATH="/usr/local/sbin:/usr/local/bin:/usr/bin" i686-w64-mingw32-cmake ..
-- The C compiler identification is GNU 7.1.1
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenSSL: /usr/i686-w64-mingw32/bin/libeay32.dll (found version "1.1.0f")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
CMAKE_INSTALL_LIBDIR
INCLUDE_INSTALL_DIR
LIB_INSTALL_DIR
SHARE_INSTALL_DIR
SYSCONF_INSTALL_DIR
-- Build files have been written to: /home/chenxiaolong/git/mingw_openssl_test/build
[build] make -j1
Scanning dependencies of target main
[ 50%] Building C object CMakeFiles/main.dir/main.c.obj
[100%] Linking C executable main.exe
CMakeFiles/main.dir/objects.a(main.c.obj): In function `main':
/home/chenxiaolong/git/mingw_openssl_test/main.c:7: undefined reference to `OPENSSL_init_crypto'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/main.dir/build.make:98: main.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/main.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
[build]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.