I'm trying to compile Openglfreaks winestreamproxy (https://github.com/openglfreak/winestreamproxy) following his tutorial but the make script keeps punching out this error.
rmdir -- obj 2>/dev/null || :
rmdir -- out 2>/dev/null || :
mkdir -p -- obj
. ./gen-version.sh && get_version && \
output_version_defines >obj/version.h && \
output_version_assignments >obj/.version
mkdir -p -- out
cp -LRpf -- obj/.version out/.version
touch -- out/.version
mkdir -p -- obj
cat obj/version.h src/version.rc | wrc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DWIN32_LEAN_AND_MEAN=1 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DPSAPI_VERSION=2 -UNDEBUG -DNDEBUG=1 -o obj/version.res
stdin:25:1: error: Unable to open include file winver.h
make: *** [Makefile:95: obj/version.res] Error 1
I found that moving files that it is looking for from the include file in OS into the winestreamproxy file. It moves past the winver.h error. I keep doing this until this error stops me.
rm -f -- obj/.version
rm -f -- obj/version.h
rm -f -- obj/version.res
rm -f -- obj/winestreamproxy_unixlib_unity_source.c
rm -f -- obj/winestreamproxy_unity_source.c
rm -f -- out/.version
rm -f -- out/winestreamproxy_unixlib.dll.so
rm -f -- out/winestreamproxy_unixlib.dll.dbg.o
rm -f -- out/winestreamproxy.exe
rm -f -- out/winestreamproxy.exe.dbg.o
rm -f -- obj/version-debug.res
rm -f -- out/.version-debug
rm -f -- out/winestreamproxy_unixlib-debug.dll.so
rm -f -- out/winestreamproxy-debug.exe
rm -f -- out/settings.conf
rm -f -- out/common.sh
rm -f -- out/start.sh
rm -f -- out/stop.sh
rm -f -- out/wrapper.sh
rm -f -- out/install.sh
rm -f -- out/uninstall.sh
rm -f -- out/common-debug.sh
rm -f -- out/start-debug.sh
rm -f -- out/stop-debug.sh
rm -f -- out/wrapper-debug.sh
rm -f -- out/install-debug.sh
rm -f -- out/uninstall-debug.sh
rm -f -- out/release.tar.gz
rm -f -- out/debug.tar.gz
rmdir -- obj 2>/dev/null || :
rmdir -- out 2>/dev/null || :
mkdir -p -- obj
. ./gen-version.sh && get_version && \
output_version_defines >obj/version.h && \
output_version_assignments >obj/.version
mkdir -p -- out
cp -LRpf -- obj/.version out/.version
touch -- out/.version
mkdir -p -- obj
cat obj/version.h src/version.rc | wrc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -DWIN32_LEAN_AND_MEAN=1 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DPSAPI_VERSION=2 -UNDEBUG -DNDEBUG=1 -o obj/version.res
./vadefs.h:36:1: error: #error directive: 'VARARGS not implemented for this compiler'
make: *** [Makefile:95: obj/version.res] Error 1