{"action":"created","issue":{"url":"https://api.github.com/repos/carlosvin/cpp_gradle/issues/4","repository_url":"https://api.github.com/repos/carlosvin/cpp_gradle","labels_url":"https://api.github.com/repos/carlosvin/cpp_gradle/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/carlosvin/cpp_gradle/issues/4/comments","events_url":"https://api.github.com/repos/carlosvin/cpp_gradle/issues/4/events","html_url":"https://github.com/carlosvin/cpp_gradle/issues/4","id":120421046,"number":4,"title":"Head scratcher - where's the .lib?","user":{"login":"dlaio","id":6024917,"avatar_url":"https://avatars.githubusercontent.com/u/6024917?v=3","gravatar_id":"","url":"https://api.github.com/users/dlaio","html_url":"https://github.com/dlaio","followers_url":"https://api.github.com/users/dlaio/followers","following_url":"https://api.github.com/users/dlaio/following{/other_user}","gists_url":"https://api.github.com/users/dlaio/gists{/gist_id}","starred_url":"https://api.github.com/users/dlaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlaio/subscriptions","organizations_url":"https://api.github.com/users/dlaio/orgs","repos_url":"https://api.github.com/users/dlaio/repos","events_url":"https://api.github.com/users/dlaio/events{/privacy}","received_events_url":"https://api.github.com/users/dlaio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T15:15:28Z","updated_at":"2016-05-16T13:58:21Z","closed_at":null,"body":"The windows build doesnt end up outputting a .lib file in the /build/binaries/helloSharedLibrary/<config><flavor> directory, so the executable isnt able to link to it (therefore fails).\r\n\r\nThe library is in the static folder, copying it to the shared directory will make it work, but I dont think that is the intent.  Oddly, the samples in the gradle release produce a .lib file in the shared folder, and as far as I can tell, the gradle.build file is the same.\r\n\r\nAny ideas what is going on?  Why isnt there a .lib file in the shared folder for this project?  Just trying to wrap my head around what the gradle native plugin is doing.  My first thought is that the link step should actually be looking for the .lib in the \"static\" folder, not the shared folder, but I dont know enough about the domain to know if this is a bug."},"comment":{"url":"https://api.github.com/repos/carlosvin/cpp_gradle/issues/comments/219431451","html_url":"https://github.com/carlosvin/cpp_gradle/issues/4#issuecomment-219431451","issue_url":"https://api.github.com/repos/carlosvin/cpp_gradle/issues/4","id":219431451,"user":{"login":"carlosvin","id":463859,"avatar_url":"https://avatars.githubusercontent.com/u/463859?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosvin","html_url":"https://github.com/carlosvin","followers_url":"https://api.github.com/users/carlosvin/followers","following_url":"https://api.github.com/users/carlosvin/following{/other_user}","gists_url":"https://api.github.com/users/carlosvin/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosvin/subscriptions","organizations_url":"https://api.github.com/users/carlosvin/orgs","repos_url":"https://api.github.com/users/carlosvin/repos","events_url":"https://api.github.com/users/carlosvin/events{/privacy}","received_events_url":"https://api.github.com/users/carlosvin/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T13:58:21Z","updated_at":"2016-05-16T13:58:21Z","body":"@Araeos thanks for the reply, I can't test it. \r\n\r\n@dlaio , can you please test the solution proposed by @Araeos? If it is OK, can you please close the issue?  "}}