[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Cygwin build prob -- tilting at windmills
From: |
David Turner |
Subject: |
Re: [ft-devel] Cygwin build prob -- tilting at windmills |
Date: |
Mon, 21 Mar 2005 21:29:21 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
address@hidden a écrit :
address@hidden'
I'm working on a project/experiment that will run on
linux/windows/macosX.
I decided to use SDL/SGE, but cannot get freetype to cooperate on
windows. SDL and SGE are fat, dumb and happy adding the -no-cygwin GCC
option (using the mingw libs). the freetype build does not seem to add
the same flag, and an option to build a DLL from cygwin is not obvious.
Here are the versions I'm dealing with:
Compiling with CYGWIN_NT-5.1
SDL_image-1.2.4
sge030809
SDL-1.2.8
freetype=2.1.9
I built freetype with the suggested option:
./configure <youroptions> ---There's no notes on what "youroptions"
"./configure --help" would tell you what options are available. I guess
that you're not used to compile stuff on Unix, which explains why you're
a bit puzzled. The most common option is --prefix=xxxx to indicate
installation prefix, another one is --disable-static if you don't want
to generate a static library.
actually are --
make
make install
This is what's spit out
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler gcc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please
remove the file
`config.mk' from this directory then read the INSTALL file for
help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs
python).
make: Nothing to be done for `unix'.
Huh . How would I set the -mno-cygwin option?
the simplest way to do that would be a typical Unix mantra:
CFLAGS=-mno-cygwin ./configure <youroptions>
make
make install
Don't ask me to explain what this means though. You should find
lots of information on the Internet. Look at the documentation
for what is called "Autoconf"
Hope this helps,
- David Turner
- The FreeType Project (www.freetype.org)
sge link errorsfor "make dll":
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/bin/
ld: war
ning: cannot find entry symbol address@hidden; defaulting to
61341000
/usr/local/lib/libfreetype.a(ftbase.o)(.text+0x2e39): In function
`ft_validato
r_run':
/cygdrive/c/dtyree/prj/freetype2/src/base/ftobjs.c:80: undefined
reference to
`_setjmp'
/usr/local/lib/libfreetype.a(type1.o)(.text+0x3d6): In function
`T1_Get_Privat
e_Dict':
/cygdrive/c/dtyree/prj/freetype2/src/type1/t1parse.c:401: undefined
reference
to `__imp___ctype_'
/usr/local/lib/libfreetype.a(type1.o)(.text+0x1928): In function
`read_binary_
data':
/cygdrive/c/dtyree/prj/freetype2/src/type1/t1load.c:1000: undefined
reference
to `__imp___ctype_'
/usr/local/lib/libfreetype.a(type1.o)(.text+0x1ada): In function
`parse_encodi
ng':
/cygdrive/c/dtyree/prj/freetype2/src/type1/t1load.c:1090: undefined
reference
to `__imp___ctype_'
....
Any insight or assistance would be greatly appreciated.
Thanks,
David
davidDOTtyreeATcoxDOTnet
_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel