Closed vladfi1 closed 8 years ago
I followed the linux build instructions at http://www.hgamer3d.org/Install.html#linux which appeared to finish successfully. Afterwards I was not able to import any HGamer3D modules in ghci, but it did appear that as a side effect the missing C libraries were built. I then tried cabal install HGamer3D --extra-lib-dirs=/usr/local/lib/Urho3D/
, which succeeded, and I can now use HGamer3D in ghci.
Hi Vlad, happy to see that you finally succeeded. I think the issue is due to the fact that the Python build script behind the scenes uses the stack Haskell toolchain and in this GHCI needs to be called with stack exec ghci --
Ah so stack is installing to its own sandbox, but the C libraries are installed system-wide. I think it is a bit weird to be using the python build scripts for a Haskell project - I would expect to be able to do the same thing with just cabal (or stack).
Edit: I'm using Ubuntu 15.10.
obsolete due to new version 0.7, which uses different scheme.
cabal install HGamer3D
fails with* Missing C libraries: hgamer3d062, Urho3D