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

Compilation error #4

Closed
doouz opened this issue Dec 12, 2019 · 25 comments · Fixed by #5
Closed

Compilation error #4

doouz opened this issue Dec 12, 2019 · 25 comments · Fixed by #5
Milestone

Comments

@doouz
Copy link
Contributor

doouz commented Dec 12, 2019

Hello there,

Im trying to compile this in Visual Studio 2017, Im installer msgpack and all dependencies with vcpkg but is still saying that the msgpack is not found.

Add the installation prefix of "msgpack" to CMAKE_PREFIX_PATH or set
"msgpack_DIR" to a directory containing one of the above files. If
"msgpack" provides a separate development package or SDK, be sure it has
been installed.

@Lihis
Copy link
Owner

Lihis commented Dec 13, 2019

I do not use Windows nor heard of vcpkg before but..

Quick Start section vcpkg's README.md says:

The best way to use installed libraries with CMake is via the toolchain file scripts\buildsystems\vcpkg.cmake. To use this file, you simply need to add it onto your CMake command line as -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake.

Is -DCMAKE_TOOLCHAIN_FILE being passed to CMake by Visual Studio?

@doouz
Copy link
Contributor Author

doouz commented Dec 13, 2019

And what you use to compile?

@Lihis
Copy link
Owner

Lihis commented Dec 13, 2019

I use GCC.

@doouz
Copy link
Contributor Author

doouz commented Dec 13, 2019

You mean gcc on linux?

@Lihis
Copy link
Owner

Lihis commented Dec 13, 2019

Yes, Arch Linux.

@doouz
Copy link
Contributor Author

doouz commented Dec 13, 2019

Okay, I have a VPS with debian, I will try there, and you need an specific version of gcc?

@doouz
Copy link
Contributor Author

doouz commented Dec 13, 2019

Is possible that you can share the command line to compile the bot, gui and plugin? I have all installed but first time compiling on linux, just need to know what command line I need to use please ^^

@Lihis
Copy link
Owner

Lihis commented Dec 13, 2019

Cool but of course it would be nice if you get build on Windows :) was the CMAKE_TOOLCHAIN_FILE specified in Visual Studio?

@doouz
Copy link
Contributor Author

doouz commented Dec 13, 2019

As you said, the answer is no, here is the log

C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\Donato\CMakeBuilds\f242219b-f993-b533-bb49-e9263402c529\install\x64-Debug (default)" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/HostX64/x64/cl.exe" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\Donato\bylihis_joblogger" returned with exit code: 1
CMake Error at plugin/CMakeLists.txt:17 (find_package):
By not providing "Findmsgpack.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "msgpack", but
CMake did not find one.
Could not find a package configuration file provided by "msgpack" with any
of the following names:
msgpackConfig.cmake
msgpack-config.cmake
Add the installation prefix of "msgpack" to CMAKE_PREFIX_PATH or set
"msgpack_DIR" to a directory containing one of the above files. If
"msgpack" provides a separate development package or SDK, be sure it has
been installed. plugin C:\Users\Donato\bylihis_joblogger\plugin/CMakeLists.txt 17

But I don't know where to put that variable "CMAKE_TOOLCHAIN_FILE"

@Lihis
Copy link
Owner

Lihis commented Dec 13, 2019

Is this StackOverFlow answer helpful? https://stackoverflow.com/a/50888508/3101793

@doouz
Copy link
Contributor Author

doouz commented Dec 13, 2019

I did all the things but is still not working with visual studio on windows, same error about msgpack.

Other thing, have more luck doing this on debian, I put the "cmake ." and then the "make" but an error appears:
/root/dev/bylihis_joblogger/ets2-job-logger/plugin/include/jobplugin/PluginDefs.h:197:26: error: conversion from ‘const uint64_t’ {aka ‘const long unsigned int’} to ‘Json::Value’ is ambiguous
root["income"] = income;

@Lihis
Copy link
Owner

Lihis commented Dec 15, 2019

I created a PR #5 which makes it build with Visual Studio 2017. Could you "review" it by testing it?

And regarding that error which you faced on Debian, it probably needs to be:

root["income"] = Json::Value::UInt64(income);

@doouz
Copy link
Contributor Author

doouz commented Dec 16, 2019

Thank you, I tried with VS and now the things are going better, but at the end one error and two warnings appears:

ERROR1:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\MSBUILD : error MSB1016: Specify the verbosity level.
Switch: -v

The CMakeSettings.json contain:
{
"configurations": [
{
"name": "x64-Release",
"generator": "Visual Studio 15 2017 Win64",
"configurationType": "Release",
"inheritEnvironments": [
"msvc_x64_x64"
],
"buildRoot": "${env.USERPROFILE}\CMakeBuilds\${workspaceHash}\build\${name}",
"installRoot": "${env.USERPROFILE}\CMakeBuilds\${workspaceHash}\install\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
}
]
}


CMake Warning at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake:847 (message):
1> New Boost version may have incorrect or missing dependencies and imported
1> targets
1> Call Stack (most recent call first):
1> C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake(959): (_Boost_COMPONENT_DEPENDENCIES)
1> C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake(1618): (_Boost_MISSING_DEPENDENCIES)
1> C:\test\gui/CMakeLists.txt(36): (find_package)
1>
1>
1> CMake Warning at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake:847 (message):
1> New Boost version may have incorrect or missing dependencies and imported
1> targets
1> -- Boost version: 1.69.0
1> Call Stack (most recent call first):
1> C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake(959): (_Boost_COMPONENT_DEPENDENCIES)
1> C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake(1618): (_Boost_MISSING_DEPENDENCIES)
1> C:\test\gui/CMakeLists.txt(36): (find_package)
1>
1>
1> -- Found the following Boost libraries:
1> -- random
1> -- system
1> -- Configuring done
1> -- Generating done
1> -- Build files have been written to: C:/Users/Donato/CMakeBuilds/0ae37d58-58e9-7033-b54d-9780727ded9c/build/x64-Release

@doouz
Copy link
Contributor Author

doouz commented Dec 16, 2019

I solved the verbosity error changing the "buildCommandArgs":"-v" to "buildCommandArgs": "-v:m"

But now, I have a lot of errors:

