{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/windows-builds/issues/101","repository_url":"https://api.github.com/repos/mapbox/windows-builds","labels_url":"https://api.github.com/repos/mapbox/windows-builds/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/windows-builds/issues/101/comments","events_url":"https://api.github.com/repos/mapbox/windows-builds/issues/101/events","html_url":"https://github.com/mapbox/windows-builds/issues/101","id":191676330,"number":101,"title":"Mapnik with MFC","user":{"login":"TFreudi1","id":4739177,"avatar_url":"https://avatars.githubusercontent.com/u/4739177?v=3","gravatar_id":"","url":"https://api.github.com/users/TFreudi1","html_url":"https://github.com/TFreudi1","followers_url":"https://api.github.com/users/TFreudi1/followers","following_url":"https://api.github.com/users/TFreudi1/following{/other_user}","gists_url":"https://api.github.com/users/TFreudi1/gists{/gist_id}","starred_url":"https://api.github.com/users/TFreudi1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TFreudi1/subscriptions","organizations_url":"https://api.github.com/users/TFreudi1/orgs","repos_url":"https://api.github.com/users/TFreudi1/repos","events_url":"https://api.github.com/users/TFreudi1/events{/privacy}","received_events_url":"https://api.github.com/users/TFreudi1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-25T10:58:58Z","updated_at":"2016-11-28T13:09:52Z","closed_at":null,"body":"I build mapnik with vc2015 from source and the console rundemo.cpp runs fine, but than I try to put the code in a simple windows-mfc-app it compiles fine but when it comes to the line\r\nMap m(800, 800); the object m has only width,height intialized the other members of m are not initialized, in den console app rundemo.cpp this different.\r\nIn the next program line after the declaration of m, no matter what commands follow, the App crashes with \"bad allocation\". Looks like the constructor of Map have a problem but I did'nt see anything wrong in trace window, he loads all DLL's fine like the console app.\r\n\r\nThomas"},"comment":{"url":"https://api.github.com/repos/mapbox/windows-builds/issues/comments/263267271","html_url":"https://github.com/mapbox/windows-builds/issues/101#issuecomment-263267271","issue_url":"https://api.github.com/repos/mapbox/windows-builds/issues/101","id":263267271,"user":{"login":"BergWerkGIS","id":4549888,"avatar_url":"https://avatars.githubusercontent.com/u/4549888?v=3","gravatar_id":"","url":"https://api.github.com/users/BergWerkGIS","html_url":"https://github.com/BergWerkGIS","followers_url":"https://api.github.com/users/BergWerkGIS/followers","following_url":"https://api.github.com/users/BergWerkGIS/following{/other_user}","gists_url":"https://api.github.com/users/BergWerkGIS/gists{/gist_id}","starred_url":"https://api.github.com/users/BergWerkGIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BergWerkGIS/subscriptions","organizations_url":"https://api.github.com/users/BergWerkGIS/orgs","repos_url":"https://api.github.com/users/BergWerkGIS/repos","events_url":"https://api.github.com/users/BergWerkGIS/events{/privacy}","received_events_url":"https://api.github.com/users/BergWerkGIS/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T13:09:52Z","updated_at":"2016-11-28T13:09:52Z","body":"@TFreudi1 you cannot mix `Debug` and `Release` DLLs/programs.\r\n\r\nIf you built `mapnik` with `windows-builds` you created `Release` DLLs - we deactivated `Debug` builds a while ago because they crashed Visual Studio.\r\n\r\nSo your MFC program has to be `Release` too."}}
{"actor":{"display_login":"BergWerkGIS"}}