From mvfranz at gmail.com Fri Jan 1 18:35:15 2010 From: mvfranz at gmail.com (Michael Franz) Date: Fri, 1 Jan 2010 21:35:15 -0500 Subject: Building freetype check Message-ID: Hi, I am trying to compile the freetype check in jdk/make/tools/freetypecheck, I have freetype headers in /boot/develop/headers/3rdparty and the lib is in /boot/common/lib/libfreetype.[a|la|so] and /boot/develop/lib/x86/libfreetype.so Using the solaris linking there are two missing references: FT_Init_FreeType and FT_Library_Version. I am not sure which library it is linking against and I am not sure if the solaris version it the correct one to use. Any thoughts? Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/haiku-port-dev/attachments/20100101/39d1baf9/attachment.html From andrewbachmann at gmail.com Fri Jan 1 21:22:39 2010 From: andrewbachmann at gmail.com (Andrew Bachmann) Date: Fri, 1 Jan 2010 21:22:39 -0800 Subject: Building freetype check In-Reply-To: References: Message-ID: <9cf4bb561001012122u35967b9co4d41cf7c63d694ad@mail.gmail.com> Hi Michael, I checked four versions of libfreetype.so that exist on my gcc4hybrid haiku install. All of them include FT_Library_Version and FT_Init_FreeType. They are in /boot/system/lib/libfreetype.so, /boot/system/lib/gcc4/libfreetype.so, /boot/develop/abi/x86/gcc[24]/lib/libfreetype.so. Both those methods are in my freetype header which is in /boot/develop/headers/3rdparty/freetype/freetype.h. To resolve the check I added these environment variables before running make: export ALT_FREETYPE_LIB_PATH=/boot/system/lib/gcc4/libfreetype.so export ALT_FREETYPE_HEADERS_PATH=/boot/develop/headers/3rdparty/freetype When I run make in jdk/make/tools/freetypecheck it says: Required version of freetype: 2.3.0 Detected freetype headers: 2.3.11 Detected freetype library: 2.3.11 Andrew On Fri, Jan 1, 2010 at 6:35 PM, Michael Franz wrote: > Hi, > > I am trying to compile the freetype check in jdk/make/tools/freetypecheck, I > have freetype headers in /boot/develop/headers/3rdparty and the lib is in > /boot/common/lib/libfreetype.[a|la|so] and > /boot/develop/lib/x86/libfreetype.so > > Using the solaris linking there are two missing references: FT_Init_FreeType > and FT_Library_Version.? I am not sure which library it is linking against > and I am not sure if the solaris version it the correct one to use.? Any > thoughts? > > Michael > From mvfranz at gmail.com Sat Jan 2 10:11:25 2010 From: mvfranz at gmail.com (Michael Franz) Date: Sat, 2 Jan 2010 13:11:25 -0500 Subject: Building freetype check In-Reply-To: <9cf4bb561001012122u35967b9co4d41cf7c63d694ad@mail.gmail.com> References: <9cf4bb561001012122u35967b9co4d41cf7c63d694ad@mail.gmail.com> Message-ID: Andrew, I was able to get it to compile with your comments. Thank you. On Sat, Jan 2, 2010 at 12:22 AM, Andrew Bachmann wrote: > Hi Michael, > > I checked four versions of libfreetype.so that exist on my gcc4hybrid > haiku install. All of them include FT_Library_Version and > FT_Init_FreeType. They are in /boot/system/lib/libfreetype.so, > /boot/system/lib/gcc4/libfreetype.so, > /boot/develop/abi/x86/gcc[24]/lib/libfreetype.so. Both those methods > are in my freetype header which is in > /boot/develop/headers/3rdparty/freetype/freetype.h. To resolve the > check I added these environment variables before running make: > > export ALT_FREETYPE_LIB_PATH=/boot/system/lib/gcc4/libfreetype.so > export ALT_FREETYPE_HEADERS_PATH=/boot/develop/headers/3rdparty/freetype > > When I run make in jdk/make/tools/freetypecheck it says: > Required version of freetype: 2.3.0 > Detected freetype headers: 2.3.11 > Detected freetype library: 2.3.11 > > Andrew > > On Fri, Jan 1, 2010 at 6:35 PM, Michael Franz wrote: > > Hi, > > > > I am trying to compile the freetype check in > jdk/make/tools/freetypecheck, I > > have freetype headers in /boot/develop/headers/3rdparty and the lib is in > > /boot/common/lib/libfreetype.[a|la|so] and > > /boot/develop/lib/x86/libfreetype.so > > > > Using the solaris linking there are two missing references: > FT_Init_FreeType > > and FT_Library_Version. I am not sure which library it is linking > against > > and I am not sure if the solaris version it the correct one to use. Any > > thoughts? > > > > Michael > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/haiku-port-dev/attachments/20100102/87676f21/attachment.html