{"action":"created","issue":{"url":"https://api.github.com/repos/simoncozens/sile/issues/82","labels_url":"https://api.github.com/repos/simoncozens/sile/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/simoncozens/sile/issues/82/comments","events_url":"https://api.github.com/repos/simoncozens/sile/issues/82/events","html_url":"https://github.com/simoncozens/sile/issues/82","id":79473739,"number":82,"title":"Building SILE on MinGW32/Windows8.1","user":{"login":"shirat74","id":8378674,"avatar_url":"https://avatars.githubusercontent.com/u/8378674?v=3","gravatar_id":"","url":"https://api.github.com/users/shirat74","html_url":"https://github.com/shirat74","followers_url":"https://api.github.com/users/shirat74/followers","following_url":"https://api.github.com/users/shirat74/following{/other_user}","gists_url":"https://api.github.com/users/shirat74/gists{/gist_id}","starred_url":"https://api.github.com/users/shirat74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirat74/subscriptions","organizations_url":"https://api.github.com/users/shirat74/orgs","repos_url":"https://api.github.com/users/shirat74/repos","events_url":"https://api.github.com/users/shirat74/events{/privacy}","received_events_url":"https://api.github.com/users/shirat74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T14:21:52Z","updated_at":"2015-05-24T06:10:15Z","closed_at":null,"body":"I have tried to build and run SILE on my Windows8.1 machine.\r\nTo build libtexpdf, I needed to add the following\r\n\r\n    #ifdef WIN32\r\n    #include <fcntl.h>\r\n    #define CDECL\r\n    #endif\r\n\r\nto libtexpdf/libtexpdf.h (I'm not very sure what I'm doing though) and\r\n \r\n    #include \"libtexpdf/libtexpdf.h\"\r\n\r\nto libtexpdf/agl.c. By doing so I can successfully compile but I need to build justenoughharfbuzz.so and justenoughlibtexpdf.so manually. Now I have SILE working on Windows but I am stil looking for the way to build SILE on Windows easily. Any advice?\r\n"},"comment":{"url":"https://api.github.com/repos/simoncozens/sile/issues/comments/104983375","html_url":"https://github.com/simoncozens/sile/issues/82#issuecomment-104983375","issue_url":"https://api.github.com/repos/simoncozens/sile/issues/82","id":104983375,"user":{"login":"simoncozens","id":106728,"avatar_url":"https://avatars.githubusercontent.com/u/106728?v=3","gravatar_id":"","url":"https://api.github.com/users/simoncozens","html_url":"https://github.com/simoncozens","followers_url":"https://api.github.com/users/simoncozens/followers","following_url":"https://api.github.com/users/simoncozens/following{/other_user}","gists_url":"https://api.github.com/users/simoncozens/gists{/gist_id}","starred_url":"https://api.github.com/users/simoncozens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simoncozens/subscriptions","organizations_url":"https://api.github.com/users/simoncozens/orgs","repos_url":"https://api.github.com/users/simoncozens/repos","events_url":"https://api.github.com/users/simoncozens/events{/privacy}","received_events_url":"https://api.github.com/users/simoncozens/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T06:10:15Z","updated_at":"2015-05-24T06:10:15Z","body":"Hello! Great to hear that you have it working; getting SILE working (and packaged) on Windows is an important goal. I want to see this happen as easily as possible, but I don't have much experience with mingw32 myself. I have just downloaded MXE (http://mxe.cc/) and have been playing with it. This contains packages for harfbuzz, fontconfig, etc. and so should help to get these statically built.\r\n\r\nI have committed a patch to `libtexpdf` to make building on mingw32 work better. Do you remember what you needed to do to get `justenoughharfbuzz.so` and `justenoughlibtexpdf.so` built?\r\n\r\nI am also looking into using luabuild (https://github.com/stevedonovan/luabuild) to package up SILE into a Windows executable. We'll use this bug to track progress, and then hopefully make a Wiki page when we know how to do it properly."}}