Problems building for 32bits

10 views
Skip to first unread message

Luis Daniel Lucio Quiroz

unread,
Sep 29, 2015, 8:56:41 PM9/29/15
to discuss-libyuv
Hello

I am doing
export GYP_DEFINES="OS=ios target_arch=ia32"
export GYP_CROSSCOMPILE=1
export LIBYUV_DISABLE_SSE2=1
export LIBYUV_DISABLE_SSSE3=1
export LIBYUV_DISABLE_SSE41=1
export LIBYUV_DISABLE_SSE42=1
export LIBYUV_DISABLE_AVX=1
export LIBYUV_DISABLE_AVX2=1
export LIBYUV_DISABLE_ERMS=1
export LIBYUV_DISABLE_FMA3=1
export LIBYUV_DISABLE_X86=1


but I got always
Linking CXX executable convert
libyuv.so:

RPM build errors:
 undefined reference to `ScaleRowDown2_SSE2'
libyuv.so: undefined reference to `ScaleRowDown2Box_SSE2'
libyuv.so: undefined reference to `ScaleARGBRowDownEven_SSE2'
libyuv.so: undefined reference to `ScaleRowDown38_2_Box_SSSE3'
libyuv.so: undefined reference to `ScaleRowDown38_3_Box_SSSE3'
libyuv.so: undefined reference to `ScaleARGBRowDown2Box_SSE2'
libyuv.so: undefined reference to `ScaleRowDown34_1_Box_SSSE3'
libyuv.so: undefined reference to `ScaleRowDown34_SSSE3'
libyuv.so: undefined reference to `ScaleARGBRowDownEvenBox_SSE2'
libyuv.so: undefined reference to `ScaleRowDown2Linear_SSE2'
libyuv.so: undefined reference to `ScaleARGBRowDown2_SSE2'
libyuv.so: undefined reference to `ScaleRowDown38_SSSE3'
libyuv.so: undefined reference to `ScaleRowDown4_SSE2'
libyuv.so: undefined reference to `ScaleARGBRowDown2Linear_SSE2'
libyuv.so: undefined reference to `ScaleRowDown34_0_Box_SSSE3'
libyuv.so: undefined reference to `ScaleRowDown4Box_SSE2'
collect2: ld returned 1 exit status


is it a way to make this to work?

Frank Barchard

unread,
Sep 29, 2015, 9:09:12 PM9/29/15
to discuss-libyuv
LIBYUV_DISABLE_ etc affect runtime, not build time, so they dont apply here.

See Getting Started for ios simulator builds


 GYP_DEFINES="OS=ios target_arch=ia32 target_subarch=arm32" GYP_CROSSCOMPILE=1 GYP_GENERATOR_FLAGS="output_dir=out_sim" ./gyp_libyuv -f ninja --depth=. libyuv_test.gyp 
 ninja -j7 -C out_sim/Debug-iphonesimulator libyuv_unittest
 ninja -j7 -C out_sim/Release-iphonesimulator libyuv_unittest

--
You received this message because you are subscribed to the Google Groups "discuss-libyuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-libyu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages