Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
facesynthesizer [2011/10/08 22:03]
nishimotz
facesynthesizer [2011/10/08 22:05]
nishimotz
Line 17: Line 17:
  
   * MacOSX 10.6.8 / gcc 4.2.1   * MacOSX 10.6.8 / gcc 4.2.1
 +  * modified FSM : https://​github.com/​nishimotz/​facesynthesizer/​tree/​mac
 +  * using native OpenGL/GLUT (not X11 version of OpenGL)
  
 <​code>​ <​code>​
Line 22: Line 24:
 $ cd facesynthesizer $ cd facesynthesizer
 $ git checkout mac $ git checkout mac
-$ cd src+$ cd src/​glpng/​src 
 +$ make -f Makefile.MAC 
 +$ cd ../../
 $ make $ make
 </​code>​ </​code>​
  
-errors: 
- 
-<​code>​ 
-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 
-</​code>​ 
- 
-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: 
- 
-<​code>​ 
-$ 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 () 
-</​code>​ 
- 
-http://​developer.apple.com/​library/​mac/#​technotes/​tn2004/​tn2123.html 
  
facesynthesizer.txt · Last modified: 2011/10/08 22:05 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