breeze-emu
breeze-emu copied to clipboard
Build failed: core-graphics
Log output:
Compiling core-graphics v0.3.2
error: type `color_space::__CGColorSpace` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/context.rs:86:26
|
86 | let result = CGBitmapContextCreate(ptr::null_mut(),
| ^^^^^^^^^^^^^^^^^^^^^
error: type `color_space::__CGColorSpace` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/context.rs:91:48
|
91 | space.as_concrete_TypeRef(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: type `color_space::__CGColorSpace` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/context.rs:149:37
|
149 | space: CGColorSpaceRef,
| ^^^^^^^^^^^^^^^
error: type `data_provider::__CGDataProvider` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/font.rs:106:28
|
106 | let font_ref = CGFontCreateWithDataProvider(provider.as_concrete_TypeRef());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: type `data_provider::__CGDataProvider` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/font.rs:106:57
|
106 | let font_ref = CGFontCreateWithDataProvider(provider.as_concrete_TypeRef());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: type `data_provider::__CGDataProvider` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/font.rs:137:47
|
137 | fn CGFontCreateWithDataProvider(provider: CGDataProviderRef) -> CGFontRef;
| ^^^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:19:13
|
19 | region: ffi::CGSRegionRef,
| ^^^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:25:13
|
25 | ffi::CGSRegionRelease(self.region)
| ^^^^^^^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:25:35
|
25 | ffi::CGSRegionRelease(self.region)
| ^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:34:30
|
34 | let mut region = ptr::null_mut();
| ^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:35:21
|
35 | assert!(ffi::CGSNewRegionWithRect(rect, &mut region) == 0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:35:53
|
35 | assert!(ffi::CGSNewRegionWithRect(rect, &mut region) == 0);
| ^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:37:25
|
37 | region: region,
| ^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:45:30
|
45 | let mut region = ptr::null_mut();
| ^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:46:21
|
46 | assert!(ffi::CGSNewRegionWithRectList(rects.as_ptr(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:48:51
|
48 | &mut region) == 0);
| ^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:50:25
|
50 | region: region,
| ^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:81:21
|
81 | assert!(ffi::CGSSetSurfaceShape(self.context_id,
| ^^^^^^^^^^^^^^^^^^^^^^^
error: type `private::ffi::CGSRegionObject` is private
--> /Users/sphinxc0re/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:84:45
|
84 | region.region) == 0)
| ^^^^^^^^^^^^^
error: aborting due to 19 previous errors
error: Could not compile `core-graphics`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `breeze v0.1.0 (https://github.com/jonas-schievink/breeze-emu#a36eab54)`, intermediate artifacts can be found at `/var/folders/jq/nxyv0gkd15xc0v63d1gl0nb80000gn/T/cargo-install3gZMOP`
Caused by:
build failed
OS: macOS Rust: stable (1.27.2)
core-graphics 0.3.2 is ancient, the current version is 0.16.0. You can try running cargo update
(the lock file is pretty old), update the code to use a newer version of glium (which pulls in core-graphics) or use SDL instead of glium by doing cargo build --release --no-default-features --features sdl
.
Note that I've never tested this on macOS, but theoretically it should work.