Build bareos for Windows from source

34 views
Skip to first unread message

systems

unread,
Dec 20, 2022, 1:19:38 AM12/20/22
to bareos...@googlegroups.com
Hi developers,
when I try to build the source code for Windows using cross compiling
with MinGW, it looks like some header files are missing.

cmake itself don't show an warning or so. But the build itself fails with:
bareos-Release-21.1.6/core/src/win32/plugins/filed/mssqlvdi-fd.cc:38:10:
fatal error: vdi.h: No such file or directory
38 | #include "vdi.h"
| ^~~~~~~
bareos-Release-21.1.6/core/src/win32/filed/vss_generic.cc:85:14: fatal
error: WinXP/vss.h: No such file or directory
85 | # include "WinXP/vss.h"
| ^~~~~~~~~~~~~
bareos-Release-21.1.6/core/src/win32/filed/vss_generic.cc:92:14: fatal
error: Win2003/vss.h: No such file or directory
92 | # include "Win2003/vss.h"
| ^~~~~~~~~~~~~~~


Or make I something wrong?

Thanks for any ideas.
Reply all
Reply to author
Forward
0 new messages