Jump to content
  • 0

need help compile error windows


Ahoy

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   4
  • Joined:  12/29/14
  • Last Seen:  

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,

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 2

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   4
  • Joined:  12/29/14
  • Last Seen:  

ty its work @anacondaq

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

×
×
  • Create New...