Official repository of the OpenJPEG project
Go to file
Mathieu Malaterre 34e592341c Fix case 2010-08-11 08:47:21 +00:00
CMake Fix case 2010-08-11 08:47:21 +00:00
JavaOpenJPEG JavaOpenJpegDecoder.c : fixed a signed/unsigned behaviour when returning form C to JAVA 2009-08-31 13:18:20 +00:00
OPJViewer Minor style modifications to comply with c99 compiler flag; removed Microsoft-specific "union-in-struct" syntax; Re-enabled cstr_info struct creation when -W switch is specified. Changed a number of things in opjviewer (e.g., decoding thread does not execute GUI calls anymore), to have it running under linux --> it is better than before, but still crashes 2008-02-11 14:43:11 +00:00
OPJ_Validate Fixed small compatibility issues with win32 in codec (moved include <strings.h>) 2010-03-07 21:27:37 +00:00
codec Need to include png/tiff include path 2010-07-01 17:33:51 +00:00
doc ENH: Add CMake/doxygen output 2007-09-06 15:10:15 +00:00
indexer_JPIP Code improvements using 'g++-4.4.0' to trace the code (v1.4). Thanks to Winfried for this patch. 2010-03-24 11:20:45 +00:00
jp3d [v1.4] Fixed pi.c bug (issue 15 on google code). Thanks to Anton Lionel for catching this. 2010-04-08 18:43:03 +00:00
jpwl Minor style modifications to comply with c99 compiler flag; removed Microsoft-specific "union-in-struct" syntax; Re-enabled cstr_info struct creation when -W switch is specified. Changed a number of things in opjviewer (e.g., decoding thread does not execute GUI calls anymore), to have it running under linux --> it is better than before, but still crashes 2008-02-11 14:43:11 +00:00
libopenjpeg Synchronize branch and trunk cmakelists files 2010-06-29 19:08:58 +00:00
libs/libtiff Lighter version of libtiff uploaded (without JPEG support). 2007-07-19 15:04:39 +00:00
mj2 Fixed MJ2 codec bugs (issues 23-24 on google code). Thanks to Winfried for these patches. 2010-04-08 17:50:05 +00:00
openjpeg.xcodeproj MACOSX : Added a "build all" target to the XCode project file. 2010-05-26 08:25:06 +00:00
CMakeLists.txt Change CMakeLists.txt to build examples by default (image_to_j2k and j2k_to_image). 2010-07-02 12:44:22 +00:00
CTestConfig.cmake ENH: Cleaning up the file comments. Setting the build time to 3am UTC. 2010-05-26 23:07:59 +00:00
CTestCustom.cmake.in ENH: Added custom configuration for CTest. This allows to fine tune 2010-05-26 23:44:07 +00:00
ChangeLog Also dump the image info as well as cp info. 2010-06-22 14:03:52 +00:00
DllOpenJPEG.dsp SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
DllOpenJPEG.sln Added support for Visual Studio 2005 2007-08-21 10:17:35 +00:00
DllOpenJPEG.vcproj Added support for Visual Studio 2005 2007-08-21 10:17:35 +00:00
LibOpenJPEG.dsp Patch suggested by Callum Lerwick <seg@haxxed.com>: "This patch makes the t1 LUTs static. I actually intend this as a prelude to possibly eliminating some or all of the LUTs entirely." 2007-05-21 09:44:10 +00:00
LibOpenJPEG.dsw SVN file properties modified (EOL handled better) 2006-12-04 16:25:52 +00:00
LibOpenJPEG.sln Added support for Visual Studio 2005 2007-08-21 10:17:35 +00:00
LibOpenJPEG.vcproj Patch from Callum Lewick. Memset patch. See ChangeLog for more details. Thanks Callum ! 2007-10-18 12:26:11 +00:00
Makefile Update README and Makefiles to promote cmake. Fix the README.cmake file. 2010-07-07 13:00:39 +00:00
Makefile.osx Update README and Makefiles to promote cmake. Fix the README.cmake file. 2010-07-07 13:00:39 +00:00
OpenJPEG.rc ENH: CMake: start compiling index_create. OpenJPEG.rc update copyright year 2007-09-06 14:46:24 +00:00
README.cmake Update README and Makefiles to promote cmake. Fix the README.cmake file. 2010-07-07 13:00:39 +00:00
README.linux Update README and Makefiles to promote cmake. Fix the README.cmake file. 2010-07-07 13:00:39 +00:00
README.msvc minor change : project replaced by workspace 2006-02-02 13:15:21 +00:00
README.osx Update README and Makefiles to promote cmake. Fix the README.cmake file. 2010-07-07 13:00:39 +00:00
clean.bat fixed various minor warnings occuring under icc9 and bcc32, added MSVC project and compiler directives to build a 'standard' WIN32 DLL 2006-01-31 21:26:11 +00:00
license.txt ENH: fix svn properties 2008-10-01 16:01:23 +00:00

README.osx

# **************************************************
# NOTE : This README is obsolete. We strongly
# recommend using the cmake tool (see README.cmake)
# to build openJPEG.
# **************************************************


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
/usr/include and /usr/lib directories.
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 either use the provided Makefile or use one of the following commands to build an encoder and decoder respectively:

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

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