Skip to content

UE5.1.0 Win64 打包时报错 Error LNK2005  #1

Description

@silverbers

使用UE5.1.0 , 第三人称模板项目打包报错

UATHelper: Packaging (Windows): [17/26] Compile AliyunOssDemo.init.gen.cpp
UATHelper: Packaging (Windows): [18/26] Compile AliyunOssDemo.cpp
UATHelper: Packaging (Windows): [19/26] Compile AliOSSServerDemo.cpp
UATHelper: Packaging (Windows): [20/26] Compile AliyunOssDemoCharacter.gen.cpp
UATHelper: Packaging (Windows): [21/26] Compile AliyunOssDemoGameMode.gen.cpp
UATHelper: Packaging (Windows): [22/26] Compile AliyunOssDemoGameMode.cpp
LogDirectoryWatcher: A directory notification for '../../../Engine/Plugins/' was aborted.
LogDirectoryWatcher: A directory notification for '../../../../../[0]UnrealProjects/AliyunOssDemo/Plugins/' was aborted.
UATHelper: Packaging (Windows): [23/26] Compile AliyunOssDemoCharacter.cpp
UATHelper: Packaging (Windows): [24/26] Compile Module.AliOSSServer.cpp
UATHelper: Packaging (Windows): D:[0]UnrealProjects\AliyunOssDemo\Plugins\UnrealAliOSSPlugin\Source\ThirdParty\include\alibabacloud\oss\model\InputFormat.h(108): warning C4265: 'AlibabaCloud::OSS::CSVInputFormat': class has virtual functions, but its non-trivial destructor is not virtual; instances of this class may not be destructed correctly
UATHelper: Packaging (Windows): [25/26] Link AliyunOssDemo.exe
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_free already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_get_cert_store already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_get_ex_data already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_get_verify_mode already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_new already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_ex_data already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_CTX_set_verify already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_lib.obj) : error LNK2005: SSL_get_SSL_CTX already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libssl.lib(ssl_cert.obj) : error LNK2005: SSL_get_ex_data_X509_STORE_CTX_idx already defined in ssleay32.lib(SSLEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(bn_lib.obj) : error LNK2005: BN_bn2bin already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(bn_lib.obj) : error LNK2005: BN_new already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(bn_lib.obj) : error LNK2005: BN_num_bits already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(bn_lib.obj) : error LNK2005: BN_set_word already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(digest.obj) : error LNK2005: EVP_DigestFinal_ex already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(digest.obj) : error LNK2005: EVP_DigestInit_ex already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(digest.obj) : error LNK2005: EVP_DigestUpdate already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_CIPHER_CTX_ctrl already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_CIPHER_CTX_free already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_CIPHER_CTX_new already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_DecryptFinal_ex already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_DecryptInit_ex already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_DecryptUpdate already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_EncryptFinal_ex already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_EncryptInit_ex already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_enc.obj) : error LNK2005: EVP_EncryptUpdate already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_lib.obj) : error LNK2005: RSA_free already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_lib.obj) : error LNK2005: RSA_new already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x509_vfy.obj) : error LNK2005: X509_STORE_CTX_get_ex_data already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x509_vfy.obj) : error LNK2005: X509_STORE_CTX_set_error already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x509_vfy.obj) : error LNK2005: X509_cmp_current_time already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(bio_lib.obj) : error LNK2005: BIO_free already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(err.obj) : error LNK2005: ERR_error_string_n already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(err.obj) : error LNK2005: ERR_get_error already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_lib.obj) : error LNK2005: EVP_CIPHER_CTX_block_size already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_lib.obj) : error LNK2005: EVP_CIPHER_CTX_iv_length already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_lib.obj) : error LNK2005: EVP_CIPHER_iv_length already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_lib.obj) : error LNK2005: EVP_CIPHER_key_length already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(evp_lib.obj) : error LNK2005: EVP_MD_CTX_set_flags already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(p_lib.obj) : error LNK2005: EVP_PKEY_assign already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(p_lib.obj) : error LNK2005: EVP_PKEY_new already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x509_lu.obj) : error LNK2005: X509_STORE_add_cert already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x_pubkey.obj) : error LNK2005: i2d_X509_PUBKEY already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x509_cmp.obj) : error LNK2005: X509_cmp already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x509_cmp.obj) : error LNK2005: X509_get_issuer_name already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x509_cmp.obj) : error LNK2005: X509_get_subject_name already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rand_lib.obj) : error LNK2005: RAND_bytes already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(m_sha1.obj) : error LNK2005: EVP_sha1 already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(m_sha1.obj) : error LNK2005: EVP_sha256 already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(e_aes.obj) : error LNK2005: EVP_aes_256_cbc already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(e_aes.obj) : error LNK2005: EVP_aes_256_ecb already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(e_aes.obj) : error LNK2005: EVP_aes_256_gcm already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(names.obj) : error LNK2005: EVP_get_digestbyname already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(conf_mod.obj) : error LNK2005: CONF_modules_load_file already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(m_sigver.obj) : error LNK2005: EVP_DigestVerifyFinal already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(m_sigver.obj) : error LNK2005: EVP_DigestVerifyInit already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x_x509.obj) : error LNK2005: X509_free already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x_x509.obj) : error LNK2005: d2i_X509 already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(hmac.obj) : error LNK2005: HMAC already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(bss_mem.obj) : error LNK2005: BIO_new_mem_buf already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_asn1.obj) : error LNK2005: d2i_RSAPublicKey already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(x_all.obj) : error LNK2005: X509_digest already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(sha256.obj) : error LNK2005: SHA256_Final already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(sha256.obj) : error LNK2005: SHA256_Init already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(sha256.obj) : error LNK2005: SHA256_Update already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(encode.obj) : error LNK2005: EVP_EncodeBlock already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_crpt.obj) : error LNK2005: RSA_private_decrypt already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_crpt.obj) : error LNK2005: RSA_private_encrypt already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_crpt.obj) : error LNK2005: RSA_public_decrypt already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_crpt.obj) : error LNK2005: RSA_public_encrypt already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_crpt.obj) : error LNK2005: RSA_size already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(pem_x509.obj) : error LNK2005: PEM_read_bio_X509 already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_gen.obj) : error LNK2005: RSA_generate_key_ex already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_sign.obj) : error LNK2005: RSA_sign already defined in libeay32.lib(LIBEAY32.dll)
UATHelper: Packaging (Windows): libcrypto.lib(rsa_sign.obj) : error LNK2005: RSA_verify already defined in libeay32.lib(LIBEAY32.dll)

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