{"action":"created","issue":{"url":"https://api.github.com/repos/vulkano-rs/vulkano/issues/1010","repository_url":"https://api.github.com/repos/vulkano-rs/vulkano","labels_url":"https://api.github.com/repos/vulkano-rs/vulkano/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/vulkano-rs/vulkano/issues/1010/comments","events_url":"https://api.github.com/repos/vulkano-rs/vulkano/issues/1010/events","html_url":"https://github.com/vulkano-rs/vulkano/issues/1010","id":348017909,"node_id":"MDU6SXNzdWUzNDgwMTc5MDk=","number":1010,"title":"cargo build errors out with a `ld framework not found MoltenVK error` on macOS","user":{"login":"GoWind","id":1331774,"node_id":"MDQ6VXNlcjEzMzE3NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1331774?v=4","gravatar_id":"","url":"https://api.github.com/users/GoWind","html_url":"https://github.com/GoWind","followers_url":"https://api.github.com/users/GoWind/followers","following_url":"https://api.github.com/users/GoWind/following{/other_user}","gists_url":"https://api.github.com/users/GoWind/gists{/gist_id}","starred_url":"https://api.github.com/users/GoWind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoWind/subscriptions","organizations_url":"https://api.github.com/users/GoWind/orgs","repos_url":"https://api.github.com/users/GoWind/repos","events_url":"https://api.github.com/users/GoWind/events{/privacy}","received_events_url":"https://api.github.com/users/GoWind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-06T17:38:09Z","updated_at":"2018-08-08T08:40:29Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nI am trying out vulkano on macOS and was trying to write a basic application with it. I get the following error when I do a `cargo build` as follows:\r\n````\r\nerror: linking with `cc` failed: exit code: 1\r\n  |\r\n  = note: \"cc\" \"-m64\" \"-L\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.13r400thsaf6fpc8.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.16u6js6g0l3k1ic6.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.181cuta0v63atwcm.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.1im38lueib99jsk0.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.1sp1d0a8eh6jtk91.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.1u6mxbnlimtx2dbg.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.1y16o1qfye96o7m0.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.23tqyymcb18u96mb.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.2lyh15q6cjwzy18c.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.3ayaeypdcro9d6yk.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.3bkx8pwsuur38ete.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.3rngp6bm2u2q5z0y.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.3td2a2e4baj2eqf7.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.436dotimmrgzkwfa.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.43v6g0y2xsxoggnt.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.44bsbddupzfao2om.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.4oc10dk278mpk1vy.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.4xq48u46a1pwiqn7.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.4yh8x2b62dcih00t.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.4ypvbwho0bu5tnww.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.5gf6du7k58s78kob.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.8xzrsc1ux72v29j.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.98g0d9x8aw3akpe.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.9elsx31vb4it187.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.c6lbtaiefvx3wya.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.oa3rad818d8sgn4.rcgu.o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.y08g5q2x813c4wx.rcgu.o\" \"-o\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa\" \"/Users/govind/code/cyclone/target/debug/deps/cyclone-3e255b3d33465afa.crate.allocator.rcgu.o\" \"-Wl,-dead_strip\" \"-nodefaultlibs\" \"-L\" \"/Users/govind/code/cyclone/target/debug/deps\" \"-F\" \"/Library/Frameworks/\" \"-L\" \"/Users/govind/code/cyclone/target/debug/build/objc_exception-b29658aee044387f/out\" \"-L\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib\" \"/Users/govind/code/cyclone/target/debug/deps/libvulkano_win-54d7037afb1008c0.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libmetal_rs-8c959776052bece1.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libobjc_foundation-0b49b337ccddb580.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libobjc_id-ce50bfa471619347.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcocoa-1cef29e4278b89f8.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_graphics-4fb5c9513e821f07.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_foundation-d263f71b9d1e4f2f.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_foundation_sys-14ed5235675a92aa.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libwinit-4f3fb0f86614954f.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcocoa-492c273a08d2265e.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_graphics-bbd08e4cdb625253.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_foundation-f8d94d0a1240e128.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_foundation_sys-020d4e171d1e11f8.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libwinit-02f4bfc24988ed31.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcocoa-fcd2a7edca52223c.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_graphics-9ef289116b0d7ee6.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libforeign_types-7d3617630446afe2.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libforeign_types_shared-afe824b0a0361a6b.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_foundation-cf23ab1775a5ecdf.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcore_foundation_sys-02de24a23a82078a.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libbitflags-257ccdbd8cad3fa1.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libblock-b984de8e1e12cb94.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libobjc-5a4c5be9f29b36cd.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libmalloc_buf-7bd767caeafe4137.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/liblog-3f15bad7594c00ba.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcfg_if-c1f7a49aad694577.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libvulkano-104beeab8b75b241.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libhalf-bcc1bf8424aa310d.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libvk_sys-dfe5756c866664be.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libsmallvec-76ef0cb4aafd0b9e.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libunreachable-8fc15734ae51a72a.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libvoid-a13a48d25c2efa5b.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libshared_library-b8f927fd5c98da4c.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/liblibc-2835228ca6034b3a.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/liblazy_static-abb6f9e2a434f574.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libfnv-329a4049aa1c905e.rlib\" \"/Users/govind/code/cyclone/target/debug/deps/libcrossbeam-35167df5e1a792cc.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-8a3965f7ed752bd1.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-9b05e42b34a19289.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-f7f209bc2cba337d.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-1c0b6a5036dbcb5a.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-56d587971fd74a35.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-cbb270c2b42eeee5.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-76b645845a3f029a.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-81094cca99b7c1f6.rlib\" \"/Users/govind/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-84aa38861ba7253b.rlib\" \"-framework\" \"Metal\" \"-l\" \"System\" \"-framework\" \"Foundation\" \"-framework\" \"AppKit\" \"-framework\" \"AppKit\" \"-framework\" \"Foundation\" \"-framework\" \"Foundation\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreFoundation\" \"-framework\" \"AppKit\" \"-framework\" \"AppKit\" \"-framework\" \"Foundation\" \"-framework\" \"Foundation\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreFoundation\" \"-framework\" \"AppKit\" \"-framework\" \"AppKit\" \"-framework\" \"Foundation\" \"-framework\" \"Foundation\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreGraphics\" \"-framework\" \"CoreFoundation\" \"-l\" \"System\" \"-l\" \"objc\" \"-l\" \"c++\" \"-framework\" \"MoltenVK\" \"-framework\" \"IOKit\" \"-framework\" \"IOSurface\" \"-framework\" \"QuartzCore\" \"-framework\" \"Metal\" \"-framework\" \"Foundation\" \"-l\" \"System\" \"-l\" \"resolv\" \"-l\" \"pthread\" \"-l\" \"c\" \"-l\" \"m\"\r\n  = note: ld: framework not found MoltenVK\r\n          clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n````\r\nAs per issue #928 , this has been fixed and vulkano no longer relies on MoltenVK directly. I copied the libvulkan.1.dylib into my `/usr/local/lib` too but to no avail.  This is my dependencies section in my `Cargo.toml`\r\n\r\n````\r\n[dependencies]\r\nvulkano = \"0.9.0\"\r\nvulkano-shader-derive = \"0.9.0\"\r\nvulkano-win = \"0.9.0\"\r\nwinit = \"0.16.0\"\r\n````\r\nIs there something I am missing or is this an issue ? can you please help me sort this out ? "},"comment":{"url":"https://api.github.com/repos/vulkano-rs/vulkano/issues/comments/411332066","html_url":"https://github.com/vulkano-rs/vulkano/issues/1010#issuecomment-411332066","issue_url":"https://api.github.com/repos/vulkano-rs/vulkano/issues/1010","id":411332066,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTMzMjA2Ng==","user":{"login":"GoWind","id":1331774,"node_id":"MDQ6VXNlcjEzMzE3NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1331774?v=4","gravatar_id":"","url":"https://api.github.com/users/GoWind","html_url":"https://github.com/GoWind","followers_url":"https://api.github.com/users/GoWind/followers","following_url":"https://api.github.com/users/GoWind/following{/other_user}","gists_url":"https://api.github.com/users/GoWind/gists{/gist_id}","starred_url":"https://api.github.com/users/GoWind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoWind/subscriptions","organizations_url":"https://api.github.com/users/GoWind/orgs","repos_url":"https://api.github.com/users/GoWind/repos","events_url":"https://api.github.com/users/GoWind/events{/privacy}","received_events_url":"https://api.github.com/users/GoWind/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T08:40:29Z","updated_at":"2018-08-08T08:40:29Z","author_association":"NONE","body":"I found the reason for the second error: The dynamic_state variables type was changed from a pass by value to a reference only 4 days ago https://github.com/vulkano-rs/vulkano/commit/b0832072fc1b9a41f18078734ab0d0a6eda35b8c, but version 0.9.0 was release in March. I am suspecting that the code in the  published crates version  `0.9.0`  are quite far behind master, hence these issues. "}}
{"actor":{"display_login":"GoWind"}}