Hi There are some weird settings in the Loch Makefile for the VTK variables. It seems that VTKPATH is used to mean VTKINCLUDEPATH, but also for VTKLIBPATH, which causes problems. Here is a better version (only for target Debian) Best, Martin # PLATFORM DEBIAN CXX = c++ CC = gcc POBJECTS = lxR2P.o VTKPATH = /usr/local VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.2 VTKLIBPATH = $(VTKPATH)/lib/vtk-5.2 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lfreetype CXXPFLAGS = -DLXLINUX $(shell wx-config --cxxflags) -Wno-deprecated $(shell freetype-config --cflags) -I$(VTKINCLUDEPATH) CCPFLAGS = -DLXLINUX $(shell wx-config --cflags) LXLIBDIR = linux PLIBS = $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $(VTKLIBS) -lGLU -lpthread -lz LXPLATFORM = LINUX
Yesterday with help of Stacho we debuged the Loch compilation under MacOSX. Just for inspiration! m.s. (too many Martins here :) ) # PLATFORM MACOSX CXX = c++ CC = cc ##VTKPATH = /usr/local/include/vtk-5.4 VTKPATH = /Users/confero_4/Development/VTKBin/include/vtk-5.4 VTKLIBS = -L/Users/confero_4/Development/VTKBin/lib/vtk-5.4 - lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering - lvtkCommon -lvtkjpeg -lvtkpng -lvtkzlib -lvtksys -lfreetype -lGLU -lGL POBJECTS = getline.o CXXPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cxxflags) -I$ (VTKPATH) -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/ freetype2 CCPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cflags) -I/usr/ X11R6/include LXLIBDIR = PLIBS = -lz -L/usr/X11R6/lib $(shell wx-config --libs --gl-libs) $ (VTKLIBS) POSTMAKE = cp -f ./loch ./loch.app/Contents/MacOS STRIPFLAG = # PLATFORM ENDCONFIG On 5.5.2009, at 12:27, Martin Luethi wrote:
Hi
There are some weird settings in the Loch Makefile for the VTK variables. It seems that VTKPATH is used to mean VTKINCLUDEPATH, but also for VTKLIBPATH, which causes problems. Here is a better version (only for target Debian)
Best, Martin
# PLATFORM DEBIAN CXX = c++ CC = gcc POBJECTS = lxR2P.o VTKPATH = /usr/local VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.2 VTKLIBPATH = $(VTKPATH)/lib/vtk-5.2 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics - lvtkFiltering -lvtkCommon -lfreetype CXXPFLAGS = -DLXLINUX $(shell wx-config --cxxflags) -Wno-deprecated $(shell freetype-config --cflags) -I$(VTKINCLUDEPATH) CCPFLAGS = -DLXLINUX $(shell wx-config --cflags) LXLIBDIR = linux PLIBS = $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $ (VTKLIBS) -lGLU -lpthread -lz LXPLATFORM = LINUX
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
+++ Martin Luethi [2009-05-05 12:27 +0200]:
Hi
There are some weird settings in the Loch Makefile for the VTK variables. It seems that VTKPATH is used to mean VTKINCLUDEPATH, but also for VTKLIBPATH, which causes problems. Here is a better version (only for target Debian)
Best, Martin
# PLATFORM DEBIAN CXX = c++ CC = gcc POBJECTS = lxR2P.o VTKPATH = /usr/local VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.2 VTKLIBPATH = $(VTKPATH)/lib/vtk-5.2 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lfreetype CXXPFLAGS = -DLXLINUX $(shell wx-config --cxxflags) -Wno-deprecated $(shell freetype-config --cflags) -I$(VTKINCLUDEPATH) CCPFLAGS = -DLXLINUX $(shell wx-config --cflags) LXLIBDIR = linux PLIBS = $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $(VTKLIBS) -lGLU -lpthread -lz LXPLATFORM = LINUX
Here is my version for the current Debian packaging. The VTKVER magic is to allow for builds on stable/unstable (different versions of VTK, and it doesn't have pck-config support to solve this in a neater way). I don't know if there is some cmake magic that can be used to fish out current correct paths for installed VTK version. I agree your variable names are nicer, but I was trying to keep changes minimal. As soon as I get my SVN therion repo working again I'll check in the current stuff so anyone is interested can compare notes. CXX = c++ CC = gcc POBJECTS = lxR2P.o VTKVER = $(shell ls -d /usr/include/vtk-5.? | grep -o vtk-5.*$) VTKPATH = /usr/include/$(VTKVER) VTKLIBPATH = /usr/lib/$(VTKVER) VTKLIBS = -lvtkHybrid -lvtkGraphics -lvtkFiltering -lvtkCommon -lfreetype CXXPFLAGS = -DLXLINUX $(shell wx-config --cxxflags) -Wno-deprecated -fno-strict-aliasing $(shell freetype-config --cflags) -I$(VTKPATH) CCPFLAGS = -DLXLINUX $(shell wx-config --cflags) LXLIBDIR = linux PLIBS = $(shell wx-config --libs --gl-libs) $(VTKLIBS) -lpthread LXPLATFORM = LINUX ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CCBFLAGS = -ggdb CXXBFLAGS = -ggdb -DLXDEBUG endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s LDFLAGS += -s endif ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CCBFLAGS = -O2 CXXBFLAGS = -O2 endif # compiler settings CXXFLAGS = -Wall -D_GNU_SOURCE -DLOCH $(CXXPFLAGS) $(CXXBFLAGS) CCFLAGS = -Wall -D_GNU_SOURCE -DLOCH $(CCPFLAGS) $(CCBFLAGS) OBJECTS = $(POBJECTS) $(CMNOBJECTS) Wookey -- Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian http://wookware.org/
This one according m.l. works too m.s. # PLATFORM MACOSX CXX = c++ CC = cc VTKPATH = /Users/confero_4/Development/VTKBin VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.4 VTKLIBPATH = $(VTKPATH)/lib/vtk-5.4 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lvtkjpeg -lvtkpng -lvtkzlib -lvtksys -lfreetype -lGLU -lGL POBJECTS = getline.o CXXPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cxxflags) -I$(VTKINCLUDEPATH) -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 CCPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cflags) -I/usr/X11R6/include LXLIBDIR = PLIBS = -lz -L/usr/X11R6/lib $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $(VTKLIBS) POSTMAKE = cp -f ./loch ./loch.app/Contents/MacOS STRIPFLAG = # PLATFORM ENDCONFIG
Hi all, sorry for coming back on an old topic... I've installed vtk as described, and tried to compile latest therion, including loch, with the indicated changes, but it doesn't work. In the log file (see attachments), it seems that it didn't even try to compile Loch... Any idea ? Thanks Thierry Martin Sluka a écrit :
This one according m.l. works too
m.s.
# PLATFORM MACOSX CXX = c++ CC = cc VTKPATH = /Users/confero_4/Development/VTKBin VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.4 VTKLIBPATH = $(VTKPATH)/lib/vtk-5.4 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lvtkjpeg -lvtkpng -lvtkzlib -lvtksys -lfreetype -lGLU -lGL POBJECTS = getline.o CXXPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cxxflags) -I$(VTKINCLUDEPATH) -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 CCPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cflags) -I/usr/X11R6/include LXLIBDIR = PLIBS = -lz -L/usr/X11R6/lib $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $(VTKLIBS) POSTMAKE = cp -f ./loch ./loch.app/Contents/MacOS STRIPFLAG =
# PLATFORM ENDCONFIG
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
cc -c -Wall -DTHMACOSX -O2 -o extern/getopt.o extern/getopt.c cc -c -Wall -DTHMACOSX -O2 -o extern/getopt1.o extern/getopt1.c cc -c -Wall -DTHMACOSX -O2 -o extern/getline.o extern/getline.c c++ -c -Wall -DTHMACOSX -O2 -o thdate.o thdate.cxx cc -c -Wall -DTHMACOSX -O2 -o extern/shpopen.o extern/shpopen.c cc -c -Wall -DTHMACOSX -O2 -o extern/dbfopen.o extern/dbfopen.c c++ -c -Wall -DTHMACOSX -O2 -o thexception.o thexception.cxx c++ -c -Wall -DTHMACOSX -O2 -o thbuffer.o thbuffer.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmbuffer.o thmbuffer.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlogfile.o thlogfile.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtmpdir.o thtmpdir.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlocale.o thlocale.cxx c++ -c -Wall -DTHMACOSX -O2 -o thparse.o thparse.cxx c++ -c -Wall -DTHMACOSX -O2 -o thcmdline.o thcmdline.cxx c++ -c -Wall -DTHMACOSX -O2 -o thconfig.o thconfig.cxx c++ -c -Wall -DTHMACOSX -O2 -o thinput.o thinput.cxx c++ -c -Wall -DTHMACOSX -O2 -o thchenc.o thchenc.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdatabase.o thdatabase.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdataobject.o thdataobject.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdatareader.o thdatareader.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsurvey.o thsurvey.cxx c++ -c -Wall -DTHMACOSX -O2 -o thendsurvey.o thendsurvey.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdata.o thdata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thperson.o thperson.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtf.o thtf.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtfangle.o thtfangle.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtflength.o thtflength.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtfpwf.o thtfpwf.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdataleg.o thdataleg.cxx c++ -c -Wall -DTHMACOSX -O2 -o thobjectname.o thobjectname.cxx c++ -c -Wall -DTHMACOSX -O2 -o thinfnan.o thinfnan.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlayout.o thlayout.cxx c++ -c -Wall -DTHMACOSX -O2 -o thinit.o thinit.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb1d.o thdb1d.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsvxctrl.o thsvxctrl.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdatastation.o thdatastation.cxx c++ -c -Wall -DTHMACOSX -O2 -o thobjectid.o thobjectid.cxx c++ -c -Wall -DTHMACOSX -O2 -o thobjectsrc.o thobjectsrc.cxx c++ -c -Wall -DTHMACOSX -O2 -o thgrade.o thgrade.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlibrary.o thlibrary.cxx c++ -c -Wall -DTHMACOSX -O2 -o thgeomag.o thgeomag.cxx c++ -c -Wall -DTHMACOSX -O2 -o thbezier.o thbezier.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexport.o thexport.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexporter.o thexporter.cxx c++ -c -Wall -DTHMACOSX -O2 -o thselector.o thselector.cxx cc -c -Wall -DTHMACOSX -O2 -o extern/img.o extern/img.c c++ -c -Wall -DTHMACOSX -O2 -o thexpmodel.o thexpmodel.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2d00.o thdb2d00.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscrapis.o thscrapis.cxx c++ -c -Wall -DTHMACOSX -O2 -o thcsdata.o thcsdata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexptable.o thexptable.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2d.o thdb2d.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscrap.o thscrap.cxx c++ -c -Wall -DTHMACOSX -O2 -o thendscrap.o thendscrap.cxx c++ -c -Wall -DTHMACOSX -O2 -o th2ddataobject.o th2ddataobject.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dprj.o thdb2dprj.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dpt.o thdb2dpt.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dlp.o thdb2dlp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dab.o thdb2dab.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dji.o thdb2dji.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dmi.o thdb2dmi.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dcp.o thdb2dcp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dxm.o thdb2dxm.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dxs.o thdb2dxs.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscraplo.o thscraplo.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscraplp.o thscraplp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscrapen.o thscrapen.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpoint.o thpoint.cxx c++ -c -Wall -DTHMACOSX -O2 -o thline.o thline.cxx c++ -c -Wall -DTHMACOSX -O2 -o tharea.o tharea.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlegenddata.o thlegenddata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmpost.o thmpost.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsymbolsets.o thsymbolsets.cxx c++ -c -Wall -DTHMACOSX -O2 -o thjoin.o thjoin.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmap.o thmap.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpmap.o thexpmap.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlayoutln.o thlayoutln.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpsys.o thexpsys.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpuni.o thexpuni.cxx c++ -c -Wall -DTHMACOSX -O2 -o thconvert.o thconvert.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpdf.o thpdf.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpdfdbg.o thpdfdbg.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpdfdata.o thpdfdata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtexfonts.o thtexfonts.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsymbolset.o thsymbolset.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlang.o thlang.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmapstat.o thmapstat.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpdb.o thexpdb.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpic.o thpic.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsketch.o thsketch.cxx c++ -c -Wall -DTHMACOSX -O2 -o thproj.o thproj.cxx c++ -c -Wall -DTHMACOSX -O2 -o extern/lxMath.o extern/lxMath.cxx c++ -c -Wall -DTHMACOSX -O2 -o extern/lxFile.o extern/lxFile.cxx c++ -c -Wall -DTHMACOSX -O2 -o thcdt.o thcdt.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb3d.o thdb3d.cxx thdb3d.cxx: In member function 'void thdb3ddata::export_vrml(FILE*)': thdb3d.cxx:217: warning: 'fx3' may be used uninitialized in this function thdb3d.cxx:217: warning: 'fx2' may be used uninitialized in this function thdb3d.cxx: In member function 'void thdb3ddata::export_3dmf(FILE*)': thdb3d.cxx:293: warning: 'fx3' may be used uninitialized in this function thdb3d.cxx:293: warning: 'fx2' may be used uninitialized in this function c++ -c -Wall -DTHMACOSX -O2 -o thsurface.o thsurface.cxx c++ -c -Wall -DTHMACOSX -O2 -o thimport.o thimport.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsvg.o thsvg.cxx c++ -c -Wall -DTHMACOSX -O2 -o thepsparse.o thepsparse.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtrans.o thtrans.cxx c++ -c -Wall -DTHMACOSX -O2 -o thwarpp.o thwarpp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thwarppt.o thwarppt.cxx c++ -c -Wall -DTHMACOSX -O2 -o thwarppme.o thwarppme.cxx c++ -c -Wall -DTHMACOSX -O2 -o thwarp.o thwarp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpshp.o thexpshp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thattr.o thattr.cxx thattr.cxx: In member function 'void thattr::export_html(const char*, int)': thattr.cxx:732: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' c++ -c -Wall -DTHMACOSX -O2 -o thtex.o thtex.cxx c++ -c -Wall -DTHMACOSX -O2 -o therion.o therion.cxx make -C ./extern/proj4 cc *.c -c -I. pj_datums.c:79: warning: 'pj_datums' initialized and declared 'extern' pj_datums.c:105: warning: 'pj_prime_meridians' initialized and declared 'extern' pj_ellps.c:9: warning: 'pj_ellps' initialized and declared 'extern' pj_errno.c:8: warning: 'pj_errno' initialized and declared 'extern' pj_units.c:11: warning: 'pj_units' initialized and declared 'extern' ar cr libproj.a *.o c++ -Wall -o therion extern/getopt.o extern/getopt1.o extern/getline.o thdate.o extern/shpopen.o extern/dbfopen.o thexception.o thbuffer.o thmbuffer.o thlogfile.o thtmpdir.o thlocale.o thparse.o thcmdline.o thconfig.o thinput.o thchenc.o thdatabase.o thdataobject.o thdatareader.o thsurvey.o thendsurvey.o thdata.o thperson.o thtf.o thtfangle.o thtflength.o thtfpwf.o thdataleg.o thobjectname.o thinfnan.o thlayout.o thinit.o thdb1d.o thsvxctrl.o thdatastation.o thobjectid.o thobjectsrc.o thgrade.o thlibrary.o thgeomag.o thbezier.o thexport.o thexporter.o thselector.o extern/img.o thexpmodel.o thdb2d00.o thscrapis.o thcsdata.o thexptable.o thdb2d.o thscrap.o thendscrap.o th2ddataobject.o thdb2dprj.o thdb2dpt.o thdb2dlp.o thdb2dab.o thdb2dji.o thdb2dmi.o thdb2dcp.o thdb2dxm.o thdb2dxs.o thscraplo.o thscraplp.o thscrapen.o thpoint.o thline.o tharea.o thlegenddata.o thmpost.o thsymbolsets.o thjoin.o thmap.o thexpmap.o thlayoutln.o thexpsys.o thexpuni.o thconvert.o thpdf.o thpdfdbg.o thpdfdata.o thtexfonts.o thsymbolset.o thlang.o thmapstat.o thexpdb.o thpic.o thsketch.o thproj.o extern/lxMath.o extern/lxFile.o thcdt.o thdb3d.o thsurface.o thimport.o thsvg.o thepsparse.o thtrans.o thwarpp.o thwarppt.o thwarppme.o thwarp.o thexpshp.o thattr.o thtex.o therion.o extern/proj4/libproj.a make -C ./thbook pdftex thbook.tex This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./thbook.tex (./etc/supp-mis.tex loading : Context Support Macros / Miscellaneous (2004.10.26) ) (./etc/supp-pdf.tex loading : Context Support Macros / PDF ) (./etc/optarg.tex) (./etc/verbatim.tex) (./ch00.tex [1{/usr/local/texlive/200 7/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./pic/thbook.jpg>] (./version.tex) [2] (./etc/contents.tex [3] [4]) [5] [6]) (./ch01.tex [7 <./pic /ageom.pdf>] [8] [9] [MP to PDF] (./mp/schema.1) [10]) (./ch02.tex [11] [12 <./pic/agrippa.jpg>] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42]) (./ch03.tex [43] [44 <./pic/herakl.pdf>] [45] [46] [47] [48] [49] [50] [51] [MP to PDF] (./mp/page.1) [52 <./pic/page.pdf>] [53] [54] [55]) (./ch04.tex [56] [57] [58 <./pic/database.pdf>] [59]) (./ch05.tex [60] [61 <./pic/thom.jpg>] [62] [63] [64] [65] [66] [67] [68] [69]) (./ch06.tex [70] [71] [72] [73] [74] [75] [76] [77] [78] [79]) (./ch07.tex Warning: skipping the case studies) [80] )pdfTeX warning (dest): Pa ge 100 has been referenced but does not exist! pdfTeX warning (dest): Page 99 has been referenced but does not exist! pdfTeX warning (dest): Page 98 has been referenced but does not exist! pdfTeX warning (dest): Page 97 has been referenced but does not exist! pdfTeX warning (dest): Page 95 has been referenced but does not exist! pdfTeX warning (dest): Page 94 has been referenced but does not exist! pdfTeX warning (dest): Page 93 has been referenced but does not exist! pdfTeX warning (dest): Page 92 has been referenced but does not exist! pdfTeX warning (dest): Page 90 has been referenced but does not exist! pdfTeX warning (dest): Page 88 has been referenced but does not exist! pdfTeX warning (dest): Page 86 has been referenced but does not exist! pdfTeX warning (dest): Page 83 has been referenced but does not exist! pdfTeX warning (dest): Page 81 has been referenced but does not exist! </usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmbx10.pfb></usr/loc al/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmbx12.pfb></usr/local/texliv e/2007/texmf-dist/fonts/type1/bluesky/cm/cmbxti10.pfb></usr/local/texlive/2007/ texmf-dist/fonts/type1/bluesky/cm/cmex10.pfb></usr/local/texlive/2007/texmf-dis t/fonts/type1/bluesky/cm/cmmi10.pfb></usr/local/texlive/2007/texmf-dist/fonts/t ype1/bluesky/cm/cmmi5.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/blues ky/cm/cmmi7.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmmi 8.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb></us r/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr12.pfb></usr/local/te xlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr7.pfb></usr/local/texlive/2007/ texmf-dist/fonts/type1/bluesky/cm/cmr8.pfb></usr/local/texlive/2007/texmf-dist/ fonts/type1/bluesky/cm/cmssdc10.pfb></usr/local/texlive/2007/texmf-dist/fonts/t ype1/bluesky/cm/cmsy10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/blue sky/cm/cmsy7.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmt i10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmti12.pfb>< /usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmti8.pfb></usr/local /texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmtt10.pfb></usr/local/texlive/ 2007/texmf-dist/fonts/type1/bluesky/cm/cmtt12.pfb></usr/local/texlive/2007/texm f-dist/fonts/type1/public/archaic/givbc10.pfb></usr/local/texlive/2007/texmf-di st/fonts/type1/hoekwater/mflogo/logo10.pfb> Output written on thbook.pdf (80 pages, 599029 bytes). Transcript written on thbook.log. pdftex thbook.tex This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./thbook.tex (./etc/supp-mis.tex loading : Context Support Macros / Miscellaneous (2004.10.26) ) (./etc/supp-pdf.tex loading : Context Support Macros / PDF ) (./etc/optarg.tex) (./etc/verbatim.tex) (./ch00.tex [1{/usr/local/texlive/200 7/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./pic/thbook.jpg>] (./version.tex) [2] (./etc/contents.tex [3]) [4]) (./ch01.tex [5 <./pic/ageom.p df>] [6] [7] [MP to PDF] (./mp/schema.1) [8]) (./ch02.tex [9] [10 <./pic/agripp a.jpg>] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40]) (./ch03.tex [41] [42 <./pic/herakl.pdf>] [43] [44] [45] [46] [47] [48] [49] [MP to PDF] (./mp/page.1) [50 <./pic/page.pdf>] [51] [52] [53]) (./ch04.tex [54] [55] [56 <./pic/database.pdf>] [57]) (./ch05.tex [58] [59 <./pic/thom.jpg>] [60] [61] [62] [63] [64] [65] [66] [67]) (./ch06.tex [68] [69] [70] [71] [72] [73] [74] [75] [76] [77]) (./ch07.tex Warning: skipping the case studies) [78] )pdfTeX warning (dest): Page 80 has be en referenced but does not exist! pdfTeX warning (dest): Page 79 has been referenced but does not exist! </usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmbx10.pfb></usr/loc al/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmbx12.pfb></usr/local/texliv e/2007/texmf-dist/fonts/type1/bluesky/cm/cmbxti10.pfb></usr/local/texlive/2007/ texmf-dist/fonts/type1/bluesky/cm/cmex10.pfb></usr/local/texlive/2007/texmf-dis t/fonts/type1/bluesky/cm/cmmi10.pfb></usr/local/texlive/2007/texmf-dist/fonts/t ype1/bluesky/cm/cmmi5.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/blues ky/cm/cmmi7.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmmi 8.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb></us r/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr12.pfb></usr/local/te xlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr7.pfb></usr/local/texlive/2007/ texmf-dist/fonts/type1/bluesky/cm/cmr8.pfb></usr/local/texlive/2007/texmf-dist/ fonts/type1/bluesky/cm/cmssdc10.pfb></usr/local/texlive/2007/texmf-dist/fonts/t ype1/bluesky/cm/cmsy10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/blue sky/cm/cmsy7.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmt i10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmti12.pfb>< /usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmti8.pfb></usr/local /texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmtt10.pfb></usr/local/texlive/ 2007/texmf-dist/fonts/type1/bluesky/cm/cmtt12.pfb></usr/local/texlive/2007/texm f-dist/fonts/type1/public/archaic/givbc10.pfb></usr/local/texlive/2007/texmf-di st/fonts/type1/hoekwater/mflogo/logo10.pfb> Output written on thbook.pdf (78 pages, 593938 bytes). Transcript written on thbook.log. pdftex thbook.tex This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./thbook.tex (./etc/supp-mis.tex loading : Context Support Macros / Miscellaneous (2004.10.26) ) (./etc/supp-pdf.tex loading : Context Support Macros / PDF ) (./etc/optarg.tex) (./etc/verbatim.tex) (./ch00.tex [1{/usr/local/texlive/200 7/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./pic/thbook.jpg>] (./version.tex) [2] (./etc/contents.tex [3]) [4]) (./ch01.tex [5 <./pic/ageom.p df>] [6] [7] [MP to PDF] (./mp/schema.1) [8]) (./ch02.tex [9] [10 <./pic/agripp a.jpg>] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40]) (./ch03.tex [41] [42 <./pic/herakl.pdf>] [43] [44] [45] [46] [47] [48] [49] [MP to PDF] (./mp/page.1) [50 <./pic/page.pdf>] [51] [52] [53]) (./ch04.tex [54] [55] [56 <./pic/database.pdf>] [57]) (./ch05.tex [58] [59 <./pic/thom.jpg>] [60] [61] [62] [63] [64] [65] [66] [67]) (./ch06.tex [68] [69] [70] [71] [72] [73] [74] [75] [76] [77]) (./ch07.tex Warning: skipping the case studies) [78] )</usr/local/texlive/2007/texmf-dist/f onts/type1/bluesky/cm/cmbx10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type 1/bluesky/cm/cmbx12.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky /cm/cmbxti10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cme x10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmmi10.pfb>< /usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmmi5.pfb></usr/local /texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmmi7.pfb></usr/local/texlive/2 007/texmf-dist/fonts/type1/bluesky/cm/cmmi8.pfb></usr/local/texlive/2007/texmf- dist/fonts/type1/bluesky/cm/cmr10.pfb></usr/local/texlive/2007/texmf-dist/fonts /type1/bluesky/cm/cmr12.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/blu esky/cm/cmr7.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr 8.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmssdc10.pfb>< /usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmsy10.pfb></usr/loca l/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmsy7.pfb></usr/local/texlive/ 2007/texmf-dist/fonts/type1/bluesky/cm/cmti10.pfb></usr/local/texlive/2007/texm f-dist/fonts/type1/bluesky/cm/cmti12.pfb></usr/local/texlive/2007/texmf-dist/fo nts/type1/bluesky/cm/cmti8.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/ bluesky/cm/cmtt10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/c m/cmtt12.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/public/archaic/giv bc10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/hoekwater/mflogo/logo1 0.pfb> Output written on thbook.pdf (78 pages, 594101 bytes). Transcript written on thbook.log. perl ../makefile.pl rm ./thbook.log make -C ./xtherion tclsh mkall.tcl
Hi all, after some changes in the general makefile (so that it tries to build loch), here's the result... (in the attachment). I'm trying with latest version... thierrygonon a écrit :
Hi all,
sorry for coming back on an old topic... I've installed vtk as described, and tried to compile latest therion, including loch, with the indicated changes, but it doesn't work. In the log file (see attachments), it seems that it didn't even try to compile Loch... Any idea ?
Thanks
Thierry
Martin Sluka a écrit :
This one according m.l. works too
m.s.
# PLATFORM MACOSX CXX = c++ CC = cc VTKPATH = /Users/confero_4/Development/VTKBin VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.4 VTKLIBPATH = $(VTKPATH)/lib/vtk-5.4 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lvtkjpeg -lvtkpng -lvtkzlib -lvtksys -lfreetype -lGLU -lGL POBJECTS = getline.o CXXPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cxxflags) -I$(VTKINCLUDEPATH) -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 CCPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cflags) -I/usr/X11R6/include LXLIBDIR = PLIBS = -lz -L/usr/X11R6/lib $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $(VTKLIBS) POSTMAKE = cp -f ./loch ./loch.app/Contents/MacOS STRIPFLAG =
# PLATFORM ENDCONFIG
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
------------------------------------------------------------------------
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
cc -c -Wall -D_GNU_SOURCE -DLOCH -O2 -o lxTR.o lxTR.c In file included from lxTR.c:42: lxTR.h:92:19: error: GL/gl.h: No such file or directory lxTR.h:93:20: error: GL/glu.h: No such file or directory In file included from lxTR.c:42: lxTR.h:136: error: parse error before 'GLint' lxTR.h:138: error: parse error before 'GLenum' lxTR.h:142: error: parse error before 'GLint' lxTR.h:144: error: parse error before 'GLenum' lxTR.h:151: error: parse error before 'trGet' lxTR.h:151: warning: type defaults to 'int' in declaration of 'trGet' lxTR.h:151: warning: data definition has no type or storage class lxTR.h:155: error: parse error before 'GLdouble' lxTR.h:160: error: parse error before 'GLdouble' lxTR.h:165: error: parse error before 'GLdouble' lxTR.h:174: error: parse error before 'GLfloat' lxTR.c:56: error: parse error before 'GLint' lxTR.c:56: warning: no semicolon at end of struct or union lxTR.c:57: warning: type defaults to 'int' in declaration of 'ImageFormat' lxTR.c:57: warning: type defaults to 'int' in declaration of 'ImageType' lxTR.c:57: warning: data definition has no type or storage class lxTR.c:58: error: parse error before '*' token lxTR.c:58: warning: type defaults to 'int' in declaration of 'ImageBuffer' lxTR.c:58: warning: data definition has no type or storage class lxTR.c:61: error: parse error before 'TileWidth' lxTR.c:61: warning: type defaults to 'int' in declaration of 'TileWidth' lxTR.c:61: warning: type defaults to 'int' in declaration of 'TileHeight' lxTR.c:61: warning: data definition has no type or storage class lxTR.c:62: error: parse error before 'TileWidthNB' lxTR.c:62: warning: type defaults to 'int' in declaration of 'TileWidthNB' lxTR.c:62: warning: type defaults to 'int' in declaration of 'TileHeightNB' lxTR.c:62: warning: data definition has no type or storage class lxTR.c:63: error: parse error before 'TileBorder' lxTR.c:63: warning: type defaults to 'int' in declaration of 'TileBorder' lxTR.c:63: warning: data definition has no type or storage class lxTR.c:64: error: parse error before 'TileFormat' lxTR.c:64: warning: type defaults to 'int' in declaration of 'TileFormat' lxTR.c:64: warning: type defaults to 'int' in declaration of 'TileType' lxTR.c:64: warning: data definition has no type or storage class lxTR.c:65: error: parse error before '*' token lxTR.c:65: warning: type defaults to 'int' in declaration of 'TileBuffer' lxTR.c:65: warning: data definition has no type or storage class lxTR.c:68: error: parse error before 'Perspective' lxTR.c:68: warning: type defaults to 'int' in declaration of 'Perspective' lxTR.c:68: warning: data definition has no type or storage class lxTR.c:69: error: parse error before 'Left' lxTR.c:69: warning: type defaults to 'int' in declaration of 'Left' lxTR.c:69: warning: data definition has no type or storage class lxTR.c:70: error: parse error before 'Right' lxTR.c:70: warning: type defaults to 'int' in declaration of 'Right' lxTR.c:70: warning: data definition has no type or storage class lxTR.c:71: error: parse error before 'Bottom' lxTR.c:71: warning: type defaults to 'int' in declaration of 'Bottom' lxTR.c:71: warning: data definition has no type or storage class lxTR.c:72: error: parse error before 'Top' lxTR.c:72: warning: type defaults to 'int' in declaration of 'Top' lxTR.c:72: warning: data definition has no type or storage class lxTR.c:73: error: parse error before 'Near' lxTR.c:73: warning: type defaults to 'int' in declaration of 'Near' lxTR.c:73: warning: data definition has no type or storage class lxTR.c:74: error: parse error before 'Far' lxTR.c:74: warning: type defaults to 'int' in declaration of 'Far' lxTR.c:74: warning: data definition has no type or storage class lxTR.c:78: error: parse error before 'Rows' lxTR.c:78: warning: type defaults to 'int' in declaration of 'Rows' lxTR.c:78: warning: type defaults to 'int' in declaration of 'Columns' lxTR.c:78: warning: data definition has no type or storage class lxTR.c:79: error: parse error before 'CurrentTile' lxTR.c:79: warning: type defaults to 'int' in declaration of 'CurrentTile' lxTR.c:79: warning: data definition has no type or storage class lxTR.c:80: error: parse error before 'CurrentTileWidth' lxTR.c:80: warning: type defaults to 'int' in declaration of 'CurrentTileWidth' lxTR.c:80: warning: type defaults to 'int' in declaration of 'CurrentTileHeight' lxTR.c:80: warning: data definition has no type or storage class lxTR.c:81: error: parse error before 'CurrentRow' lxTR.c:81: warning: type defaults to 'int' in declaration of 'CurrentRow' lxTR.c:81: warning: type defaults to 'int' in declaration of 'CurrentColumn' lxTR.c:81: warning: data definition has no type or storage class lxTR.c:83: error: parse error before 'ViewportSave' lxTR.c:83: warning: type defaults to 'int' in declaration of 'ViewportSave' lxTR.c:83: warning: data definition has no type or storage class lxTR.c:84: error: parse error before '}' token lxTR.c: In function 'Setup': lxTR.c:96: error: dereferencing pointer to incomplete type lxTR.c:96: error: dereferencing pointer to incomplete type lxTR.c:96: error: dereferencing pointer to incomplete type lxTR.c:96: error: dereferencing pointer to incomplete type lxTR.c:97: error: dereferencing pointer to incomplete type lxTR.c:97: error: dereferencing pointer to incomplete type lxTR.c:97: error: dereferencing pointer to incomplete type lxTR.c:97: error: dereferencing pointer to incomplete type lxTR.c:98: error: dereferencing pointer to incomplete type lxTR.c: In function 'trNew': lxTR.c:108: error: invalid application of 'sizeof' to incomplete type 'TRcontext' lxTR.c:110: error: dereferencing pointer to incomplete type lxTR.c:111: error: dereferencing pointer to incomplete type lxTR.c:112: error: dereferencing pointer to incomplete type lxTR.c:113: error: dereferencing pointer to incomplete type lxTR.c:114: error: dereferencing pointer to incomplete type lxTR.c: At top level: lxTR.c:128: error: parse error before 'GLint' lxTR.c: In function 'trTileSize': lxTR.c:130: error: 'tr' undeclared (first use in this function) lxTR.c:130: error: (Each undeclared identifier is reported only once lxTR.c:130: error: for each function it appears in.) lxTR.c:139: error: 'border' undeclared (first use in this function) lxTR.c:140: error: 'width' undeclared (first use in this function) lxTR.c:141: error: 'height' undeclared (first use in this function) lxTR.c: At top level: lxTR.c:149: error: parse error before 'GLenum' lxTR.c: In function 'trTileBuffer': lxTR.c:151: error: 'tr' undeclared (first use in this function) lxTR.c:154: error: 'format' undeclared (first use in this function) lxTR.c:155: error: 'type' undeclared (first use in this function) lxTR.c:156: error: 'image' undeclared (first use in this function) lxTR.c: At top level: lxTR.c:161: error: parse error before 'GLint' lxTR.c: In function 'trImageSize': lxTR.c:163: error: 'tr' undeclared (first use in this function) lxTR.c:166: error: 'width' undeclared (first use in this function) lxTR.c:167: error: 'height' undeclared (first use in this function) lxTR.c: At top level: lxTR.c:172: error: parse error before 'GLenum' lxTR.c: In function 'trImageBuffer': lxTR.c:174: error: 'tr' undeclared (first use in this function) lxTR.c:177: error: 'format' undeclared (first use in this function) lxTR.c:178: error: 'type' undeclared (first use in this function) lxTR.c:179: error: 'image' undeclared (first use in this function) lxTR.c: At top level: lxTR.c:183: error: parse error before 'trGet' lxTR.c:184: warning: return type defaults to 'int' lxTR.c: In function 'trGet': lxTR.c:190: error: dereferencing pointer to incomplete type lxTR.c:192: error: dereferencing pointer to incomplete type lxTR.c:194: error: dereferencing pointer to incomplete type lxTR.c:196: error: dereferencing pointer to incomplete type lxTR.c:198: error: dereferencing pointer to incomplete type lxTR.c:200: error: dereferencing pointer to incomplete type lxTR.c:202: error: dereferencing pointer to incomplete type lxTR.c:204: error: dereferencing pointer to incomplete type lxTR.c:207: error: dereferencing pointer to incomplete type lxTR.c:209: error: dereferencing pointer to incomplete type lxTR.c:212: error: dereferencing pointer to incomplete type lxTR.c:214: error: dereferencing pointer to incomplete type lxTR.c:216: error: dereferencing pointer to incomplete type lxTR.c:218: error: 'GLint' undeclared (first use in this function) lxTR.c:218: error: parse error before 'tr' lxTR.c: In function 'trRowOrder': lxTR.c:231: error: dereferencing pointer to incomplete type lxTR.c: At top level: lxTR.c:236: error: parse error before 'GLdouble' lxTR.c: In function 'trOrtho': lxTR.c:240: error: 'tr' undeclared (first use in this function) lxTR.c:243: error: 'GL_FALSE' undeclared (first use in this function) lxTR.c:244: error: 'left' undeclared (first use in this function) lxTR.c:245: error: 'right' undeclared (first use in this function) lxTR.c:246: error: 'bottom' undeclared (first use in this function) lxTR.c:247: error: 'top' undeclared (first use in this function) lxTR.c:248: error: 'zNear' undeclared (first use in this function) lxTR.c:249: error: 'zFar' undeclared (first use in this function) lxTR.c: At top level: lxTR.c:254: error: parse error before 'GLdouble' lxTR.c: In function 'trFrustum': lxTR.c:258: error: 'tr' undeclared (first use in this function) lxTR.c:261: error: 'GL_TRUE' undeclared (first use in this function) lxTR.c:262: error: 'left' undeclared (first use in this function) lxTR.c:263: error: 'right' undeclared (first use in this function) lxTR.c:264: error: 'bottom' undeclared (first use in this function) lxTR.c:265: error: 'top' undeclared (first use in this function) lxTR.c:266: error: 'zNear' undeclared (first use in this function) lxTR.c:267: error: 'zFar' undeclared (first use in this function) lxTR.c: At top level: lxTR.c:272: error: parse error before 'GLdouble' lxTR.c: In function 'trPerspective': lxTR.c:275: error: 'GLdouble' undeclared (first use in this function) lxTR.c:275: error: parse error before 'xmin' lxTR.c:276: error: 'ymax' undeclared (first use in this function) lxTR.c:276: error: 'zNear' undeclared (first use in this function) lxTR.c:276: error: 'fovy' undeclared (first use in this function) lxTR.c:277: error: 'ymin' undeclared (first use in this function) lxTR.c:278: error: 'xmin' undeclared (first use in this function) lxTR.c:278: error: 'aspect' undeclared (first use in this function) lxTR.c:279: error: 'xmax' undeclared (first use in this function) lxTR.c:280: error: 'tr' undeclared (first use in this function) lxTR.c:280: error: 'zFar' undeclared (first use in this function) lxTR.c: In function 'trBeginTile': lxTR.c:286: error: 'GLint' undeclared (first use in this function) lxTR.c:286: error: parse error before 'matrixMode' lxTR.c:288: error: 'GLdouble' undeclared (first use in this function) lxTR.c:293: error: dereferencing pointer to incomplete type lxTR.c:296: warning: implicit declaration of function 'glGetIntegerv' lxTR.c:296: error: 'GL_VIEWPORT' undeclared (first use in this function) lxTR.c:296: error: dereferencing pointer to incomplete type lxTR.c:300: error: dereferencing pointer to incomplete type lxTR.c:301: error: dereferencing pointer to incomplete type lxTR.c:301: error: dereferencing pointer to incomplete type lxTR.c:301: error: dereferencing pointer to incomplete type lxTR.c:302: error: dereferencing pointer to incomplete type lxTR.c:302: error: dereferencing pointer to incomplete type lxTR.c:302: error: dereferencing pointer to incomplete type lxTR.c:304: error: dereferencing pointer to incomplete type lxTR.c:305: error: dereferencing pointer to incomplete type lxTR.c:305: error: dereferencing pointer to incomplete type lxTR.c:305: error: dereferencing pointer to incomplete type lxTR.c:305: error: dereferencing pointer to incomplete type lxTR.c:306: error: dereferencing pointer to incomplete type lxTR.c:306: error: dereferencing pointer to incomplete type lxTR.c:306: error: dereferencing pointer to incomplete type lxTR.c:315: error: 'border' undeclared (first use in this function) lxTR.c:315: error: dereferencing pointer to incomplete type lxTR.c:318: error: dereferencing pointer to incomplete type lxTR.c:318: error: dereferencing pointer to incomplete type lxTR.c:319: error: 'tileHeight' undeclared (first use in this function) lxTR.c:319: error: dereferencing pointer to incomplete type lxTR.c:321: error: dereferencing pointer to incomplete type lxTR.c:321: error: dereferencing pointer to incomplete type lxTR.c:321: error: dereferencing pointer to incomplete type lxTR.c:323: error: dereferencing pointer to incomplete type lxTR.c:323: error: dereferencing pointer to incomplete type lxTR.c:324: error: 'tileWidth' undeclared (first use in this function) lxTR.c:324: error: dereferencing pointer to incomplete type lxTR.c:326: error: dereferencing pointer to incomplete type lxTR.c:326: error: dereferencing pointer to incomplete type lxTR.c:326: error: dereferencing pointer to incomplete type lxTR.c:329: error: dereferencing pointer to incomplete type lxTR.c:330: error: dereferencing pointer to incomplete type lxTR.c:332: warning: implicit declaration of function 'glViewport' lxTR.c:335: error: 'GL_MATRIX_MODE' undeclared (first use in this function) lxTR.c:335: error: 'matrixMode' undeclared (first use in this function) lxTR.c:336: warning: implicit declaration of function 'glMatrixMode' lxTR.c:336: error: 'GL_PROJECTION' undeclared (first use in this function) lxTR.c:337: warning: implicit declaration of function 'glLoadIdentity' lxTR.c:340: error: 'left' undeclared (first use in this function) lxTR.c:340: error: dereferencing pointer to incomplete type lxTR.c:340: error: dereferencing pointer to incomplete type lxTR.c:340: error: dereferencing pointer to incomplete type lxTR.c:341: error: dereferencing pointer to incomplete type lxTR.c:341: error: dereferencing pointer to incomplete type lxTR.c:341: error: dereferencing pointer to incomplete type lxTR.c:342: error: 'right' undeclared (first use in this function) lxTR.c:342: error: dereferencing pointer to incomplete type lxTR.c:342: error: dereferencing pointer to incomplete type lxTR.c:342: error: dereferencing pointer to incomplete type lxTR.c:343: error: 'bottom' undeclared (first use in this function) lxTR.c:343: error: dereferencing pointer to incomplete type lxTR.c:343: error: dereferencing pointer to incomplete type lxTR.c:343: error: dereferencing pointer to incomplete type lxTR.c:344: error: dereferencing pointer to incomplete type lxTR.c:344: error: dereferencing pointer to incomplete type lxTR.c:344: error: dereferencing pointer to incomplete type lxTR.c:345: error: 'top' undeclared (first use in this function) lxTR.c:345: error: dereferencing pointer to incomplete type lxTR.c:345: error: dereferencing pointer to incomplete type lxTR.c:345: error: dereferencing pointer to incomplete type lxTR.c:347: error: dereferencing pointer to incomplete type lxTR.c:348: warning: implicit declaration of function 'glFrustum' lxTR.c:348: error: dereferencing pointer to incomplete type lxTR.c:348: error: dereferencing pointer to incomplete type lxTR.c:350: warning: implicit declaration of function 'glOrtho' lxTR.c:350: error: dereferencing pointer to incomplete type lxTR.c:350: error: dereferencing pointer to incomplete type lxTR.c: In function 'trEndTile': lxTR.c:360: error: 'GLint' undeclared (first use in this function) lxTR.c:360: error: parse error before 'prevRowLength' lxTR.c:368: warning: implicit declaration of function 'glFinish' lxTR.c:371: error: 'GL_PACK_ROW_LENGTH' undeclared (first use in this function) lxTR.c:371: error: 'prevRowLength' undeclared (first use in this function) lxTR.c:372: error: 'GL_PACK_SKIP_ROWS' undeclared (first use in this function) lxTR.c:372: error: 'prevSkipRows' undeclared (first use in this function) lxTR.c:373: error: 'GL_PACK_SKIP_PIXELS' undeclared (first use in this function) lxTR.c:373: error: 'prevSkipPixels' undeclared (first use in this function) lxTR.c:376: error: dereferencing pointer to incomplete type lxTR.c:377: error: parse error before 'srcX' lxTR.c:381: warning: implicit declaration of function 'glReadPixels' lxTR.c:381: error: 'srcX' undeclared (first use in this function) lxTR.c:381: error: 'srcY' undeclared (first use in this function) lxTR.c:381: error: 'srcWidth' undeclared (first use in this function) lxTR.c:381: error: 'srcHeight' undeclared (first use in this function) lxTR.c:382: error: dereferencing pointer to incomplete type lxTR.c:382: error: dereferencing pointer to incomplete type lxTR.c:382: error: dereferencing pointer to incomplete type lxTR.c:385: error: dereferencing pointer to incomplete type lxTR.c:386: error: parse error before 'srcX' lxTR.c:394: warning: implicit declaration of function 'glPixelStorei' lxTR.c:394: error: dereferencing pointer to incomplete type lxTR.c:395: error: 'destY' undeclared (first use in this function) lxTR.c:396: error: 'destX' undeclared (first use in this function) lxTR.c:401: error: dereferencing pointer to incomplete type lxTR.c:401: error: dereferencing pointer to incomplete type lxTR.c:401: error: dereferencing pointer to incomplete type lxTR.c:411: error: dereferencing pointer to incomplete type lxTR.c:412: error: dereferencing pointer to incomplete type lxTR.c:412: error: dereferencing pointer to incomplete type lxTR.c:412: error: dereferencing pointer to incomplete type lxTR.c:414: error: dereferencing pointer to incomplete type lxTR.c:414: error: dereferencing pointer to incomplete type lxTR.c:415: error: dereferencing pointer to incomplete type lxTR.c:415: error: dereferencing pointer to incomplete type lxTR.c:416: error: dereferencing pointer to incomplete type lxTR.c: At top level: lxTR.c:428: error: parse error before 'GLfloat' lxTR.c: In function 'trRasterPos3f': lxTR.c:430: error: 'tr' undeclared (first use in this function) lxTR.c:432: warning: implicit declaration of function 'glRasterPos3f' lxTR.c:432: error: 'x' undeclared (first use in this function) lxTR.c:432: error: 'y' undeclared (first use in this function) lxTR.c:432: error: 'z' undeclared (first use in this function) lxTR.c:435: error: 'GLdouble' undeclared (first use in this function) lxTR.c:435: error: parse error before 'modelview' lxTR.c:436: error: 'GLint' undeclared (first use in this function) lxTR.c:440: warning: implicit declaration of function 'glGetDoublev' lxTR.c:440: error: 'GL_MODELVIEW_MATRIX' undeclared (first use in this function) lxTR.c:440: error: 'modelview' undeclared (first use in this function) lxTR.c:441: error: 'GL_PROJECTION_MATRIX' undeclared (first use in this function) lxTR.c:441: error: 'proj' undeclared (first use in this function) lxTR.c:442: error: 'viewport' undeclared (first use in this function) lxTR.c:448: warning: implicit declaration of function 'gluProject' lxTR.c:448: error: 'winX' undeclared (first use in this function) lxTR.c:448: error: 'winY' undeclared (first use in this function) lxTR.c:448: error: 'winZ' undeclared (first use in this function) lxTR.c:451: error: 'GL_MODELVIEW' undeclared (first use in this function) lxTR.c:452: warning: implicit declaration of function 'glPushMatrix' lxTR.c:454: error: 'GL_PROJECTION' undeclared (first use in this function) lxTR.c:459: error: 'GLfloat' undeclared (first use in this function) lxTR.c:463: error: 'GLubyte' undeclared (first use in this function) lxTR.c:463: error: parse error before 'bitmap' lxTR.c:464: warning: implicit declaration of function 'glBitmap' lxTR.c:464: error: parse error before 'winX' lxTR.c:468: warning: implicit declaration of function 'glPopMatrix' lxTR.c: At top level: lxTR.c:477: error: parse error before '}' token make[1]: *** [lxTR.o] Error 1 make: *** [loch/loch] Error 2
participants (4)
-
Martin Luethi -
Martin Sluka -
thierrygonon -
Wookey