Skiasharp: Mac build does not work

Created on 4 Jul 2016  路  18Comments  路  Source: mono/SkiaSharp

Hi!
I admittedly am new to Mac OS, but I setup a build environment for SkiaSharp and I get a quite meaningless exception when running
sudo ./bootstrapper.sh -t externals-android

the relevant trace part is

[33/755] CC obj/third_party/externals/libwebp/src/dsp/libwebp_dsp.upsampling.o
ninja: build stopped: subcommand failed.
Executing: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/android_ninja -d arm_v7_neon skia_lib pdf sfntly icuuc
GYP_GENERATORS is "ninja-android"
Updating projects from gyp files...
ninja: Entering directory /Users/xammac/SkiaSharp/skia/out/config/android-arm_v7_neon/Release' [349/1002] CXX obj/src/c/xamarin/core.sk_x_path.o FAILED: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/../toolchains/arm-r10e-14/bin/arm-linux-androideabi-g++ -MMD -MF obj/src/c/xamarin/core.sk_x_path.o.d -DSK_INTERNAL -DSK_GAMMA_APPLY_TO_A8 -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0 -DSK_SUPPORT_GPU=1 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_ARM_HAS_NEON -DSK_BUILD_FOR_ANDROID -DSK_GAMMA_EXPONENT=1.4 -DSK_GAMMA_CONTRAST=0.0 -DSKIA_DLL -DSKIA_IMPLEMENTATION=1 -DSK_SUPPORT_LEGACY_CLIPTOLAYERFLAG -DNDEBUG -I../../../../include/c -I../../../../include/config -I../../../../include/core -I../../../../include/pathops -I../../../../include/ports -I../../../../include/private -I../../../../include/utils -I../../../../include/images -I../../../../src/core -I../../../../src/sfnt -I../../../../src/image -I../../../../src/opts -I../../../../src/utils -I../../../../include/gpu -I../../../../src/gpu -I../../../../platform_tools/android/third_party/cpufeatures -fPIC -g -fno-exceptions -fstrict-aliasing -Wall -Wextra -Winit-self -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Werror -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=softfp -fuse-ld=gold -O2 -std=c++11 -fno-rtti -fno-threadsafe-statics -Wnon-virtual-dtor -c ../../../../src/c/xamarin/sk_x_path.cpp -o obj/src/c/xamarin/core.sk_x_path.o ../../../../src/c/xamarin/sk_x_path.cpp:94:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare] static_assert (SkPath::kMove_Verb == MOVE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:95:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare] static_assert (SkPath::kLine_Verb == LINE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:96:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare] static_assert (SkPath::kQuad_Verb == QUAD_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:97:39: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare] static_assert (SkPath::kConic_Verb == CONIC_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:98:39: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare] static_assert (SkPath::kCubic_Verb == CUBIC_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:99:39: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare] static_assert (SkPath::kClose_Verb == CLOSE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:100:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare] static_assert (SkPath::kDone_Verb == DONE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:127:47: error: comparison between 'enum SkPath::AddPathMode' and 'enum sk_path_add_mode_t' [-Werror=enum-compare] static_assert (SkPath::kAppend_AddPathMode == APPEND_ADD_MODE, "ABI changed, you must write a enumeration mapper for SkPath::AddPathMode to sk_path_add_mode_t"); ^ ../../../../src/c/xamarin/sk_x_path.cpp:128:47: error: comparison between 'enum SkPath::AddPathMode' and 'enum sk_path_add_mode_t' [-Werror=enum-compare] static_assert (SkPath::kExtend_AddPathMode == EXTEND_ADD_MODE, "ABI changed, you must write a enumeration mapper for SkPath::AddPathMode to sk_path_add_mode_t"); ^ cc1plus: all warnings being treated as errors [349/1002] CXX obj/third_party/externals/sfntly/sfntly/table/truetype/sfntly.glyph_table.o ninja: build stopped: subcommand failed. Executing: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/android_ninja -d arm64 skia_lib pdf sfntly icuuc GYP_GENERATORS is "ninja-android" Updating projects from gyp files... ninja: Entering directory/Users/xammac/SkiaSharp/skia/out/config/android-arm64/Release'
[20/647] CXX obj/src/c/xamarin/core.sk_x_path.o
FAILED: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/../toolchains/arm64-r10e-21/bin/aarch64-linux-android-g++ -MMD -MF obj/src/c/xamarin/core.sk_x_path.o.d -DSK_INTERNAL -DSK_GAMMA_APPLY_TO_A8 -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0 -DSK_SUPPORT_GPU=1 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_BUILD_FOR_ANDROID -DSK_GAMMA_EXPONENT=1.4 -DSK_GAMMA_CONTRAST=0.0 -DSKIA_DLL -DSKIA_IMPLEMENTATION=1 -DSK_SUPPORT_LEGACY_CLIPTOLAYERFLAG -DNDEBUG -I../../../../include/c -I../../../../include/config -I../../../../include/core -I../../../../include/pathops -I../../../../include/ports -I../../../../include/private -I../../../../include/utils -I../../../../include/images -I../../../../src/core -I../../../../src/sfnt -I../../../../src/image -I../../../../src/opts -I../../../../src/utils -I../../../../include/gpu -I../../../../src/gpu -I../../../../platform_tools/android/third_party/cpufeatures -fPIC -g -fno-exceptions -fstrict-aliasing -Wall -Wextra -Winit-self -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Werror -fuse-ld=gold -O2 -std=c++11 -fno-rtti -fno-threadsafe-statics -Wnon-virtual-dtor -c ../../../../src/c/xamarin/sk_x_path.cpp -o obj/src/c/xamarin/core.sk_x_path.o
../../../../src/c/xamarin/sk_x_path.cpp:94:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kMove_Verb == MOVE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:95:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kLine_Verb == LINE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:96:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kQuad_Verb == QUAD_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:97:39: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kConic_Verb == CONIC_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:98:39: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kCubic_Verb == CUBIC_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:99:39: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kClose_Verb == CLOSE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:100:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kDone_Verb == DONE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:127:47: error: comparison between 'enum SkPath::AddPathMode' and 'enum sk_path_add_mode_t' [-Werror=enum-compare]
static_assert (SkPath::kAppend_AddPathMode == APPEND_ADD_MODE, "ABI changed, you must write a enumeration mapper for SkPath::AddPathMode to sk_path_add_mode_t");
^
../../../../src/c/xamarin/sk_x_path.cpp:128:47: error: comparison between 'enum SkPath::AddPathMode' and 'enum sk_path_add_mode_t' [-Werror=enum-compare]
static_assert (SkPath::kExtend_AddPathMode == EXTEND_ADD_MODE, "ABI changed, you must write a enumeration mapper for SkPath::AddPathMode to sk_path_add_mode_t");
^
cc1plus: all warnings being treated as errors
[20/647] CXX obj/src/core/core.SkAAClip.o
ninja: build stopped: subcommand failed.
Executing: /Users/xammac/Library/Developer/Xamarin/android-ndk/ndk-build
An error occured when executing task 'externals-android'.
Error: System.ComponentModel.Win32Exception: ApplicationName='/Users/xammac/Library/Developer/Xamarin/android-ndk/ndk-build', CommandLine='', CurrentDirectory='/Users/xammac/SkiaSharp/native-builds/libSkiaSharp_android', Native error= Cannot find the specified file
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) <0x39cf1e8 + 0x0055f> in :0

