Jump to content
The Dark Mod Forums
Sign in to follow this  
R Soul

Compiling DR in Visual Studio 2017

Recommended Posts

Hello.

 

I've decided to have a look at the DR code, which starts with trying to compile it. I found this page and began going through the instructions.

 

I used TortoiseGit to clone DR. Is this any different to going to GitHub and downloading the project as a zip file, or is a Git client just for keeping things synchronized?

 

The link to TortoiseGit takes us to a different program:

post-2153-0-20195300-1538079348_thumb.jpg

 

Only a Google search takes us to the correct program.

 

I extracted the w32deps/ and w64deps/ folders into DarkRadiant so my folder structure matched the screenshot.

 

When I tried to compile (Debug/Release or Win32/64 makes no difference) I got well over 100 errors about missing files:

post-2153-0-65860900-1538080916_thumb.gif

 

I did some searching and found a solution to the above:

https://stackoverflow.com/questions/38290169/cannot-find-corecrt-h-universalcrt-includepath-is-wrong

(reinstall VS (it may do an update) then you'll see the modify button mentioned by parsely72)

 

I then got it to compile, albeit with many warnings:

post-2153-0-11954800-1538084057_thumb.gif

 

Those warnings disappeared after the first compilation, so I guess all relevant files were created.

 

Hopefully my story will help someone else. Does the wiki page need updating?

Edited by R Soul
  • Like 1

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...