Jump to content

visual studio errors


watty

Recommended Posts

cant build with visual studio 15 2017. for 5.x.x

Severity    Code    Description    Project    File    Line    Suppression State
Error    C2079    'ARC4::m_ctx' uses undefined struct 'evp_cipher_ctx_st' (compiling source file C:\SkyFireEMU_548\Core\src\server\shared\Cryptography\ARC4.cpp)    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.h    35    
Error    C2079    'ARC4::m_ctx' uses undefined struct 'evp_cipher_ctx_st'    game    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.h    35    
Error    C2664    'int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    25    
Error    C2664    'int EVP_EncryptInit_ex(EVP_CIPHER_CTX *,const EVP_CIPHER *,ENGINE *,const unsigned char *,const unsigned char *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    26    
Error    C2664    'int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *,int)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    27    
Error    C2664    'int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    32    
Error    C2664    'int EVP_EncryptInit_ex(EVP_CIPHER_CTX *,const EVP_CIPHER *,ENGINE *,const unsigned char *,const unsigned char *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    33    
Error    C2664    'int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *,int)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    34    
Error    C2664    'int EVP_EncryptInit_ex(EVP_CIPHER_CTX *,const EVP_CIPHER *,ENGINE *,const unsigned char *,const unsigned char *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    35    
Error    C2664    'int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    40    
Error    C2664    'int EVP_EncryptInit_ex(EVP_CIPHER_CTX *,const EVP_CIPHER *,ENGINE *,const unsigned char *,const unsigned char *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    45    
Error    C2664    'int EVP_EncryptUpdate(EVP_CIPHER_CTX *,unsigned char *,int *,const unsigned char *,int)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    51    
Error    C2664    'int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *,unsigned char *,int *)': cannot convert argument 1 from 'int *' to 'EVP_CIPHER_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.cpp    52    
Error    C2079    'HmacHash::m_ctx' uses undefined struct 'hmac_ctx_st' (compiling source file C:\SkyFireEMU_548\Core\src\server\shared\Cryptography\HMACSHA1.cpp)    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.h    44    
Error    C2079    'ARC4::m_ctx' uses undefined struct 'evp_cipher_ctx_st' (compiling source file C:\SkyFireEMU_548\Core\src\server\shared\Cryptography\Authentication\AuthCrypt.cpp)    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.h    35    
Error    C2079    'HmacHash::m_ctx' uses undefined struct 'hmac_ctx_st' (compiling source file C:\SkyFireEMU_548\Core\src\server\shared\Cryptography\Authentication\AuthCrypt.cpp)    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.h    44    
Error    C3861    'HMAC_CTX_init': identifier not found    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.cpp    26    
Error    C2664    'int HMAC_Init_ex(HMAC_CTX *,const void *,int,const EVP_MD *,ENGINE *)': cannot convert argument 1 from 'int *' to 'HMAC_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.cpp    27    
Error    C3861    'HMAC_CTX_cleanup': identifier not found    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.cpp    32    
Error    C2664    'int HMAC_Update(HMAC_CTX *,const unsigned char *,::size_t)': cannot convert argument 1 from 'int *' to 'HMAC_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.cpp    37    
Error    C2664    'int HMAC_Update(HMAC_CTX *,const unsigned char *,::size_t)': cannot convert argument 1 from 'int *' to 'HMAC_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.cpp    42    
Error    C2664    'int HMAC_Final(HMAC_CTX *,unsigned char *,unsigned int *)': cannot convert argument 1 from 'int *' to 'HMAC_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.cpp    48    
Error    C2664    'int HMAC_Update(HMAC_CTX *,const unsigned char *,::size_t)': cannot convert argument 1 from 'int *' to 'HMAC_CTX *'    shared    c:\skyfireemu_548\core\src\server\shared\cryptography\hmacsha1.cpp    54    
Error    LNK1181    cannot open input file '..\shared\Release\shared.lib'    authserver    C:\SkyFireEMU_548\Build\src\server\authserver\LINK    1    
Error    LNK1181    cannot open input file '..\..\server\shared\Release\shared.lib'    vmap4assembler    C:\SkyFireEMU_548\Build\src\tools\vmap4_assembler\LINK    1    
Error    LNK1181    cannot open input file '..\..\server\shared\Release\shared.lib'    mmaps_generator    C:\SkyFireEMU_548\Build\src\tools\mmaps_generator\LINK    1    
Error    C2079    'ARC4::m_ctx' uses undefined struct 'evp_cipher_ctx_st'    worldserver    c:\skyfireemu_548\core\src\server\shared\cryptography\arc4.h    35    
 

========== Build: 15 succeeded, 6 failed, 0 up-to-date, 1 skipped ==========

Link to comment
Share on other sites

Hello!

It seems that you have wrong version of OpenSSL installed, or at least that was my problem, when I was facing similar build output. If you peek at repo, you'll see, that OpenSSL version 1.02 is supported, please install and link this version.

Link to comment
Share on other sites

On 4/5/2018 at 11:29 PM, aName said:

Hello!

It seems that you have wrong version of OpenSSL installed, or at least that was my problem, when I was facing similar build output. If you peek at repo, you'll see, that OpenSSL version 1.02 is supported, please install and link this version.

I think you are right. But i still cant solve problem. When testing with 1.0.2o 64bit , i got errors  like cannot find libssl64MD.lib but that 1.0.2o 64bit installer installs only files like libssl32MD.lib.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.