Jump to content
Forum Login Changes ×
The Dark Mod Forums

Can't compile latest: Cannot open include file: 'PatchConstants.h'


Recommended Posts

Trying the latest code and it fails,

 

Severity    Code    Description    Project    File    Line    Suppression State
Error    C1083    Cannot open include file: 'PatchConstants.h': No such file or directory (compiling source file ..\..\radiantcore\patch\algorithm\Prefab.cpp)    DarkRadiantCore    C:\source_code\darkradiant_svn\DarkRadiant\radiantcore\patch\Patch.h    11

 

I cleaned up all unversioned files and VS2022 downloaded latest windeps and extracted them. Everything seems to work fine.

 

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

So interesting.

I use TortoiseGit, so I normally do a GitSync->Pull.

Well it says everything is fine, but that file is missing. I deleted the radiantcore/patch directory, did another gitsync, but it didn't restore it like I'm used to with SVN.

So I used the repo browser to drag and drop the patch directory and now I have all the correct files, but I'm assuming now that directory won't be included in gitsync?

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

Sync or pull doesn't restore any files that have been locally deleted. You need to use "Git > Revert...".

(Or alternatively Git > Checkout "master" (with force) or Git > Reset (hard) to restore your working copy to a committed revision.)

The repo-browser is ok to restore specific files manually, but Git > Revert is better.

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