Jump to content

Recommended Posts

Hi guys!

 

Enyone know how to fix this?

 


input_main.cpp:3496:11: error: no viable conversion from 'std::unique_ptr<SQLMsg>' (aka 'unique_ptr<_SQLMsg>') to 'SQLMsg *' (aka '_SQLMsg *')
        SQLMsg * msg = DBManager::instance().DirectQuery(szQuery);
                 ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
input_main.cpp:3502:32: error: use of undeclared identifier 'HEADER_GD_FLUSH_CACHE'; did you mean 'HEADER_GD_QUEST_SAVE'?
        db_clientdesc->DBPacketHeader(HEADER_GD_FLUSH_CACHE, 0, sizeof(DWORD));
                                      ^~~~~~~~~~~~~~~~~~~~~
 

 

Thanks for reply!

Link to comment
https://metin2.dev/topic/32417-problem-with-game-compile/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium
25 minutes ago, sylwek219awp said:

Hi guys!

 

Enyone know how to fix this?

 


input_main.cpp:3496:11: error: no viable conversion from 'std::unique_ptr<SQLMsg>' (aka 'unique_ptr<_SQLMsg>') to 'SQLMsg *' (aka '_SQLMsg *')
        SQLMsg * msg = DBManager::instance().DirectQuery(szQuery);
                 ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
input_main.cpp:3502:32: error: use of undeclared identifier 'HEADER_GD_FLUSH_CACHE'; did you mean 'HEADER_GD_QUEST_SAVE'?
        db_clientdesc->DBPacketHeader(HEADER_GD_FLUSH_CACHE, 0, sizeof(DWORD));
                                      ^~~~~~~~~~~~~~~~~~~~~
 

 

Thanks for reply!

input_main.cpp:3496

input_main.cpp:3502

Read those lines in your input_main.cpp you fcked up something and you don't have indentified HEADER_GD_FLUSH_CACHE

 

Link to comment
https://metin2.dev/topic/32417-problem-with-game-compile/#findComment-164278
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.