OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [contrib/] [jpeg/] [README.txt] - Diff between revs 27 and 174

Only display areas with differences | Details | Blame | View Log

Rev 27 Rev 174
To enable jpeg support in nanogui:
To enable jpeg support in nanogui:
- Download libjpeg source tarball at http://www.ijg.org
- Download libjpeg source tarball at http://www.ijg.org
- Untar the tarball with tar -zxf 
- Untar the tarball with tar -zxf 
In the jpeg directory, setup your compilation environment.
In the jpeg directory, setup your compilation environment.
Here are the typical steps for linux:
Here are the typical steps for linux:
- cp jconfig.doc jconfig.h
- cp jconfig.doc jconfig.h
- cp makefile.ansi Makefile
- cp makefile.ansi Makefile
- Open the Makefile and delete the jconfig.h: target
- Open the Makefile and delete the jconfig.h: target
- Don't forget to setup the right cc tools if you cross-compile!
- Don't forget to setup the right cc tools if you cross-compile!
- type 'make'
- type 'make'
In the config file:
In the config file:
- Enable the HAVE_JPEG_SUPPORT definition
- Enable the HAVE_JPEG_SUPPORT definition
- set the INCJPEG to the jpeg directory
- set the INCJPEG to the jpeg directory
- set the LIBJPEG to the jpeg directory
- set the LIBJPEG to the jpeg directory
- compile the project
- compile the project
See demo3 if you want to see an example demo.
See demo3 if you want to see an example demo.
Martin Jolcoeur
Martin Jolcoeur
martinj@visuaide.com
martinj@visuaide.com
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.