[GRASS5] nvwish error

Markus Neteler neteler at geog.uni-hannover.de
Mon Dec 11 05:04:13 EST 2000


Hi Jeshua,


edit
src/CMD/head/head.powerpc-apple-darwin1.2

Add the tcl/tk stuff:
#tcl/tk stuff
TCLINCDIR           = -I/usr/include
TKINCDIR            = -I/usr/include
TCLTKLIBPATH        = -L/usr/lib
TCLTKLIBS           =  -ltk8.3 -ltcl8.3

(or different tcl/tk version)

Hope this help

 Markus


On Mon, Dec 11, 2000 at 01:11:51AM -0800, Jeshua Lacock wrote:
> I'm trying to compile  NVIZ and I get this error:  
> 
> (it is obviously not seeing the tcl/tk headers)
> 
> #################################################################
> /usr/src/grass/src/libes/ogsf
>   make -f OBJ.powerpc-apple-darwin1.2/make.rules 
> 
> make[2]: Nothing to be done for `all'.
> touch nviz_init.c
> cc -g -O2  -I/usr/X11R6/include -I/usr/include -I/usr/include -I/usr/src/grass/src/libes/ogsf  -D_NO_PROTO -D__STDC__ -I/usr/include   -I/usr/src/grass/src/include  -c nviz_init.c -o OBJ.powerpc-apple-darwin1.2/nviz_init.o
> cc -g -o nvwish OBJ.powerpc-apple-darwin1.2/nvizAppInit.o OBJ.powerpc-apple-darwin1.2/change_view.o OBJ.powerpc-apple-darwin1.2/draw.o OBJ.powerpc-apple-darwin1.2/exag.o OBJ.powerpc-apple-darwin1.2/glwrappers.o OBJ.powerpc-apple-darwin1.2/init_commands.o OBJ.powerpc-apple-darwin1.2/lights.o OBJ.powerpc-apple-darwin1.2/map_obj.o OBJ.powerpc-apple-darwin1.2/misc.o OBJ.powerpc-apple-darwin1.2/nviz_init.o OBJ.powerpc-apple-darwin1.2/position.o OBJ.powerpc-apple-darwin1.2/quick_draw.o OBJ.powerpc-apple-darwin1.2/anim_support.o OBJ.powerpc-apple-darwin1.2/cutplane_obj.o OBJ.powerpc-apple-darwin1.2/script_support.o OBJ.powerpc-apple-darwin1.2/label.o OBJ.powerpc-apple-darwin1.2/nvizMain.o OBJ.powerpc-apple-darwin1.2/togl.o OBJ.powerpc-apple-darwin1.2/togl_cb.o OBJ.powerpc-apple-darwin1.2/query_postgr.o  -L/usr/include /usr/src/grass/src/libes/ogsf/LIB.powerpc-apple-darwin1.2/libgsf.a /usr/src/grass/src/libes/libimage/LIB.powerpc-apple-darwin1.2/libimage.a \
> /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libbitmap.a /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/liblinkm.a /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libvect.a /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libdig2.a \
> /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libgis.a   \
> /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libdatetime.a  -L/usr/lib  -lGLU -lGL -lSM -lICE -lX11 -lXmu -lXext     -L/usr/X11R6/lib -L/usr/lib  -ltiff
> /usr/bin/ld: Undefined symbols:
> _Tcl_GlobalEval
> _Tcl_Init
> _Tcl_SetVar
> _Tcl_StaticPackage
> _Tk_Init
> _Tk_MainWindow
> _Tk_SafeInit
> _Tcl_GetInt
> _Tcl_GetVar
> _Tcl_SetResult
> _Tcl_SplitList
> _TkCopyAndGlobalEval
> _Tcl_Merge
> _Tcl_CreateCommand
> _Tcl_AppendElement
> _Tcl_GetBoolean
> _Tcl_VarEval
> _Tcl_GetDouble
> _Tcl_Eval
> _Tcl_CreateInterp
> _Tk_MainEx
> _Tcl_AppendResult
> _Tcl_DeleteCommand
> _Tcl_DoWhenIdle
> _Tcl_EventuallyFree
> _Tcl_FirstHashEntry
> _Tcl_InitHashTable
> _Tcl_NextHashEntry
> _Tcl_Preserve
> _Tcl_Release
> _Tcl_ResetResult
> _TkWmAddToColormapWindows
> _Tk_ConfigureInfo
> _Tk_ConfigureWidget
> _Tk_CreateEventHandler
> _Tk_CreateWindowFromPath
> _Tk_DestroyWindow
> _Tk_FreeOptions
> _Tk_GeometryRequest
> _Tk_HandleEvent
> _Tk_MakeWindowExist
> _Tk_SetClass
> _Tk_SetWindowVisual
> _XFreeColormap
> _XGrabServer
> _XKillClient
> _XSetCloseDownMode
> _XSetRGBColormaps
> _XUngrabServer
> _XVisualIDFromVisual
> _XDeleteProperty
> _XAllocStandardColormap
> _XAllocColorCells
> _XStoreColors
> make[1]: *** [nvwish] Error 1
> make: *** [nvwish] Error 2
> 
> 
> Where would I be able to hard-wire the headers?
> 
> 
> Thanks,
> 
> Jeshua Lacock
> Cartographer/Owner
> http://SierraMaps.com
> http://3dTopoMaps.com
> Telephone: (760) 935-4481
> ---------------------------------------- 
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'
> 

-- 
Dipl.-Geogr. Markus Neteler *  University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494  Fax: -3984

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list