[Vm-dev] DirectX superseded by mingw provided files?
Hernán Morales Durand
hernan.morales at gmail.com
Sun Nov 13 18:54:05 UTC 2016
I have the latest update of MinGW with all libraries and tools installed.
Which "provided files" superseded the DirectX headers in the VM?
With help from Esteban I am trying to compile the Windows VM from this
repo: https://github.com/estebanlm/opensmalltalk-vm branch
"merge-with-pharo-win32”
In \opensmalltalk-vm\build.win32x86\common\Makefile the include directive
does NOT include the DirectX definitions on purpose:
#############################################################################
# DirectX definitions - NOT USED - superseded by mingw provided files
#
DXDIR:= $(PLATDIR)/win32/third-party/dx9sdk/Include
INCLUDES:= -I. -I$(VMSRCDIR) -I$(WIN32DIR) -I$(CROSSDIR) $(XINC)
Compiling with MSYS
opensmalltalk-vm/build.win32x86/pharo.cog.spur/mvm -f
Causes compilation to fail finding dinput.h
../../platforms/win32/vm/sqWin32DirectInput.c:37:20: dinput.h: No such file
or directory
...
make: *** [build/vm/sqWin32DirectInput.o] Error 1
Now I added the DXDIR include to "fix" the issue:
INCLUDES:= -I. -I$(VMSRCDIR) -I$(WIN32DIR) -I$(CROSSDIR) -I$(DXDIR) $(XINC)
Cheers,
Hernán
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20161113/9e084454/attachment.html>
More information about the Vm-dev
mailing list