any advice would be greatly appreciated

Most helpful comment

2 gentledepp

native-builds/libSkiaSharp_android/jni/SkiaSharp.mk

At line 35 try to remove -Werror switch

All 18 comments

by looking a bit into it as no-one is answering, the only real problem seems to be

../../../../src/c/xamarin/sk_x_path.cpp -o obj/src/c/xamarin/core.sk_x_path.o
../../../../src/c/xamarin/sk_x_path.cpp:94:38: error: comparison between 'enum SkPath::Verb' and 'enum sk_path_verb_t' [-Werror=enum-compare]
static_assert (SkPath::kMove_Verb == MOVE_PATH_VERB, "ABI changed, you must write a enumeration mapper for SkPath::Verb to sk_path_verb_t");

But I neither know how to fix it, nor where...

2 gentledepp

skia/src/c/xamarin/sk_x_path.cpp

Simply comment out lines from 93 to 101 (there are nothing extra important - just assertions)

Thank you @hypeartist, but unfortunately this only yields other similar errors.
I guess this is because the build runs with the option "treat warnings as errors"

I would much rather run the build without "warnings as errors" instead of modifying skia code...
Can you give me a hint how I could to that?

2 gentledepp

native-builds/libSkiaSharp_android/jni/SkiaSharp.mk

