Add new comment

On attempting to build

I have the latest MSVC, community edition, installed under Windows 10. I am attempting to build libraw inside a vanilla Windows 10 powershell.

Your directions:

  1. Unpack the distribution package (if you have got no tar+gzip, take the LibRaw distribution package in the .ZIP format) and go to folder LibRaw-X.YYY.
  2. Set the environment parameters so that the compiler/linker would find the libraries and include-files. For Visual C++, this is done by running vcvars32.bat.
  3. Run
    nmake -f Makefile.msvc

There is no "vcvars32.bat" file in the distribution in the base folder, or in the buildfiles folder. Should I be looking somewhere else?

"Makefile.msvc" is present. However, "nmake -f Makefile.msvc" returns an error:

The term "nmake" is not recognized as the name of a cmdlet, function, script file, or operable program

You said:

You need either recompile LibRaw from source with your compiler or use precompiled dll (+MSVC runtime)

A dll imposes issues I wish to avoid. I want the code securely inside the app with no install issues. Hence my desire to build a compile-time linkable library.