📄 osx-howto.txt
字号:
>>>> gcc -DHAVE_CONFIG_H -I. -I. -I../. -I/sw/include -I/sw/include>>>> -DXGTCL=\"/usr/local/lib\" -I/usr/X11R6/include -Wall -Wno-unused>>>> -g -DXPMENABLED -DTcl75_Tk41 -c `test -f xginitf.c || echo>>>> './'`xginitf.c>>>> /usr/include/gcc/darwin/3.1/varargs.h:71: warning: redefinition of>>>> macro va_start>>>> /usr/include/gcc/darwin/3.1/stdarg.h:59: warning: this is the>>>> location of the previous definition>>>> xginitf.c:37: warning: return type defaults to `int'>>>> xginitf.c: In function `initxg_':>>>> xginitf.c:67: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:84: warning: return type defaults to `int'>>>> xginitf.c: In function `startxg_':>>>> xginitf.c:86: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:108: warning: return type defaults to `int'>>>> xginitf.c: In function `setvecxg_':>>>> xginitf.c:151: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:173: warning: return type defaults to `int'>>>> xginitf.c: In function `setvecxgflag_':>>>> xginitf.c:219: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:240: warning: return type defaults to `int'>>>> xginitf.c: In function `set2dxg_':>>>> xginitf.c:280: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:300: warning: return type defaults to `int'>>>> xginitf.c: In function `set2dxgflag_':>>>> xginitf.c:342: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:366: warning: return type defaults to `int'>>>> xginitf.c: In function `set2dcxg_':>>>> xginitf.c:423: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:448: warning: return type defaults to `int'>>>> xginitf.c: In function `set2dcxgflag_':>>>> xginitf.c:507: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:531: warning: return type defaults to `int'>>>> xginitf.c: In function `set3dxg_':>>>> xginitf.c:589: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:613: warning: return type defaults to `int'>>>> xginitf.c: In function `set3dxgflag_':>>>> xginitf.c:673: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:690: warning: return type defaults to `int'>>>> xginitf.c: In function `curvexg_':>>>> xginitf.c:706: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:721: warning: return type defaults to `int'>>>> xginitf.c: In function `scat2dxg_':>>>> xginitf.c:738: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:755: warning: return type defaults to `int'>>>> xginitf.c: In function `scat3dxg_':>>>> xginitf.c:775: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:792: warning: return type defaults to `int'>>>> xginitf.c: In function `vectorxg_':>>>> xginitf.c:831: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:848: warning: return type defaults to `int'>>>> xginitf.c: In function `surfxg_':>>>> xginitf.c:879: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:895: warning: return type defaults to `int'>>>> xginitf.c: In function `contxg_':>>>> xginitf.c:929: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:946: warning: return type defaults to `int'>>>> xginitf.c: In function `irsurfxg_':>>>> xginitf.c:986: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:1002: warning: return type defaults to `int'>>>> xginitf.c: In function `structurexgarray_':>>>> xginitf.c:1026: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:1042: warning: return type defaults to `int'>>>> xginitf.c: In function `newintsetup_':>>>> xginitf.c:1046: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:1062: warning: return type defaults to `int'>>>> xginitf.c: In function `newrealsetup_':>>>> xginitf.c:1066: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:1082: warning: return type defaults to `int'>>>> xginitf.c: In function `newdoublesetup_':>>>> xginitf.c:1086: warning: control reaches end of non-void function>>>> xginitf.c: At top level:>>>> xginitf.c:1101: warning: return type defaults to `int'>>>> xginitf.c: In function `newcharsetup_':>>>> xginitf.c:1105: warning: control reaches end of non-void function>>>> rm -f libXGF250.a>>>> ar cru libXGF250.a xgfinterface.o xginitf.o>>>> ranlib libXGF250.a>>>> gcc -DHAVE_CONFIG_H -I. -I. -I../. -I/sw/include -I/sw/include>>>> -DXGTCL=\"/usr/local/lib\" -I/usr/X11R6/include -Wall -Wno-unused>>>> -g -DXPMENABLED -DTcl75_Tk41 -c `test -f ps6to1.c || echo>>>> './'`ps6to1.c>>>> ps6to1.c:11: warning: return type of `main' is not `int'>>>> ps6to1.c: In function `main':>>>> ps6to1.c:37: warning: implicit declaration of function `exit'>>>> gcc -Wall -Wno-unused -g -DXPMENABLED -DTcl75_Tk41 -o ps6to1>>>> ps6to1.o>>>> rm -f libXGC.a>>>> ln -s libXGC250.a libXGC.a>>>> rm -f libXGCmini.a>>>> ln -s libXGC250mini.a libXGCmini.a>>>> rm -f libXGF.a>>>> ln -s libXGF250.a libXGF.a>>>> Making all in ctest>>>> gcc -DHAVE_CONFIG_H -I. -I. -I../. -I/sw/include -I/sw/include>>>> -I../src -Wall -Wno-unused -g -DXPMENABLED -DTcl75_Tk41 -c >>>> test.c>>>> test.c: In function `Setup':>>>> test.c:62: warning: implicit declaration of function `malloc'>>>> test.c: At top level:>>>> test.c:176: warning: return type of `main' is not `int'>>>> test.c: In function `main':>>>> test.c:177: warning: implicit declaration of function `putenv'>>>> gcc -Wall -Wno-unused -g -DXPMENABLED -DTcl75_Tk41 -o xtest>>>> test.o -L../src -lXGC -L/sw/lib -ltk8.4 -L/sw/lib -ltcl8.4>>>> -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXpm -ldl -lm>>>> ld: warning table of contents of library: ../src/libXGC.a not sorted>>>> slower link editing will result (use the ranlib(1) -s option)>>>> ld: warning multiple definitions of symbol _tclPlatStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr>>>> ld: warning multiple definitions of symbol _tclIntStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr>>>> ld: warning multiple definitions of symbol _Tcl_InitStubs>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs>>>> ld: warning multiple definitions of symbol _tclIntPlatStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of>>>> _tclIntPlatStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of >>>> _tclIntPlatStubsPtr>>>> ld: warning multiple definitions of symbol _tclStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclStubsPtr>>>> ld: warning suggest use of -bind_at_load, as lazy binding may result>>>> in errors or different symbols being used>>>> symbol _Tcl_InitStubs used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclIntPlatStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclIntStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclPlatStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> Making all in xgmovie>>>> g++ -DHAVE_CONFIG_H -I. -I. -I../. -I/sw/include -I../src>>>> -I/usr/X11R6/include -Wall -Wno-unused -c -o xgmovie.o `test -f>>>> xgmovie.cpp || echo './'`xgmovie.cpp>>>> In file included from xgmovie.cpp:7:>>>> xgmovie.h:18: warning: `class plot' has virtual functions but>>>> non-virtual>>>> destructor>>>> xgmovie.h:42: warning: `class One_D_plot' has virtual functions but>>>> non-virtual>>>> destructor>>>> xgmovie.h:53: warning: `class ScatterPlot' has virtual functions but>>>> non-virtual destructor>>>> xgmovie.h:58: warning: `class LinePlot' has virtual functions but>>>> non-virtual>>>> destructor>>>> xgmovie.h:71: warning: `class SurfacePlot' has virtual functions but>>>> non-virtual destructor>>>> xgmovie.h:90: warning: `class VectorPlot' has virtual functions but>>>> non-virtual>>>> destructor>>>> xgmovie.cpp: In function `int openFile(FILE**, char*, int)':>>>> xgmovie.cpp:131: warning: too many arguments for format>>>> xgmovie.cpp: At global scope:>>>> xgmovie.cpp:437: warning: ISO C++ forbids declaration of `main' with>>>> no type>>>> xgmovie.cpp: In function `int main(int, char**)':>>>> xgmovie.cpp:454: warning: float format, double arg (arg 3)>>>> g++ -Wall -Wno-unused -o xgmovie xgmovie.o -L../src -lXGC>>>> -L/sw/lib -ltk8.4 -L/sw/lib -ltcl8.4 -L/usr/X11R6/lib -lX11>>>> -L/usr/X11R6/lib -lXpm -ldl -lm>>>> ld: warning table of contents of library: ../src/libXGC.a not sorted>>>> slower link editing will result (use the ranlib(1) -s option)>>>> ld: warning multiple definitions of symbol _tclPlatStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr>>>> ld: warning multiple definitions of symbol _tclIntStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr>>>> ld: warning multiple definitions of symbol _Tcl_InitStubs>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs>>>> ld: warning multiple definitions of symbol _tclIntPlatStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of>>>> _tclIntPlatStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of >>>> _tclIntPlatStubsPtr>>>> ld: warning multiple definitions of symbol _tclStubsPtr>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclStubsPtr>>>> /sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclStubsPtr>>>> ld: warning suggest use of -bind_at_load, as lazy binding may result>>>> in errors or different symbols being used>>>> symbol _Tcl_InitStubs used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclIntPlatStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclIntStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclPlatStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> symbol _tclStubsPtr used from dynamic library>>>> /sw/lib/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic>>>> library /sw/lib/libtk8.4.dylib(tclStubLib.o)>>>> make[2]: Nothing to be done for `all-am'.>>>>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -