This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
facesynthesizer [2010/11/13 14:23] – nishimotz | facesynthesizer [2011/10/08 22:05] (current) – nishimotz | ||
---|---|---|---|
Line 4: | Line 4: | ||
facesynthesizer is known as Galatea FSM. | facesynthesizer is known as Galatea FSM. | ||
+ | |||
+ | Project : http:// | ||
===== repositories ===== | ===== repositories ===== | ||
Line 12: | Line 14: | ||
===== Mac OS X build ===== | ===== Mac OS X build ===== | ||
- | unfinished: | + | updated 2011-10-08 |
+ | |||
+ | * MacOSX 10.6.8 / gcc 4.2.1 | ||
+ | * modified FSM : https:// | ||
+ | * using native OpenGL/GLUT (not X11 version of OpenGL) | ||
< | < | ||
$ git clone https:// | $ git clone https:// | ||
$ cd facesynthesizer | $ cd facesynthesizer | ||
- | $ cd src | + | $ git checkout mac |
- | $ CFLAGS=' | + | $ cd src/glpng/src |
+ | $ make -f Makefile.MAC | ||
+ | $ cd ../../ | ||
+ | $ make | ||
</ | </ | ||
- | errors: | ||
- | |||
- | < | ||
- | In file included from Main.cpp:1: | ||
- | Main.h:70: error: aggregate ' | ||
- | Main.h:70: error: aggregate ' | ||
- | Main.cpp: In function 'void myGlutTimer(int)': | ||
- | Main.cpp: | ||
- | Main.cpp: | ||
- | Main.cpp: | ||
- | Main.cpp: | ||
- | Main.cpp: | ||
- | make: *** [Main.o] Error 1 | ||
- | </ | ||
- | |||
- | TODO: | ||
- | |||
- | * recompile glpng : done | ||
- | * modify FSM | ||
- | * make and link all : done | ||
- | |||
- | < | ||
- | $ 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" | ||
- | There is absolutely no warranty for GDB. Type "show warranty" | ||
- | This GDB was configured as " | ||
- | |||
- | (gdb) run | ||
- | Starting program: / | ||
- | Reading symbols for shared libraries .+++++...................................................................................................... done | ||
- | Reading symbols for shared libraries . done | ||
- | tell config: Japanese viseme mode | ||
- | tell U_TEETH_OBJ_NAME ../ | ||
- | tell L_TEETH_OBJ_NAME ../ | ||
- | tell M_WALL_OBJ_NAME ../ | ||
- | tell EYE_OBJ_NAME ../ | ||
- | tell M_WALL_TEXTURE ../ | ||
- | 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 ../ | ||
- | tell DEF_WFM_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, | ||
- | Reason: KERN_INVALID_ADDRESS at address: 0x110e4000 | ||
- | 0x00004bc0 in Texture:: | ||
- | (gdb) bt | ||
- | #0 0x00004bc0 in Texture:: | ||
- | #1 0x00029fca in main () | ||
- | </ | ||