thank you ,Denis.As you said ,it was the problem of ftgl. I have rebulit it and complied all the oce-0.12 except the component of oce-visualisation successfully. when compiling the oce with the part of oce-visualisation,there are some errors as following:
E:\test\oce-OCE-0.12\src\Draw\Draw_Interpretor.cxx: In function 'FILE* {anonymous}::capture_start(int, int*)':
E:\test\oce-OCE-0.12\src\Draw\Draw_Interpretor.cxx:140:28: error: 'dup' was not declared in this scope
E:\test\oce-OCE-0.12\src\Draw\Draw_Interpretor.cxx:141:24: error: 'dup2' was not declared in this scope
E:\test\oce-OCE-0.12\src\Draw\Draw_Interpretor.cxx: In function 'void {anonymous}::capture_end(FILE*, int, int, Standard_OStream&, Standard_Boolean)':
E:\test\oce-OCE-0.12\src\Draw\Draw_Interpretor.cxx:148:26: error: 'dup2' was not declared in this scope
E:\test\oce-OCE-0.12\src\Draw\Draw_Interpretor.cxx:149:18: error: 'close' was not declared in this scope
make[2]: *** [adm/cmake/TKDraw/CMakeFiles/TKDraw.dir/__/__/__/src/Draw/Draw_Interpretor.cxx.obj] Error 1
make[1]: *** [adm/cmake/TKDraw/CMakeFiles/TKDraw.dir/all] Error 2
make: *** [all] Error 2
CG