Official repository of the OpenJPEG project
Go to file
Antonin Descampe 72de930d08 fixed two initialization problems in t1.c and tcd.c 2006-01-27 16:29:41 +00:00
CVSROOT BUG: Try to fix the shell script 2006-01-25 15:54:10 +00:00
codec fixed various minor warnings occuring under gcc, added corrections proposed in the forum 2006-01-26 20:02:04 +00:00
doc OpenJPEG version 1.1 2005-12-08 09:38:47 +00:00
indexer_JPIP USAGE-statement updated 2004-07-16 10:39:06 +00:00
j2kviewer Initial revision 2004-02-17 16:33:43 +00:00
jpwl Initial revision 2005-11-08 17:40:33 +00:00
libopenjpeg fixed two initialization problems in t1.c and tcd.c 2006-01-27 16:29:41 +00:00
mj2 Variables in Movie and Track structure initialized to avoid problems when freeing memory. 2005-05-23 09:48:44 +00:00
CMakeLists.txt STYLE: Add a lot of comments for the CMake build system 2006-01-25 16:32:48 +00:00
ChangeLog fixed two initialization problems in t1.c and tcd.c 2006-01-27 16:29:41 +00:00
DartConfig.cmake ENH: Sync with ITK and add ref to doxygen 2006-01-25 18:45:49 +00:00
LibOpenJPEG.dsp OpenJPEG version 1.1 2005-12-08 09:38:47 +00:00
LibOpenJPEG.dsw OpenJPEG version 1.1 2005-12-08 09:38:47 +00:00
Makefile makefiles and readme updated 2005-12-21 14:54:37 +00:00
Makefile.osx makefiles and readme updated 2005-12-21 14:54:37 +00:00
README.linux makefiles and readme updated 2005-12-21 14:54:37 +00:00
README.osx makefiles and readme updated 2005-12-21 14:54:37 +00:00
clean.bat OpenJPEG version 1.1 2005-12-08 09:38:47 +00:00

README.osx

Release Notes
--------------
This version of the library has been tested under OSX 10.3 using gcc 3.3.

While the makefiles will make a .dylib and a .a, it is recommended to simply staticly link with the .a file.

Installation
------------
Note: You will need to have root privileges in order to install the library in the /usr/lib directory.
The installation process is as simple as this : 
1) Enter the OpenJPEG directory
2) Build the distribution : 
make osx
make osxinstall
3) Clean all files produced during the build process
make osxclean

Simple codec compilation
------------------------
Once you've built the library, you might want to test it with a basic codec. To do this, go to the codec directory and use one of the following commands to build an encoder and decoder respectively:

gcc convert.c image_to_j2k.c -o image_to_j2k -lopenjpeg -I ../libopenjpeg/ -lm
gcc convert.c j2k_to_image.c -o j2k_to_image -lopenjpeg -I ../libopenjpeg/ -lm

You should add '-L..' to those lines if you did not use the 'osxinstall' target (and the 'osxclean' target neither...).