-
Notifications
You must be signed in to change notification settings - Fork 69
Investigate building and porting to other platforms #3
Comments
There needs to be some magic done to make it work on OSX it seems. See #7. |
Okey, I've tried install it on my parents Windows 7 machine, I was not able to finish the installation since I don't got more computer time today, but I can share the experience. Install cairo was smooth actually, simply install gtk2hs(http://projects.haskell.org/gtk2hs/download/) and follow its instruction and you will get cairo as a side-effect since gtk is dependent on it. As for SDL, the hackage package contains a ./configure script which needs a Unix simulator or simular. Some basic knowledge of using cmd.exe and how to set env-vars is probably needed but not difficult, just use google to see how they work in Windows 7. Windows really gave me a headeqe not sure if I wanna continue installing this. xD Anyway hope this helps a little bit at least, if I take the time to install CygWin or such and am able to install SDL bindings then I will ofc check if helm builds and works on Windows. |
The SDL bindings have a WIN32 file explaining how to install them without the configure script:
|
Tommorrow I'll get a Windows machine from school. If eveything goes well I can report if Helm worka or not before the end of the week. I have to excuse foe previous time I said I was foing to try it on Windows but it was my parenta computer and when they say me changing system vars they freaked out... |
Hi, I've managed to get helm installed on a Windows 7 machine following the instructions from the previous comments. For reference, I'm using:
Built all the demos to verify it worked and all of them behaved correctly (as far as I can see, atleast) Hope this is useful! |
Nice. I'll wait for the SDL2 bindings to be ready before I go about documenting the process officially. |
Another report from the Win7 front.
Issues:
import FRP.Helm
import qualified FRP.Helm.Window as Window
render :: (Int, Int) -> Element
render (w, h) = collage w h [rect (fromIntegral w) (fromIntegral h) |> filled red]
main :: IO ()
main = run defaultConfig $ lift render Window.dimensions [1] https://github.com/fpco/minghc |
It's only tested on Linux atm. Platforms I'd like to have a development process for:
The text was updated successfully, but these errors were encountered: