BlindMindStudios / StarRuler2-Source

4X Space Strategy game Star Ruler 2's open source distribution.
http://starruler2.com
Other
1.46k stars 246 forks source link

Fail during building #10

Closed MattQ50 closed 6 years ago

MattQ50 commented 6 years ago

As title says, when building on Visual Studio 2017 in both debug or non-steam versions, building crashes and exits with 2 failed processes.

Exact line: 9>LINK : fatal error LNK1181: cannot open input file 'angelscript64.lib'

DaloLorn commented 6 years ago

sighs AngelScript is a little finicky with Win64 builds, yes...

This procedure should fix the build:

1) Right-click the angelscript project in the solution browser to bring up its context menu

Once you are done, VS should successfully compile AngelScript and will be able to include it in the game the next time you try to build it.

EDIT: According to Dolynick, another option is to change the path to the source code until all spaces are removed. For instance, if your repository is in C:/Users/Me Too/Documents/Mod Repositories/StarRuler2, it would have to become C:/Users/MeToo/Documents/ModRepositories/StarRuler2.

MattQ50 commented 6 years ago

Worked perfectly, thank you.