Opened 4 weeks ago

Closed 4 weeks ago

#1250 closed defect (worksforme)

Checkout from trunk does not build due to missing header files

Reported by: Jem777 Owned by:
Priority: minor Milestone:
Component: all Version: 7.0
Keywords: windows Cc: Jem777

Description

I checked out rev 4965 from trunk. This fails to build in VS, due to missing config.h and wbemcli.h.

I looked at the tagged 7.0 version, and it these header files seem to missing there as well.

What gives?

(The reason for trying to build from source is I'm affected by ticket #1154)

Change History (2)

comment:1 Changed 4 weeks ago by Jem777

Cc: Jem777 added

comment:2 Changed 4 weeks ago by Christian Franke

Keywords: windows added
Resolution: worksforme
Status: newclosed

A build with VC14 requires that some files are generated by a Makefile which is configured for Mingw-w64: make config-vc14 generates config.h, smartctl_res.rc, smartd_res.rc and svnversion.h. See also the INSTALL file.

The wbemcli.h file is not provided by smartmontools because it should be part of any recent Windows Kit.

Please note that the official toolchain to build smartmontools for Windows is MinGW-w64. It allows us to cross-compile under Linux and to provide CI binaries here: https://builds.smartmontools.org.

Note: See TracTickets for help on using tickets.