Giter VIP home page Giter VIP logo

libjpeg-turbo-builder's People

Contributors

dhoerl avatar dhoerl18 avatar pcuenca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libjpeg-turbo-builder's Issues

_jpeg_mem_src undefined symbol

Hi there,

I have compiled and tried to replace the libjpeg I was using in project. I had the following problem,

Undefined symbols for architecture armv7:
"_jpeg_mem_src", referenced from:
_Jpeg2Raw in ViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can you suggest something?

I can't build it by using Xcode46-DP1

Dear dhoerl,

Thank you for build this project. I'm not familiar with build scripting. This is very useful for me.
Since libjpeg-turbo already has the iOS binary library, it seems enough for me.

However, I have the problem of using official release lib.
It seems official lib can't support 5/8 scaling factor while decoding.

When I look at the source code on svn , it shows more support for scaling factor.

It seems unmached for svn source and official lib.
That's why I need to use your project to build.

But, I encounter problem while building it. Here's my log.
Could you share me some tips ? or share me the lib binary from svn code ?
Binary lib is easier for me. Thank you.

I found Error validating server certificate for 'https://libjpeg-turbo.svn.sourceforge.net:443':
So, I manually check out and copy & paste to the project.

But the script still failed in

/Users/ethan/Documents/ProjectX/PhotoPrint/libjpeg/libjpeg-turbo-builder-master/gas-preprocessor/gas-preprocessor.pl
DOING ARCH armv7
make: *** No rule to make target `clean'. Stop.
Configure armv7
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: error: C compiler cannot create executables

Here's the full log. Thank you very much!

Hello World
Error validating server certificate for 'https://libjpeg-turbo.svn.sourceforge.net:443':

  • The certificate is not issued by a trusted authority. Use the
    fingerprint to validate the certificate manually!
    Certificate information:

  • Hostname: *.svn.sourceforge.net

  • Valid: from Sat, 25 Feb 2012 23:58:41 GMT until Sun, 31 Mar 2013 19:51:44 GMT

  • Issuer: GeoTrust, Inc., US

  • Fingerprint: 0b:11:76:de:db:4c:74:72:cb:01:49:7d:13:70:c2:f1:13:7b:cb:bf
    (R)eject, accept (t)emporarily or accept (p)ermanently? svn: OPTIONS of 'https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo/tags/1.2.0': Server certificate verification failed: issuer is not trusted (https://libjpeg-turbo.svn.sourceforge.net)
    autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: glibtoolize --copy --force autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory.'
    whence
    /Users/ethan/Documents/ProjectX/PhotoPrint/libjpeg/libjpeg-turbo-builder-master/gas-preprocessor/gas-preprocessor.pl
    DOING ARCH armv7
    make: *** No rule to make target clean'. Stop. Configure armv7 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: error: C compiler cannot create executables Seeconfig.log' for more details.
    Config failed!

    I called funciton
    DLLEXPORT tjscalingfactor* DLLCALL tjGetScalingFactors(int *numscalingfactors);

    but I only get 1/1,1/2,1/4,1/8

define NUMSF 16

static const tjscalingfactor sf[NUMSF]={

{2, 1},

{15, 8},

{7, 4},

{13, 8},

{3, 2},

{11, 8},

{5, 4},

{9, 8},

{1, 1},

{7, 8},

{3, 4},

{5, 8},

{1, 2},

{3, 8},

{1, 4},

{1, 8}

};

iOS 9 and Bitcode

Hi dhoerl,

What's your solution for iOS 9 and the bitcode for app thinning?

Cheers
Philippe

various failures

Hi,

I got problems trying to use the Xcode project with Xcode 4.6-DP2:

1- The file "config.log" is missing (it shows in red in the Xcode project). Since it is used in the "Copy Bundle Resources" phase, the build phase and the script never gets a chance to run. I removed that missing file from that phase to try to proceed

2- The Run Script phase tries to run "scriptRunner", which fails with File Not Found, because the actual name of the script is "ScriptRunner" (with a capital "S"). I fixed it in the Run Script phase pane.

3- Script failure to "make clean":

+ make clean
+ 1> /dev/null
make: *** No rule to make target `clean'.  Stop.

However, the script doesn't stop, so maybe this is OK

4- Script failure to "configure"

+ echo 'Configure armv7'
Configure armv7
+ ./configure --host arm-apple-darwin --with-gas-preprocessor --enable-static --disable-shared CC=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 LD=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 CFLAGS='-mfloat-abi=softfp -isysroot /Applications/Xcode46-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -O3 -march=armv7 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon' LDFLAGS='-mfloat-abi=softfp -isysroot /Applications/Xcode46-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -march=armv7 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon'
+ 1>> ../Log.configure
./ScriptRunner: line 128: ./configure: not found
+ [ 127 '!=' 0 ]
+ echo 'Config failed!'
Config failed!
+ exit 1

And here the script fails.

Please note that my intent was to try and build an armv7s slice for libjpeg-turbo. The current "official" 1.2.80 build only contains an armv7 slice.

Even if I manage to fix the issues reported above, I am not sure I can manage to generate a bona fide armv7s slice. Any help welcome.

Sample?

Good day! Is there an example of using this library (Would you give it)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.