------ Build started: Project: CMakeLists, Configuration: Release ------
c:\users\donato.conan\data\websocketpp\0.8.1\bincrafters\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\websocketpp\frame.hpp(834): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
c:\users\donato.conan\data\websocketpp\0.8.1\bincrafters\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\websocketpp\common\md5.hpp(367): warning C4267: '+=': conversion from 'size_t' to 'websocketpp::md5::md5_word_t', possible loss of data
c:\users\donato.conan\data\websocketpp\0.8.1\bincrafters\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\websocketpp\sha1\sha1.hpp(176): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
c:\test\plugin\src\logger.cpp(230): warning C4101: 'exception': unreferenced local variable
c:\users\donato.conan\data\websocketpp\0.8.1\bincrafters\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\websocketpp\frame.hpp(834): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
c:\users\donato.conan\data\websocketpp\0.8.1\bincrafters\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\websocketpp\common\md5.hpp(367): warning C4267: '+=': conversion from 'size_t' to 'websocketpp::md5::md5_word_t', possible loss of data
c:\users\donato.conan\data\websocketpp\0.8.1\bincrafters\stable\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\websocketpp\sha1\sha1.hpp(176): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_check_private_key already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_ctrl already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_free already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_get_cert_store already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_load_verify_locations already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_new already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_alpn_protos already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_cipher_list already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_default_passwd_cb already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_default_passwd_cb_userdata already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_msg_callback already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_next_proto_select_cb already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_verify already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_connect already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_ctrl already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_free already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get0_alpn_selected already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_certificate already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_current_cipher already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_error already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_ex_data already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_peer_cert_chain already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_peer_certificate already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_privatekey already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_verify_result already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_new already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_pending already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_read already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_set_bio already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_set_connect_state already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_set_ex_data already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_set_fd already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_shutdown already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_version already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_lib.obj) : error LNK2005: SSL_write already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_ciph.obj) : error LNK2005: SSL_CIPHER_get_name already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_sess.obj) : error LNK2005: SSL_CTX_sess_set_new_cb already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_sess.obj) : error LNK2005: SSL_SESSION_free already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_sess.obj) : error LNK2005: SSL_set_session already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_cert.obj) : error LNK2005: SSL_CTX_add_client_CA already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_rsa.obj) : error LNK2005: SSL_CTX_use_PrivateKey already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_rsa.obj) : error LNK2005: SSL_CTX_use_PrivateKey_file already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_rsa.obj) : error LNK2005: SSL_CTX_use_certificate already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_rsa.obj) : error LNK2005: SSL_CTX_use_certificate_chain_file already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libssl.lib(ssl_rsa.obj) : error LNK2005: SSL_CTX_use_certificate_file already defined in ssleay32.lib(SSLEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(asn1_lib.obj) : error LNK2005: ASN1_STRING_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(asn1_lib.obj) : error LNK2005: ASN1_STRING_length already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(asn1_lib.obj) : error LNK2005: ASN1_STRING_new already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(asn1_lib.obj) : error LNK2005: ASN1_STRING_type already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(digest.obj) : error LNK2005: EVP_DigestFinal_ex already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(digest.obj) : error LNK2005: EVP_DigestInit_ex already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(digest.obj) : error LNK2005: EVP_DigestUpdate already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(p_lib.obj) : error LNK2005: EVP_PKEY_copy_parameters already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(p_lib.obj) : error LNK2005: EVP_PKEY_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(p_lib.obj) : error LNK2005: EVP_PKEY_get1_RSA already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(p_lib.obj) : error LNK2005: EVP_PKEY_id already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(rsa_lib.obj) : error LNK2005: RSA_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ex_data.obj) : error LNK2005: CRYPTO_get_ex_new_index already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(mem.obj) : error LNK2005: CRYPTO_malloc already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(mem.obj) : error LNK2005: CRYPTO_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(bio_lib.obj) : error LNK2005: BIO_ctrl already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(bio_lib.obj) : error LNK2005: BIO_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(bio_lib.obj) : error LNK2005: BIO_new already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(bio_lib.obj) : error LNK2005: BIO_puts already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(err.obj) : error LNK2005: ERR_clear_error already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(err.obj) : error LNK2005: ERR_error_string_n already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(err.obj) : error LNK2005: ERR_get_error already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(err.obj) : error LNK2005: ERR_peek_error already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_lu.obj) : error LNK2005: X509_STORE_add_lookup already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_lu.obj) : error LNK2005: X509_STORE_set_flags already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x_pubkey.obj) : error LNK2005: i2d_X509_PUBKEY already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x_x509.obj) : error LNK2005: X509_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x_x509.obj) : error LNK2005: X509_get0_signature already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_cmp.obj) : error LNK2005: X509_get_issuer_name already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_cmp.obj) : error LNK2005: X509_get_pubkey already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_cmp.obj) : error LNK2005: X509_get_serialNumber already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_cmp.obj) : error LNK2005: X509_get_subject_name already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(v3_purp.obj) : error LNK2005: X509_check_issued already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(rand_lib.obj) : error LNK2005: RAND_add already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(rand_lib.obj) : error LNK2005: RAND_bytes already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(rand_lib.obj) : error LNK2005: RAND_status already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ocsp_asn.obj) : error LNK2005: OCSP_BASICRESP_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ocsp_asn.obj) : error LNK2005: OCSP_RESPONSE_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ocsp_asn.obj) : error LNK2005: d2i_OCSP_RESPONSE already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(b_print.obj) : error LNK2005: BIO_printf already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(conf_mod.obj) : error LNK2005: CONF_modules_load_file already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_pkey.obj) : error LNK2005: ENGINE_load_private_key already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(m_sha1.obj) : error LNK2005: EVP_sha256 already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(rsa_crpt.obj) : error LNK2005: RSA_flags already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(md5_dgst.obj) : error LNK2005: MD5_Final already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(md5_dgst.obj) : error LNK2005: MD5_Init already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(md5_dgst.obj) : error LNK2005: MD5_Update already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(a_time.obj) : error LNK2005: ASN1_TIME_print already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(bn_print.obj) : error LNK2005: BN_print already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(a_object.obj) : error LNK2005: i2a_ASN1_OBJECT already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(a_object.obj) : error LNK2005: i2t_ASN1_OBJECT already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(by_file.obj) : error LNK2005: X509_LOOKUP_file already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(by_file.obj) : error LNK2005: X509_load_crl_file already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_ext.obj) : error LNK2005: X509_get_ext_d2i already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_v3.obj) : error LNK2005: X509_EXTENSION_get_data already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509_v3.obj) : error LNK2005: X509_EXTENSION_get_object already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(v3_genn.obj) : error LNK2005: GENERAL_NAMES_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(bss_mem.obj) : error LNK2005: BIO_s_mem already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_lib.obj) : error LNK2005: ENGINE_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_lib.obj) : error LNK2005: ENGINE_get_id already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509name.obj) : error LNK2005: X509_NAME_ENTRY_get_data already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509name.obj) : error LNK2005: X509_NAME_get_entry already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(x509name.obj) : error LNK2005: X509_NAME_get_index_by_NID already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_fat.obj) : error LNK2005: ENGINE_set_default already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(set_key.obj) : error LNK2005: DES_set_key already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(set_key.obj) : error LNK2005: DES_set_odd_parity already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(bss_file.obj) : error LNK2005: BIO_s_file already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(p12_crpt.obj) : error LNK2005: PKCS12_PBE_add already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(t_x509.obj) : error LNK2005: X509_signature_print already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_create_method already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_destroy_method already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_get0_user_data already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_get_input_flags already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_get_string_type already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_get_closer already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_get_opener already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_get_reader already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_get_writer already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_set_closer already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_set_opener already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_set_reader already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_method_set_writer already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_lib.obj) : error LNK2005: UI_set_result already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(a_print.obj) : error LNK2005: ASN1_STRING_print already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_list.obj) : error LNK2005: ENGINE_by_id already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_list.obj) : error LNK2005: ENGINE_get_first already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_list.obj) : error LNK2005: ENGINE_get_next already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_init.obj) : error LNK2005: ENGINE_finish already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_init.obj) : error LNK2005: ENGINE_init already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(v3_prn.obj) : error LNK2005: X509V3_EXT_print already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(ui_openssl.obj) : error LNK2005: UI_OpenSSL already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_ctrl.obj) : error LNK2005: ENGINE_ctrl already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(eng_ctrl.obj) : error LNK2005: ENGINE_ctrl_cmd already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(p12_asn.obj) : error LNK2005: PKCS12_free already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(a_strex.obj) : error LNK2005: ASN1_STRING_to_UTF8 already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(a_strex.obj) : error LNK2005: X509_NAME_print_ex already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\gui\libcrypto.lib(p12_utl.obj) : error LNK2005: d2i_PKCS12_bio already defined in libeay32.lib(LIBEAY32.dll)
C:\Users\Donato\CMakeBuilds\0ae37d58-58e9-7033-b54d-9780727ded9c\build\x64-Release\bin\ets2-job-logger.exe : fatal error LNK1169: one or more multiply defined symbols found

