Author Topic: Guide to Building from Source  (Read 680 times)

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2233
    • LairWorks Entertainment
Guide to Building from Source
« on: November 17, 2019, 10:47:39 PM »
I started putting together a guide for building OutpostHD from source: https://wiki.outpost2.net/doku.php?id=outposthd:building_from_source

Aside from what to do with NAS2D and the data assets, it should be pretty complete. Please let me know if you have any issues with the steps used in this guide.

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4853
Re: Guide to Building from Source
« Reply #1 on: November 18, 2019, 01:55:23 PM »
Instructions look clear so far.

When cloning the OPHD Git repository, is there an option somewhere to do a recursive clone? If so, that should automatically fetch the NAS2D library code as well. From the command line it is specified with --recursive. From a GUI (maybe TortoiseGit?) there was a checkbox for "recursive".

Offline leeor_net

  • Administrator
  • Hero Member
  • *****
  • Posts: 2233
    • LairWorks Entertainment
Re: Guide to Building from Source
« Reply #2 on: November 18, 2019, 07:43:49 PM »
There is, I never really investigated what that option was. Through visual studio there is also a recursive option, I just don't remember exactly where.

Offline Goof

  • Jr. Member
  • **
  • Posts: 55
Re: Guide to Building from Source
« Reply #3 on: November 23, 2019, 06:24:01 AM »
Hi guys/girls

Just to add a Prerequisites for non english devs.
When you launch the command
Code: [Select]
vcpkg install glew:x86-windows glew:x64-windows physfs:x86-windows physfs:x64-windows
The tool warn about the missing english language package
Code: [Select]
Warning: The following VS instances are excluded because the English language pack is unavailable.
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
Please install the English language pack.

Add the english language to fix it and run the command again .



Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4853
Re: Guide to Building from Source
« Reply #4 on: November 23, 2019, 07:47:33 PM »
Huh, I wonder what causes that.

Thank you for the report.