MACOSX : Fixed the XCode project file to link with the PNG library. Library and header should be located in /usr/local/lib/ and /usr/local/include/, respectively. Check http://ethan.tira-thompson.org/Mac_OS_X_Ports.html if it is not the case on your mac.

This commit is contained in:
Antonin Descampe 2010-04-16 17:14:29 +00:00
parent fdf04af271
commit b96b24ce8c
2 changed files with 19 additions and 4 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
April 16, 2010
* [antonin] MACOSX : Fixed the XCode project file to link with the PNG library. Library and header should be located in /usr/local/lib/ and /usr/local/include/, respectively. Check http://ethan.tira-thompson.org/Mac_OS_X_Ports.html if it is not the case on your mac.
April 8, 2010
* [FOD] Fixed issue 6 on google code. Variable "pi" not freed or pointed-to in function "pi_create_encode". Thanks to Kent Mein for reporting this.
* [FOD] Fixed problem with Borland C++ Builder (Borland C do not have lrintf). Thanks Marek Mauder for this fix.

View File

@ -793,7 +793,10 @@
HEADER_SEARCH_PATHS = ./libopenjpeg;
INSTALL_PATH = "$(HOME)/bin";
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "-ltiff";
OTHER_LDFLAGS = (
"-lpng",
"-ltiff",
);
PREBINDING = NO;
PRODUCT_NAME = image_to_j2k;
USER_HEADER_SEARCH_PATHS = "";
@ -812,7 +815,10 @@
HEADER_SEARCH_PATHS = ./libopenjpeg;
INSTALL_PATH = "$(HOME)/bin";
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "-ltiff";
OTHER_LDFLAGS = (
"-lpng",
"-ltiff",
);
PREBINDING = NO;
PRODUCT_NAME = image_to_j2k;
USER_HEADER_SEARCH_PATHS = "";
@ -832,7 +838,10 @@
GCC_OPTIMIZATION_LEVEL = 0;
HEADER_SEARCH_PATHS = ./libopenjpeg;
INSTALL_PATH = "$(HOME)/bin";
OTHER_LDFLAGS = "-ltiff";
OTHER_LDFLAGS = (
"-lpng",
"-ltiff",
);
PREBINDING = NO;
PRODUCT_NAME = j2k_to_image;
USER_HEADER_SEARCH_PATHS = "";
@ -850,7 +859,10 @@
GCC_MODEL_TUNING = G5;
HEADER_SEARCH_PATHS = ./libopenjpeg;
INSTALL_PATH = "$(HOME)/bin";
OTHER_LDFLAGS = "-ltiff";
OTHER_LDFLAGS = (
"-lpng",
"-ltiff",
);
PREBINDING = NO;
PRODUCT_NAME = j2k_to_image;
USER_HEADER_SEARCH_PATHS = "";