[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Toolchain + Directfb: JPEG support is missing
02-25-2009, 10:35 AM (This post was last modified: 02-25-2009 11:18 AM by FrEEzEr.)
Post: #1
Bug Toolchain + Directfb: JPEG support is missing
Hello NMT programmers Smile

I really want to start programming for the NMT using C and directfb, but I just can't get past the process of installing the toolchain and compiling directfb apps Sad (properly because of my inexperience with unix).

What did I do to make it running:
  1. Installed Ubuntu
  2. Downloaded the toolchain from lundman (linux version)
  3. Installed the jpeglib-dev and freetype2-dev package
  4. Followed these steps: http://lundman.net/wiki/index.php/NMT:directfb
  5. Tried the same steps but instead of Ubuntu I used Suse


I just keep getting the error "JPEG support is missing - many applications won't work correctly!".

Apparently when I do "./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc --enable-x11=no --enable-png=no --with-gfxdrivers=none --build=i386 " it can't find the JPEG library, but it IS installed!

In this thread someone had the same problem and he knows how to fix it. Sadly he didn't respond to my Private Message.

Anyone here willing to help me?

Thank you!
Find all posts by this user
02-25-2009, 12:59 PM
Post: #2
RE: Toolchain + Directfb: JPEG support is missing
OK, first off, keep in mind that I don't know what I'm talking about because I haven't tried this at all. Though I have done some cross-compilation work before.

It sounds to me like you're saying you installed the jpeg and freetype packages from Ubuntu. If so, I think that's your problem. It sets up development packages for the toolchain for you *computer* only. You need to download the source for those packages and manually set them up for your Sigma toolchain.
Find all posts by this user
02-25-2009, 01:25 PM
Post: #3
RE: Toolchain + Directfb: JPEG support is missing
Curien, you are right. FrEEzEr you have to get the DEV versions of each lib package and compile these with your NMT toolchain to get the libs needed.

I guess you will not bee the first to compile these libs. Maybe we should find a common place to store all NMT libs?

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
02-25-2009, 01:35 PM
Post: #4
RE: Toolchain + Directfb: JPEG support is missing
Perhaps Ger Teunis' Community Software Installer?
Why not have a dev section with libraries, dev tools and utilities?

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
02-26-2009, 11:26 AM (This post was last modified: 02-26-2009 11:27 AM by FrEEzEr.)
Post: #5
RE: Toolchain + Directfb: JPEG support is missing
Thank you all for your input!

I tried compiling libjpeg for the toolchain but I'm getting nowhere Sad

What I have done:
  • Downloaded the libjpeg source package
  • sudo ./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc --build=i386
  • make
  • make install
  • Tried running DirectFB ./configure and still the same error
  • sudo ./configure --target=mipsel-linux-uclibc --prefix=/usr/local/mips/mipsel-linux-uclibc --host=mipsel-linux-uclibc --build=i386
  • make
  • make install
  • Tried running DirectFB ./configure again and still the same error

So I thought maybe the compiling of the JPEG went ok but I need to point DirectFB to the right lib folder so I tried these commands:
  • ./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc --enable-x11=no --enable-png=no --with-gfxdrivers=none --build=i386 --bindir=/usr/local/mips/mipsel-linux-uclibc/bin/
  • ./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc --enable-x11=no --enable-png=no --with-gfxdrivers=none --build=i386 --libdir=/usr/local/lib
  • ./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc --enable-x11=no --enable-png=no --with-gfxdrivers=none --build=i386 --libdir=/usr/local/mips/lib

All with the same outcome.... "JPEG support is missing - many applications won't work correctly!"

Can someone please explain to me how to do it?
Find all posts by this user
03-01-2009, 11:27 AM
Post: #6
RE: Toolchain + Directfb: JPEG support is missing
Finally I figures it out! Big Grin

Steps I did to make it working:
  • Download libjpeg sources, extract and go to dir in terminal
  • sudo ./configure --target=mipsel-linux-uclibc --prefix=/usr/local/mips/mipsel-linux-uclibc --host=mipsel-linux-uclibc --build=i386
  • sudo mkdir /usr/local/mips/mipsel-linux-uclibc/include
  • sudo make
  • sudo make install-lib

Now I can finally start coding some NMT apps Smile
Find all posts by this user
[+] 1 user says Thank You to FrEEzEr for this post
03-02-2009, 08:26 PM
Post: #7
RE: Toolchain + Directfb: JPEG support is missing
Great you finally got it working!

PCH-A100 (beta fw) + PCH-C200
Streaming from ReadyNas (llink and nfs)
Sony 40-x3500 TV
Visit this user's website Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Support thread for HeartWare's PopCorn MKV Chapter Maker HeartWare 72 44,877 01-01-2012 10:10 AM
Last Post: halfelite
  apple tv 2 / itunes support fiksah 2 1,417 11-16-2011 12:31 PM
Last Post: fiksah
  web server manifest support harrykausl 0 1,197 07-20-2011 09:35 AM
Last Post: harrykausl
  PchUploader missing dinauktion 2 1,480 11-13-2010 11:24 PM
Last Post: websmile
  A-110 missing NMT Applications zzaj 1 2,071 11-06-2010 03:02 PM
Last Post: dc11ab
  Compiling with nmt toolchain ssuukk 18 4,692 09-26-2010 06:09 AM
Last Post: ssuukk
  A110 Toolchain versions thica 44 9,319 08-13-2010 07:52 PM
Last Post: avanegmond
  gaya / directfb / video memory thica 5 3,361 04-20-2010 07:28 AM
Last Post: thica
  The missing link TheZone1 0 966 03-11-2010 09:52 AM
Last Post: TheZone1
  RAR support in gaya / mono / YAMJ x0r 1 1,998 03-09-2010 01:19 AM
Last Post: lundman

Forum Jump: