{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/754","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/754/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/754/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/754/events","html_url":"https://github.com/commercialhaskell/stack/issues/754","id":100256662,"number":754,"title":"Stack build: Windows 7 stdc++.dll missing","user":{"login":"themoritz","id":3522732,"avatar_url":"https://avatars.githubusercontent.com/u/3522732?v=3","gravatar_id":"","url":"https://api.github.com/users/themoritz","html_url":"https://github.com/themoritz","followers_url":"https://api.github.com/users/themoritz/followers","following_url":"https://api.github.com/users/themoritz/following{/other_user}","gists_url":"https://api.github.com/users/themoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/themoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themoritz/subscriptions","organizations_url":"https://api.github.com/users/themoritz/orgs","repos_url":"https://api.github.com/users/themoritz/repos","events_url":"https://api.github.com/users/themoritz/events{/privacy}","received_events_url":"https://api.github.com/users/themoritz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1","html_url":"https://github.com/commercialhaskell/stack/milestones/Later%20improvements","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/1/labels","id":1111900,"number":1,"title":"Later improvements","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":26,"state":"open","created_at":"2015-05-15T10:03:10Z","updated_at":"2015-08-11T09:14:06Z","due_on":"2016-01-31T08:00:00Z","closed_at":null},"comments":3,"created_at":"2015-08-11T08:26:06Z","updated_at":"2015-08-11T09:19:30Z","closed_at":null,"body":"Apparently, stdc++.dll is missing.\r\n\r\nStack build gives the following error message on Windows 7:\r\n\r\n\tPS C:\\Users\\Moritz\\Desktop\\metrix\\core> ..\\stack.exe build\r\n\tcore-0.1.0.0: build\r\n\tBuilding core-0.1.0.0...\r\n\tPreprocessing executable 'core-server' for core-0.1.0.0...\r\n\t[ 2 of 28] Compiling DPM.Model        ( src\\DPM\\Model.hs, .stack-work\\dist\\i386-windows\\Cabal-1.22.4.0\\build\\core-server\\core-server-tmp\\DPM\\Model.o )\r\n\t<command line>: can't load .so/.DLL for: stdc++.dll (addDLL: could not load DLL)\r\n\tghc.exe: stdc++: The specified module could not be found.\r\n\r\n\t--  While building package core-0.1.0.0 using:\r\n\t\t  C:\\\\Users\\\\Moritz\\\\AppData\\\\Local\\\\Programs\\\\stack\\\\i386-windows\\\\ghc-7.10.2\\\\bin\\\\runhaskell.exe -package=Cabal-1.22.4.0 -clear-package-db -global-package-db -package-db=C:\\Users\\Moritz\\AppData\\Roaming\\stack\\snapshots\\i386-windows\\ni\r\n\tghtly-2015-06-17\\7.10.2\\pkgdb\\ C:\\Users\\Moritz\\AppData\\Local\\Temp\\stack2096\\Setup.hs --builddir=.stack-work\\dist\\i386-windows\\Cabal-1.22.4.0\\ build\r\n\t\tProcess exited with code: ExitFailure 1\r\n\r\nHere are the imports of the DPM.Model module:\r\n\r\n    module DPM.Model where\r\n\r\n    import           Data.Text           (Text)\r\n    import           Database.Persist.TH (mkPersist, persistUpperCase,\r\n                                          share, sqlSettings)\r\n    import Data.Int (Int64)\r\n    import Data.Time (UTCTime)"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/129786271","html_url":"https://github.com/commercialhaskell/stack/issues/754#issuecomment-129786271","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/754","id":129786271,"user":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T09:19:30Z","updated_at":"2015-08-11T09:19:30Z","body":"`stack dot --external` may be of some use there :)"}}