Jump to content
  • 0

need help compile error windows


Question

Posted
Quote

9>c:\program files\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
9>trade.cpp
9>d:\rathenas\src\map\trade.cpp(6): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
9>unit.cpp
9>c:\program files\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
9>Generating Code...
9>Compiling...
9>vending.cpp
9>c:\program files\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
9>Generating Code...
9>Done building project "map-server.vcxproj" -- FAILED.
========== Build: 0 succeeded, 9 failed, 0 up-to-date, 0 skipped ==========

please help , i try to compile new rathena and get this error...

and code error is C1083

 

Quote

Severity    Code    Description    Project    File    Line    Suppression State
Error    C1083    Cannot open include file: 'corecrt.h': No such file or directory    map-server    c:\program files\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h    10    
Error    C1083    Cannot open include file: 'corecrt.h': No such file or directory    map-server    c:\program files\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\crtdefs.h    10    
Error    C1083    Cannot open include file: 'stdio.h': No such file or directory    map-server    d:\rathenas\src\map\trade.cpp    6    

how to fix it ?

 

 

thanks,

 

 

2 answers to this question

Recommended Posts

  • 2
Posted

Install Windows SDK (usually it's installed by default when you install Visual Studio Community 2019 or 2017 and select C++).
Then, right click on the solution -> Retarget Solution -> OK -> Clean Solution -> Build Solution. If source code correct - everything will work fine. 

  • Upvote 1

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...