Page 1 of 1

Building libraries with VS2017

Posted: Thu Dec 09, 2021 8:41 am
by dqhx
Hey, I am trying to build the binaries and libraries, on windows, with VS2017.
I am running vsbuild.cmd from the Developer Command Prompt, and the binaries get built, but the libraries don't.
By itself, it complains that there is no make, and VS's namke isn't compatible, so I installed make with Chocolatey, but that gives errors:

Code: Select all

make: Entering directory 'C:/Cosmin/Work/z88dk/libsrc'
''
'--- Building Altair8800 Library ---'
''
The syntax of the command is incorrect.
make[1]: *** [Makefile:60: dirs] Error 1
make: *** [Makefile:1670: altair8800_clib.lib] Error 2
Is there a specific version of make i should download/use ?

Re: Building libraries with VS2017

Posted: Thu Dec 09, 2021 9:06 am
by dom
I have a feeling that vsbuild.cmd has rotted - I'd forgotten that it was there.

I created the recipe here: https://github.com/z88dk/z88dk/wiki/Cla ... -libraries for building on windows a couple of years ago. I'd try that route if I were you.

Re: Building libraries with VS2017

Posted: Fri Dec 10, 2021 3:50 am
by dqhx
Thanks, that worked