Jump to content

Recommended Posts

I have some problems with the client.sln.

https://metin2.download/picture/FT8sXfEc1sF09nMU951PQ2l8HjkwNkDr/.png

This is what i use:

https://metin2.download/picture/Ai1gBuoYY7V2rj59gT848S8bPoUw1lPS/.png

How can i solve this Errors. Iam very new to this kind of things.

Edited by Metin2 Dev International
Core X - External 2 Internal
Link to comment
Share on other sites

This occurred because of a recent Visual Studio update.

Solution:

Right click on the project UserInterface -> Properties -> C/C++ -> Precompiled Headers -> Precompiled Header: Do not use precompiled headers.

Do the same with the other projects (ScriptLib, SpeedTreeLib, etc)

Do the same in Release and Debug.

 

  • Think 1
Link to comment
Share on other sites

  • Contributor
25 minutes ago, Raysiel said:

Now i have some other problems.
Iam using the files from TMP4 40250. Are there some missing files?
@ TMP4 can you check this

https://metin2.download/picture/75v5fb5JTD2oxo15zL2jhdRl3P25tlgt/.png



 

I put a Readme.txt in the ClientVS22 folder, you forgot to read it 🙂

afxres.h is not part of the project, it comes with the C++ MFC.

You need to install C++ MFC for latest v143 build tools too when you install your visual studio.
If you did not install that then open Microsoft Visal Studio Installer and you can install retrospectively.

Check Install.png.

A possible dirty workaround if you don't want to install updates is to open
ClientVS22\source\UserInterface\UserInterface.rc and modify #include "afxres.h" to #include <Windows.h>
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.