]> granicus.if.org Git - openjpeg/commitdiff
MACOSX : Fixed the XCode project file to link with the PNG library. Library and heade...
authorAntonin Descampe <antonin@gmail.com>
Fri, 16 Apr 2010 17:14:29 +0000 (17:14 +0000)
committerAntonin Descampe <antonin@gmail.com>
Fri, 16 Apr 2010 17:14:29 +0000 (17:14 +0000)
ChangeLog
openjpeg.xcodeproj/project.pbxproj

index cb138c4657175094ae9be5b7de0810e0435ea9b5..f85326f08a450565b3852780d12887b1310d49af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 4caa23b66eef7ee541e69d7b1b270de7eeb010d0..a3622ed685f0979d9afbc78152baca542dd53ee4 100644 (file)
                                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 = "";
                                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 = "";
                                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 = "";
                                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 = "";