dunkelstern / libturbojpeg-ios Goto Github PK
View Code? Open in Web Editor NEWXcode project files and build script to create an universal (armv7, armv7s, i386) ios static library of libturbojpeg (no configure hassle anymore!)
Xcode project files and build script to create an universal (armv7, armv7s, i386) ios static library of libturbojpeg (no configure hassle anymore!)
Hello,
I'm getting the following error when compiling the simulator version:
/usr/bin/nasm -fmacho -DMACHO -DPIC -I. -I"build/" -o "build/jdcolss2.o" "jdcolss2.asm"
jdclrss2.asm:303: error: mismatch in operand sizes
jdclrss2.asm:312: error: mismatch in operand sizes
jdclrss2.asm:303: error: mismatch in operand sizes
jdclrss2.asm:312: error: mismatch in operand sizes
jdclrss2.asm:414: error: mismatch in operand sizes
jdclrss2.asm:423: error: mismatch in operand sizes
jdclrss2.asm:303: error: mismatch in operand sizes
jdclrss2.asm:312: error: mismatch in operand sizes
jdclrss2.asm:414: error: mismatch in operand sizes
jdclrss2.asm:423: error: mismatch in operand sizes
jdclrss2.asm:414: error: mismatch in operand sizes
jdclrss2.asm:423: error: mismatch in operand sizes
jdclrss2.asm:414: error: mismatch in operand sizes
jdclrss2.asm:423: error: mismatch in operand sizes
make: *** [jdcolss2.o] Error 1
Any idea what seems to be the problem?
Thanks for doing this, I found it helpful. I was able to compile fine for arm, but cannot do so for the simulator. I get an error about jsimdcpu. I was wondering if you might know the solution off hand.
Full output:
rm -rf "build"
mkdir -p "build"
xcrun cpp -I"../../libjpeg" jsimdcfg.inc.h | egrep "^[;%]|^\ %" | sed 's%cpp_protection%%' | sed 's@% define@%define@g' >"build/jsimdcfg.inc"
/usr/local/bin/nasm -fmacho -DMACHO -DPIC -I. -I"build/" -o "build/jsimdcpu.o" "jsimdcpu.asm"
/bin/sh: /usr/local/bin/nasm: No such file or directory
make: *** [jsimdcpu.o] Error 127
cp: libturbojpeg-ios/libturbojpeg/simd-i386/build/libsimd-i386.a: No such file or directory
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution "Run Script" build/libjpeg-turbo-simulator.build/Debug-iphonesimulator/simd-i386.build/Script-420375E416469FCE00899EA2.sh
(1 failure)
Error Log is:
NASM version 2.11.05 compiled on Jul 25 2014
llvm-gcc -m32 -march=i386 -I".." -I"../.." -I"../../libjpeg" -c "jsimd_i386.c" -o "build/jsimd_i386.o"
/bin/sh: llvm-gcc: command not found
make: *** [jsimd_i386] Error 127
cp: /Users/cheng/Desktop/libturbojpeg-ios-6c9bb43269606a89facd99c14078092496cbb39a/libturbojpeg/simd-i386/build/libsimd-i386.a: No such file or directory
I have tried to change llvm-gcc as "xcrun -sdk iphoneos clang -m32โฆ..", i am not familiar with this new environment, so please help me to learn how to make it work on iPhone simulator.
By the way, will you have plane to merge libjpeg-turbo 1.3.1 into this project? i hope you have make a schedule about it.
Thanks a lot!!
Hi
Could you please add arm64 support..?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.