Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
nmake install returns U1077 'if' : return code '0x1' #129
I'm trying to package harfbuzz ; harfbuzz provides an nmake build for msvc : https://github.com/behdad/harfbuzz/tree/master/win32
I'm using "nmake /f Makefile.vc CFG=release DIRECTWRITE=1" to build the Library and it works however I'm having trouble getting the install target to work. I'd like to avoid copying headers and binaries in the port file so I'm using this snippet :
Unfortunatly it doesn't work it fails with this error :
I'm not sure why, some internet search told me that I need to run vcvarsall.bat script before running nmake but this is relevant when running nmake from console.
Ok, I managed to find a fix! tl;dr
Also, please add a
I suspect we're doing a case-sensitive comparison. If you use
I'll look into adding detection logic here and give you a better error message in the future.