@Lihis
Copy link
Owner

Lihis commented Dec 16, 2019

I forgot to mention about the -v flag in the CMakeSettings.json..

Which Windows version you're using?

@doouz
Copy link
Contributor Author

doouz commented Dec 16, 2019

I forgot to mention about the -v flag in the CMakeSettings.json..

Which Windows version you're using?

Windows 10 LTSC, I installed windows 8.1 sdk and the warnings disappear, but still have like 170+ errors.

I will try in another machine with windows 10 pro.

@Lihis
Copy link
Owner

Lihis commented Dec 16, 2019

Weird.. Anyway the error seems like a linking issue; it tries to link OpenSSL libraries while the symbols already came from libeay32.lib and ssleay32.lib.

EDIT: I meant vice versa with the linking..

@Lihis
Copy link
Owner

Lihis commented Dec 16, 2019

Seems that I might have screwed up with conan, tested clean install by removing C:\Users\<USERNAME>\.conan\data and C:\.conan and got this error:

ERROR: Failed requirement 'OpenSSL/1.1.1c@conan/stable' from 'libcurl/7.64.1@bincrafters/stable'
ERROR: Requested 'OpenSSL/1.1.1c@conan/stable' but found case incompatible 'openssl'
Case insensitive filesystem can't manage this

I updated PR with conanfile.txt which pulls in libcurl version 7.66.0 as with it that error went away. But you did not get that error?