At line 35 try to remove -Werror switch

Thank you so much! I tried it and it did not work either.
So I switched back to your first proposal *commenting out the static asserts
and in the same file,

skia/src/c/xamarin/sk_x_path.cpp
commented out the lines 127... 130 like so

`
//#if __cplusplus >= 199711L
//static_assert (SkPath::kAppend_AddPathMode == APPEND_ADD_MODE, "ABI changed, you must write a enumeration mapper for SkPath::AddPathMode to sk_path_add_mode_t");
//static_assert (SkPath::kExtend_AddPathMode == EXTEND_ADD_MODE, "ABI changed, you must write a enumeration mapper for SkPath::AddPathMode to sk_path_add_mode_t");
//#endif

not the build seems to work

Thank you so much!

Oh man... there is still a problem, whereby a different one.

Executing: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/android_ninja -d x86 skia_lib pdf sfntly icuuc
GYP_GENERATORS is "ninja-android"
Updating projects from gyp files...
ninja: Entering directory /Users/xammac/SkiaSharp/skia/out/config/android-x86/Release' [3/3] SOLINK lib/libskia_android.so Executing: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/android_ninja -d x86_64 skia_lib pdf sfntly icuuc GYP_GENERATORS is "ninja-android" Updating projects from gyp files... ninja: Entering directory/Users/xammac/SkiaSharp/skia/out/config/android-x86_64/Release'
[3/3] SOLINK lib/libskia_android.so
Executing: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/android_ninja -d arm skia_lib pdf sfntly icuuc
GYP_GENERATORS is "ninja-android"
Updating projects from gyp files...
ninja: Entering directory /Users/xammac/SkiaSharp/skia/out/config/android-arm/Release' [3/3] SOLINK lib/libskia_android.so Executing: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/android_ninja -d arm_v7_neon skia_lib pdf sfntly icuuc GYP_GENERATORS is "ninja-android" Updating projects from gyp files... ninja: Entering directory/Users/xammac/SkiaSharp/skia/out/config/android-arm_v7_neon/Release'
[3/3] SOLINK lib/libskia_android.so
Executing: /Users/xammac/SkiaSharp/skia/platform_tools/android/bin/android_ninja -d arm64 skia_lib pdf sfntly icuuc
GYP_GENERATORS is "ninja-android"
Updating projects from gyp files...
ninja: Entering directory `/Users/xammac/SkiaSharp/skia/out/config/android-arm64/Release'
[3/3] SOLINK lib/libskia_android.so
Executing: /Users/xammac/Library/Developer/Xamarin/android-ndk/ndk-build
An error occured when executing task 'externals-android'.
Error: System.ComponentModel.Win32Exception: ApplicationName='/Users/xammac/Library/Developer/Xamarin/android-ndk/ndk-build', CommandLine='', CurrentDirectory='/Users/xammac/SkiaSharp/native-builds/libSkiaSharp_android', Native error= Cannot find the specified file
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) <0x39af1e8 + 0x0055f> in :0

so during the libsSkiaSharp_android ndk-build, it cannot find some ?? file, but does not tell me which one.
I guess it misses some SDK?
I installed
xamarin, python 2.7.x, Xcode and git
am I missing something?

