Jump to content

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.

 Share

  • Recent Status Updates

    • STiFU

      Anyone here played Inscryption? At first, I was like "no, I am not going to play a stupid card game", but this game is so much more than that. It is so meta, full of 4th wall breaks, and feels so damn spooky and weird because of it. Absolutely recommended, if you can stand the visuals. I recommend not reading up too much on it, as that could easily spoil half the incredible surprises. Just know that what you see in the beginning is by far not everything.
      · 2 replies
    • freyk

      Tried to make a tdm advertisement commentpost at one of civvie11 youtube videos about T2. Post got marked as spam. His problem (to not discover TDM for himself),..not my problem.
      But some help of some fellow TDM yt-videocomment posters would be nice. To ask him and others, to play TDM. To get more players/creators. 
      · 2 replies
    • datiswous

      Currently Profile Information has 3 fields, these are shown in forum posts under your avatar:
      1. Gender
      2. Location
      3. Interests
      I think that it could be useful to have an extra field called "Operating system" (under location). It can be useful for tech support and to see what people use.
      Alternatively it could be a more general term, like PC system, so that you can for example state that you use an AMD gpu.
      · 2 replies
    • OrbWeaver

      Greetings fellow kids.
      · 11 replies
    • Crafty_Creeper

      Keep on Creeping on...
       
      · 3 replies
×
×
  • Create New...