Got it. Thanks. Also, I've tried installing FreeType library on another Ubuntu 17.04 64-bit. I did ./autogen ./configure --prefix=<path> make make install AFAICS it installed the 32-bit version. ( no lib64/ folder, there was an lib/ folder).
On Tue, Aug 8, 2017 at 12:15 PM, Werner LEMBERG <w...@gnu.org> wrote: > > >> . As a prerequisite (documented in the README) the user must > >> compile the `base' version of FreeType manually so that a DLL > >> gets created. This should *not* be handled automatically. And > >> no need to install them. > >> . Similarly, the `test' version of FreeType should be built with a > >> simple call to `make'. Again there should be no need to install > >> it. > >> . The user should then specify the `base' FreeType `.so' file using > >> a variable, say, `FREETYPE_BASE_DLL'. > > > > After compiling both the libraries, I am doing this in objs/ folder. > > > > libtool --mode=install cp libfreetype.la \ > > /home/ksvsk/working-repo/tests/make_png/test/libfreetype.la > > > > And using the .so file generated in the test/ folder. Similarly > > doing this for the 'base' version as well. I am getting the correct > > result. Is this what is needed to be done? > > Well, calling `libtool' this way is kind of an installation, which is > exactly what should *not* be expected. There shouldn't be any > assumptions where the base DLL is located. > > Maybe I wasn't clear enough, so I'm trying again. > > . Compile the base FreeType version in directory > `/home/kushal/freetype2-base'. After compilation, the .so file > can be found as > `/home/kushal/freetype2-base/objs/.libs/libfreetype.so.6.12.5'. > > . Compile the test FreeType version (i.e., current git) in directory > `/home/kushal/freetype2'. After compilation, the .so file can be > found as > `/home/kushal/freetype2/objs/.libs/libfreetype.so.6.14.0'. > > . The glyph image tests should now > be run with something similar to the following > > cd /home/kushal/freetype2 > > FREETYPE_TEST_BASE_DLL="/home/kushal/freetype2-base/objs/.libs/libfreetype.so.6.12.5" > \ > FREETYPE_TEST_FONT="/home/kushal/foo.ttf" \ > FREETYPE_TEST_PT_SIZES="12 15 18" \ > FREETYPE_TEST_MODES="aa mono" \ > make tests > > Of course, there is no need to explicitly specify the second DLL > because `make tests' can find it by itself. > > > Werner >
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel