Jump to content


Photo

Compiling DR in Visual Studio 2017


  • Please log in to reply
1 reply to this topic

#1 R Soul

R Soul

    Member

  • Member
  • PipPip
  • 161 posts

Posted 27 September 2018 - 04:41 PM

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:

Attached File  gitgui.jpg   53.96KB   0 downloads

 

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:

Attached File  errorlist.gif   28.03KB   0 downloads

 

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

https://stackoverflo...depath-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:

Attached File  warninglist.gif   22.79KB   0 downloads

 

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, 27 September 2018 - 04:42 PM.

  • RPGista likes this

#2 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20281 posts

Posted 30 September 2018 - 09:41 AM

I'm surprised none of our code inclined members have come back to you.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users