Open
banners

From Openscap

Building OpenSCAP on Windows

  1. The easiest way to compile OpenSCAP on Windows is in cygwin. First install basic set of packages from cygwin distribution plus:
    • autoconf automake libtool make gcc
    • pcre-devel libxml2-devel libcurl-devel libgrcypt-devel
    • swig perl python
  2. run autotools machinery by autogen.sh
  3. disable compilation of probes by configure --disable-probes. Unfortunately the probes support is platform dependent and windows code was not implemented yet.
  4. make build
  5. you might want to run library self-check by make check
  6. make install
  7. the final DLL is called cygopenscap-0.dll and you can link you app to it.
Example: gcc myapp.c -I/path/to/headers -L/path/to/dynamic/library -lcygopenscap-0

If you want to run your app, make sure cygopenscap-0.dll is either in working directory or in PATH variable directories.

Views Article Discussion Edit History
Personal tools:  Log in / create account
Toolbox What links here Related changes Upload file Special pages Printable version