The dx9base package

[Tags: bsd3, library]

This package provoide ComObject and some error types, to provide DirectX 9 Haskell binding. We think replace some part by, or code what generated by

This version requires DirectX SDK that is specified in --extra-include-dirs and --extra-lib-dirs PATH. See the README file for more information.

[Skip to ReadMe]


Versions0.1, 0.1.1
Change logNone available
Dependenciesbase (>=3 && <5), Win32 [details]
AuthorEsa Ilari Vuokko
UploadedSat Sep 3 16:06:15 UTC 2011 by KidoTakahiro
Downloads426 total (7 in last 30 days)
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-11-12 [all 5 reports]



Maintainers' corner

For package maintainers and hackage trustees

Readme for dx9base-0.1.1

# Installing

 You need need recentish ghc (6.4.x should work).
 DirectX should be installed somewhere, examples assume %DXSDK%
 First, you need to prepare mingw-usable import libraries for
 directx DLLS.  This is easiest with mingw tool reimp, available on
 mingw-utilities on mingw site ( )  Installing
 mingw and msys are beyond this simple readme.
 Cabal setup scripts assume that those libraries are situated in
 %DXSDK%\Mingw.  If you have mingw and msys installed, doing
 something like:
   cd $DXSDK
   mkdir Mingw
   cd Mingw
   cp ../Lib/x86/*.lib .
   rm DxErr*.lib
   ls | xargs -n 1 reimp
 This will turn all but DxErr libs into mingw-compatible import
 libraries by running reimp on each .lib
 DxErr-libraries are not needed and take quite a lot of time to go
 through reimp.

 The bindings are split into multiple packages.  To compile and install
 packages, you need to compile Setup.hs
  ghc --make Setup.hs -o setup
 After you have setup.exe, you need to enter a package directory and
 give cabal commands configure, build and install.
  cd base
  ..\setup configure --dx-sdk=%DXSDK%
  ..\setup build
  ..\setup install
 Recommended order to build packages is base, d3d, d3dx so that dependencies
 are met.