This is an old revision of the document!


facesynthesizer

Japanese page : http://ja.nishimotz.com/facesynthesizer

facesynthesizer is known as Galatea FSM.

Project : http://en.sourceforge.jp/projects/galatea/

repositories

Mac OS X build

unfinished:

$ git clone https://nishimotz@github.com/nishimotz/facesynthesizer.git
$ cd facesynthesizer
$ cd src
$ CFLAGS='-arch i386' make

errors:

In file included from Main.cpp:1:
Main.h:70: error: aggregate 'termio tty' has incomplete type and cannot be defined
Main.h:70: error: aggregate 'termio oldtty' has incomplete type and cannot be defined
Main.cpp: In function 'void myGlutTimer(int)':
Main.cpp:484: error: 'TCGETA' was not declared in this scope
Main.cpp:484: error: 'ioctl' was not declared in this scope
Main.cpp:487: error: 'VMIN' was not declared in this scope
Main.cpp:488: error: 'VTIME' was not declared in this scope
Main.cpp:491: error: 'TCSETAW' was not declared in this scope
make: *** [Main.o] Error 1

modify FSM : https://github.com/nishimotz/facesynthesizer/tree/mac

recompile glpng : src/glpng/src/Makefile.MAC (created using tmake)

make and link all : done

current errors:

$ cd bin
$ gdb fsm
GNU gdb 6.3.50-20050815 (Apple version gdb-1461) (Wed Dec 23 06:11:18 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ...... done

(gdb) run
Starting program: /Users/nishimotz/code/github/facesynthesizer/bin/fsm 
Reading symbols for shared libraries .+++++...................................................................................................... done
Reading symbols for shared libraries . done
tell config: Japanese viseme mode
tell U_TEETH_OBJ_NAME ../data/teethUpper.obj
tell L_TEETH_OBJ_NAME ../data/teethLower.obj
tell M_WALL_OBJ_NAME ../data/mouthwall.obj
tell EYE_OBJ_NAME ../data/eye.obj
tell M_WALL_TEXTURE ../data/mouthwall.bmp
tell DEF_WINDOW_WIDTH 512
tell DEF_WINDOW_HEIGHT 512
tell DEF_WINDOW_POS_X 0
tell DEF_WINDOW_POS_Y 0
tell DEF_WFM_PNT ../data/fheadv2.pnt
tell DEF_WFM_LNK ../data/fheadv2.lnk
tell EXPRESSION_DURATION 100
tell EYEMOVE_DURATION 7
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x110e4000
0x00004bc0 in Texture::BindTexture ()
(gdb) bt
#0  0x00004bc0 in Texture::BindTexture ()
#1  0x00029fca in main ()

http://developer.apple.com/library/mac/#technotes/tn2004/tn2123.html

facesynthesizer.1290038491.txt.gz · Last modified: 2010/11/18 09:01 by nishimotz
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0