2 gentledepp

Take a look:

externals-android

I guess you mean
https://github.com/mono/SkiaSharp/blob/master/build.cake
;-)

2 gentledepp

yep!

seems I was missing ninja build system.... veeeeery interesting stuff.... never heard of it

now I ran the skia build first - as the "libs" folder mentioned in the build.cake of SkiaSharp does not exist on my system.

But the command

ninja -C out/Debug dm
out/Debug/dm

yields another 2 errors....
I'm fed up. Thank you for helping me out, but this is too tedious for me to continue. I guess SkiaSharp is still pretty Alpha-ish :-|

I pushed a fix that should address the static_assert errors.

2 gentledepp

I'm fed up. Thank you for helping me out, but this is too tedious for me to continue.

Totally agreed! Tried to build it on Windows with no success. That incredible building system (with all those cakes, cmakes, ninjas, pythons and pwershells mixed up in some voodoo way) just blew my head off.

well... interestingly it worked out-of-the box on my windows machine :dancer:

I am closing this as the fix/commit seems to have removed all the kinks. It builds fine for me with m49/m52 as well as locally and on CI

hmmm... so what am I doing wrong here?

=== BUILD TARGET libSkiaSharp OF PROJECT libSkiaSharp WITH CONFIGURATION Release ===

Check dependencies

Ld build/Release/libSkiaSharp.dylib normal i386
cd /Users/xammac/SkiaSharp/native-builds/libSkiaSharp_osx
export MACOSX_DEPLOYMENT_TARGET=10.10
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/xammac/SkiaSharp/native-builds/libSkiaSharp_osx/build/Release -F/Users/xammac/SkiaSharp/native-builds/libSkiaSharp_osx/build/Release -filelist /Users/xammac/SkiaSharp/native-builds/libSkiaSharp_osx/build/libSkiaSharp.build/Release/libSkiaSharp.build/Objects-normal/i386/libSkiaSharp.LinkFileList -install_name /usr/local/lib/libSkiaSharp.dylib -mmacosx-version-min=10.10 -stdlib=libc++ /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libgiflib.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libpng_static.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_codec_android.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_codec.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_pdf.a -lz /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libicuuc.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libsfntly.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libwebp_dec.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libwebp_demux.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libwebp_dsp_enc.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libwebp_dsp.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libwebp_enc.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libwebp_utils.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libjpeg-turbo.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libetc1.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_utils.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libSkKTX.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_ports.a -lc++ /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_opts_ssse3.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_sfnt.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_skgpu.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_core.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_effects.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_images.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_opts_avx.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_opts_sse41.a /Users/xammac/SkiaSharp/skia/xcodebuild/Release/libskia_opts.a -framework CoreGraphics -framework CoreText -framework CoreServices -framework ImageIO -framework CoreFoundation -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/xammac/SkiaSharp/native-builds/libSkiaSharp_osx/build/libSkiaSharp.build/Release/libSkiaSharp.build/Objects-normal/i386/libSkiaSharp_dependency_info.dat -o /Users/xammac/SkiaSharp/native-builds/libSkiaSharp_osx/build/Release/libSkiaSharp.dylib
Undefined symbols for architecture i386:
"_jconst_fancy_upsample_sse2", referenced from:
_jsimd_can_h2v2_fancy_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
_jsimd_can_h2v1_fancy_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_fdct_float_sse", referenced from:
_jsimd_can_fdct_float in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_fdct_ifast_sse2", referenced from:
_jsimd_can_fdct_ifast in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_fdct_islow_sse2", referenced from:
_jsimd_can_fdct_islow in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_idct_float_sse2", referenced from:
_jsimd_can_idct_float in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_idct_ifast_sse2", referenced from:
_jsimd_can_idct_ifast in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_idct_islow_sse2", referenced from:
_jsimd_can_idct_islow in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_idct_red_sse2", referenced from:
_jsimd_can_idct_2x2 in libjpeg-turbo.a(jsimd_x86_64.o)
_jsimd_can_idct_4x4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_merged_upsample_sse2", referenced from:
_jsimd_can_h2v2_merged_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
_jsimd_can_h2v1_merged_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_rgb_gray_convert_sse2", referenced from:
_jsimd_can_rgb_gray in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_rgb_ycc_convert_sse2", referenced from:
_jsimd_can_rgb_ycc in libjpeg-turbo.a(jsimd_x86_64.o)
"_jconst_ycc_rgb_convert_sse2", referenced from:
_jsimd_can_ycc_rgb in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_convsamp_float_sse2", referenced from:
_jsimd_convsamp_float in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_convsamp_sse2", referenced from:
_jsimd_convsamp in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extbgr_gray_convert_sse2", referenced from:
l_switch.table.1 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extbgr_ycc_convert_sse2", referenced from:
l_switch.table in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extbgrx_gray_convert_sse2", referenced from:
l_switch.table.1 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extbgrx_ycc_convert_sse2", referenced from:
l_switch.table in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extrgb_gray_convert_sse2", referenced from:
l_switch.table.1 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extrgb_ycc_convert_sse2", referenced from:
l_switch.table in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extrgbx_gray_convert_sse2", referenced from:
l_switch.table.1 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extrgbx_ycc_convert_sse2", referenced from:
l_switch.table in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extxbgr_gray_convert_sse2", referenced from:
l_switch.table.1 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extxbgr_ycc_convert_sse2", referenced from:
l_switch.table in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extxrgb_gray_convert_sse2", referenced from:
l_switch.table.1 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_extxrgb_ycc_convert_sse2", referenced from:
l_switch.table in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_fdct_float_sse", referenced from:
_jsimd_fdct_float in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_fdct_ifast_sse2", referenced from:
_jsimd_fdct_ifast in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_fdct_islow_sse2", referenced from:
_jsimd_fdct_islow in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_downsample_sse2", referenced from:
_jsimd_h2v1_downsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_extbgr_merged_upsample_sse2", referenced from:
l_switch.table.4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_extbgrx_merged_upsample_sse2", referenced from:
l_switch.table.4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_extrgb_merged_upsample_sse2", referenced from:
l_switch.table.4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_extrgbx_merged_upsample_sse2", referenced from:
l_switch.table.4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_extxbgr_merged_upsample_sse2", referenced from:
l_switch.table.4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_extxrgb_merged_upsample_sse2", referenced from:
l_switch.table.4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_fancy_upsample_sse2", referenced from:
_jsimd_h2v1_fancy_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_merged_upsample_sse2", referenced from:
_jsimd_h2v1_merged_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v1_upsample_sse2", referenced from:
_jsimd_h2v1_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_downsample_sse2", referenced from:
_jsimd_h2v2_downsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_extbgr_merged_upsample_sse2", referenced from:
l_switch.table.3 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_extbgrx_merged_upsample_sse2", referenced from:
l_switch.table.3 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_extrgb_merged_upsample_sse2", referenced from:
l_switch.table.3 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_extrgbx_merged_upsample_sse2", referenced from:
l_switch.table.3 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_extxbgr_merged_upsample_sse2", referenced from:
l_switch.table.3 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_extxrgb_merged_upsample_sse2", referenced from:
l_switch.table.3 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_fancy_upsample_sse2", referenced from:
_jsimd_h2v2_fancy_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_merged_upsample_sse2", referenced from:
_jsimd_h2v2_merged_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_h2v2_upsample_sse2", referenced from:
_jsimd_h2v2_upsample in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_idct_2x2_sse2", referenced from:
_jsimd_idct_2x2 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_idct_4x4_sse2", referenced from:
_jsimd_idct_4x4 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_idct_float_sse2", referenced from:
_jsimd_idct_float in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_idct_ifast_sse2", referenced from:
_jsimd_idct_ifast in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_idct_islow_sse2", referenced from:
_jsimd_idct_islow in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_quantize_float_sse2", referenced from:
_jsimd_quantize_float in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_quantize_sse2", referenced from:
_jsimd_quantize in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_rgb_gray_convert_sse2", referenced from:
_jsimd_rgb_gray_convert in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_rgb_ycc_convert_sse2", referenced from:
_jsimd_rgb_ycc_convert in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_ycc_extbgr_convert_sse2", referenced from:
l_switch.table.2 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_ycc_extbgrx_convert_sse2", referenced from:
l_switch.table.2 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_ycc_extrgb_convert_sse2", referenced from:
l_switch.table.2 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_ycc_extrgbx_convert_sse2", referenced from:
l_switch.table.2 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_ycc_extxbgr_convert_sse2", referenced from:
l_switch.table.2 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_ycc_extxrgb_convert_sse2", referenced from:
l_switch.table.2 in libjpeg-turbo.a(jsimd_x86_64.o)
"_jsimd_ycc_rgb_convert_sse2", referenced from:
_jsimd_ycc_rgb_convert in libjpeg-turbo.a(jsimd_x86_64.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

* BUILD FAILED *

The following build commands failed:
Ld build/Release/libSkiaSharp.dylib normal i386
(1 failure)
An error occured when executing task 'externals-osx'.
Error: Cake.Core.CakeException: xcodebuild: Process returned an error (exit code 65).
at Cake.Core.Utilities.Tool1[TSettings].Run (Cake.Core.Utilities.TSettings settings, Cake.Core.IO.ProcessArgumentBuilder arguments, Cake.Core.IO.FilePath toolPath, Cake.Core.IO.ProcessSettings processSettings, System.Action1 postAction) <0x39bd460 + 0x00183> in :0
at Cake.Core.Utilities.Tool`1[TSettings].Run (Cake.Core.Utilities.TSettings settings, Cake.Core.IO.ProcessArgumentBuilder arguments, Cake.Core.IO.FilePath toolPath) <0x39bd418 + 0x00037> in :0
at Cake.XCode.XCodeBuildRunner.Build (Cake.XCode.XCodeBuildSettings settings) <0x39bc9c8 + 0x009fb> in :0
at Cake.XCode.XCodeAliases.XCodeBuild (ICakeContext context, Cake.XCode.XCodeBuildSettings settings) <0x39bc5f8 + 0x000a3> in :0
at CakeBuildScriptImpl.XCodeBuild (Cake.XCode.XCodeBuildSettings settings) <0x39bc5c0 + 0x00023> in :0
at CakeBuildScriptImpl+c__AnonStorey0.<>m__2B (System.String arch, System.String skiaArch) <0x39bc068 + 0x0015b> in :0
at CakeBuildScriptImpl+c__AnonStorey0.<>m__19 () <0x39bbb08 + 0x000b3> in :0
at Cake.Core.CakeTaskBuilderExtensions+<>c__DisplayClass4.b__3 (ICakeContext context) <0x39ad2f8 + 0x00014> in :0
at Cake.Core.ActionTask.Execute (ICakeContext context) <0x39ad240 + 0x00059> in :0
at Cake.Core.DefaultExecutionStrategy.Execute (Cake.Core.CakeTask task, ICakeContext context) <0x39ad078 + 0x00162> in :0
at Cake.Core.CakeEngine.ExecuteTask (ICakeContext context, IExecutionStrategy strategy, System.Diagnostics.Stopwatch stopWatch, Cake.Core.CakeTask task, Cake.Core.CakeReport report) <0x39aca80 + 0x00099> in :0

Also, where is your CI?
Is there any way to crab the nuget packages that are created in your CI? Please?

I seem to be just too dumb to get the build to work on mac.
I would greatly appreciate, if someone could supply me with a nuget build of the current master branch. Maybe as "alpha version"?
I really need this to continue developing my SVG editor/renderer based on Skia... :-|

Never mind - I got it to work! (I am such a n00b so thank you for hanging in with me)

Was this page helpful?
0 / 5 - 0 ratings