{"action":"created","issue":{"url":"https://api.github.com/repos/symengine/symengine.rb/issues/5","labels_url":"https://api.github.com/repos/symengine/symengine.rb/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/symengine/symengine.rb/issues/5/comments","events_url":"https://api.github.com/repos/symengine/symengine.rb/issues/5/events","html_url":"https://github.com/symengine/symengine.rb/pull/5","id":111417884,"number":5,"title":"Add Windows Support","user":{"login":"isuruf","id":5234427,"avatar_url":"https://avatars.githubusercontent.com/u/5234427?v=3","gravatar_id":"","url":"https://api.github.com/users/isuruf","html_url":"https://github.com/isuruf","followers_url":"https://api.github.com/users/isuruf/followers","following_url":"https://api.github.com/users/isuruf/following{/other_user}","gists_url":"https://api.github.com/users/isuruf/gists{/gist_id}","starred_url":"https://api.github.com/users/isuruf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuruf/subscriptions","organizations_url":"https://api.github.com/users/isuruf/orgs","repos_url":"https://api.github.com/users/isuruf/repos","events_url":"https://api.github.com/users/isuruf/events{/privacy}","received_events_url":"https://api.github.com/users/isuruf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-14T15:02:24Z","updated_at":"2015-10-16T16:49:01Z","closed_at":"2015-10-16T16:49:01Z","pull_request":{"url":"https://api.github.com/repos/symengine/symengine.rb/pulls/5","html_url":"https://github.com/symengine/symengine.rb/pull/5","diff_url":"https://github.com/symengine/symengine.rb/pull/5.diff","patch_url":"https://github.com/symengine/symengine.rb/pull/5.patch"},"body":"I'm using cmake to generate the Makefile in `extconf.rb` and let `DevKit` handle the rest.\r\n\r\nBuilding the C extension goes fine, but using it causes errors.\r\n\r\nCMake produces `lib\\symengine\\symengine.dll` and `lib\\symengine\\symengine.dll.a`. \r\nIt is imported by `lib\\symengine.rb` as `require 'symengine/symengine'\r\nI get this error. \r\n\r\n```\r\nC:/Users/dell/projects/symengine.rb/lib/symengine.rb:1:in `require': cannot load\r\n such file -- symengine/symengine (LoadError)\r\n        from C:/Users/dell/projects/symengine.rb/lib/symengine.rb:1:in `<top (re\r\nquired)>'\r\n        from C:/Users/dell/projects/symengine.rb/spec/spec_helper.rb:16:in `requ\r\nire_relative'\r\n        from C:/Users/dell/projects/symengine.rb/spec/spec_helper.rb:16:in `<top\r\n (required)>'\r\n```\r\n\r\nIf I change the extension name from `.dll` to `.so` I get a different error.\r\n```\r\nC:/Users/dell/projects/symengine.rb/lib/symengine.rb:1:in `require': 126: The sp\r\necified module could not be found.   - C:/Users/dell/projects/symengine.rb/lib/s\r\nymengine/symengine.so (LoadError)\r\n        from C:/Users/dell/projects/symengine.rb/lib/symengine.rb:1:in `<top (re\r\nquired)>'\r\n        from C:/Users/dell/projects/symengine.rb/spec/spec_helper.rb:16:in `requ\r\nire_relative'\r\n        from C:/Users/dell/projects/symengine.rb/spec/spec_helper.rb:16:in `<top\r\n (required)>'\r\n```\r\n\r\n@mohawkjohn @agarie @abinashmeher999\r\n "},"comment":{"url":"https://api.github.com/repos/symengine/symengine.rb/issues/comments/148765952","html_url":"https://github.com/symengine/symengine.rb/pull/5#issuecomment-148765952","issue_url":"https://api.github.com/repos/symengine/symengine.rb/issues/5","id":148765952,"user":{"login":"isuruf","id":5234427,"avatar_url":"https://avatars.githubusercontent.com/u/5234427?v=3","gravatar_id":"","url":"https://api.github.com/users/isuruf","html_url":"https://github.com/isuruf","followers_url":"https://api.github.com/users/isuruf/followers","following_url":"https://api.github.com/users/isuruf/following{/other_user}","gists_url":"https://api.github.com/users/isuruf/gists{/gist_id}","starred_url":"https://api.github.com/users/isuruf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuruf/subscriptions","organizations_url":"https://api.github.com/users/isuruf/orgs","repos_url":"https://api.github.com/users/isuruf/repos","events_url":"https://api.github.com/users/isuruf/events{/privacy}","received_events_url":"https://api.github.com/users/isuruf/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T16:49:01Z","updated_at":"2015-10-16T16:49:01Z","body":"Appveyor tests pass in my fork. Closing this to create a new PR with appveyor build."}}