dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs.
Does anyone have an example of what a typical config.mk should look like when building on a MS Windows MSYS2 environment?
I get the below error when attempting to build after I have added "D_WCTYPE_T" to CFLAGS
dvtm build options:
CFLAGS = -std=c99 -I. -I/usr/include -DVERSION="0.15" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED -D_WCTYPE_T
LDFLAGS = -lc -lutil -lncursesw
CC = cc
CC dvtm.c
In file included from C:/msys64/usr/include/sys/fcntl.h:3,
from C:/msys64/usr/include/fcntl.h:12,
from dvtm.c:24:
C:/msys64/usr/include/sys/_default_fcntl.h:186:8: error: redefinition of 'struct flock'
186
struct flock {
^~~~~
In file included from C:/msys64/usr/include/sys/types.h:224,
from C:/msys64/usr/include/sys/unistd.h:12,
from C:/msys64/usr/include/unistd.h:4,
from dvtm.c:14:
C:/msys64/usr/include/machine/types.h:46:8: note: originally defined here
46
struct flock {
^~~~~
In file included from C:/msys64/usr/include/errno.h:9,
from dvtm.c:33:
C:/msys64/usr/include/sys/errno.h:14: warning: "errno" redefined
14
#define errno (*__errno())
In file included from C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/stddef.h:1,
from C:/msys64/usr/include/stdlib.h:16,
from dvtm.c:13:
C:/msys64/mingw64/include/stddef.h:19: note: this is the location of the previous definition
19
Does anyone have an example of what a typical config.mk should look like when building on a MS Windows MSYS2 environment?
I get the below error when attempting to build after I have added "D_WCTYPE_T" to CFLAGS
make: *** [Makefile:19: dvtm.o] Error 1