@doouz
Copy link
Contributor Author

doouz commented Dec 16, 2019

No, I don't get that error, but maybe the problem with me is due to the windows version, Im installing now a normal windows 10 pro and will do all again to see if that works. I will come back when I have tested this on the new environment to let you know.

I would like to give you a big thanks for all your time and help, I really appreciate it.

@Lihis
Copy link
Owner

Lihis commented Dec 16, 2019

Something there is different, just have to figure out what as I don't see "install specific version of Windows" as a real solution.

Let me know how your test go. If still same error then give me full log of the build (preferably in pastebin as it's so huge with all the errors).

@doouz
Copy link
Contributor Author

doouz commented Dec 17, 2019

I follow all the steps in a new windows install, can you check this pastebin?

https://pastebin.com/8figXyma

I can see the two files compiled, ets2-job-logger.exe (7.741kb) and ets2-job-logger.dll (53kb), I did double clic on .exe and put the mark on "Install ETS2 plugin" set the path, also the api url and apikey, then press OK and say "Error: Plugin file missing, check your program installation"

I checked inside ETS2 installed path, and don't create the plugins folder (to put the ets2-job-logger.dll inside). I created the dir manually and put inside the ets2-job-logger.dll and still saying that the plugin file is missing. Maybe is not detecting in the correct way the SO.

@doouz
Copy link
Contributor Author

doouz commented Dec 17, 2019

Also, is possible that you can upload a compiled version for windows? So in the meanwhile I can start working in the way to receive the information on the web please ^^!

@Lihis
Copy link
Owner

Lihis commented Dec 17, 2019

That looks like a successful build 👍

"Error: Plugin file missing, check your program installation"

On Windows the plugin (ets2-job-logger.dll) is expected to be found from same directory with the .exe. It will be then copied to the ETS2 directory whenever the checksum of the plugin in ETS2 directory do not match the checksum of the plugin next to .exe when the program is started.

The PR can be merged as it seems that there is no more errors when compiling?

@doouz
Copy link
Contributor Author

doouz commented Dec 17, 2019

no more compilation error! 👍

But I did all you waid about missing file, and still saying missing plugin file, this is my step by step.

I have one folder called joblogger, inside the .exe and .dll. I double clic on .exe and check install ETS2, browse the path steamapps/common/EuroTruck Simulator 2/. I put the api url and api key, then I press OK and error apears "Plugin file missing" and from there, every time when I double clic on .exe say the same and close.

@Lihis
Copy link
Owner

Lihis commented Dec 17, 2019

Could you create new issue for that? I'll merge the PR and close this issue.

EDIT: I had forgotten.. The .dll on Windows is expected to be in win_x64 directory which should be next to the .exe.

@Lihis Lihis closed this as completed in #5 Dec 17, 2019
@Lihis Lihis added this to the v0.1.0 milestone Feb 5, 2020
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

Successfully merging a pull request may close this issue.

2 participants