Loading ...
Sorry, an error occurred while loading the content.

Re: [vtp] Re: Compile Failure - SuSE

Expand Messages
  • Carl
    ... Hash: SHA1 Thanks Ben. ... Ah, so deleting them is in order. I ve now deleted all the UNPACK script recommends except data files. ... LOL, this is
    Message 1 of 16 , Jan 1, 2003
    View Source
    • 0 Attachment
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      Thanks Ben.

      On Tuesday 31 December 2002 17:15, Ben Discoe wrote:
      > A .dsp is a Microsoft Visual C++ project file. You generally will *not* be
      > using them on Unix, unless there is a Unix script which attempts to be
      > tricky and parse the .dsp for the set of files to build.

      Ah, so deleting them is in order. I've now deleted all the UNPACK script
      recommends except data files.


      > > The sub-Makefiles are what's calling the .dsp's, and in reading
      > > the .dsp's they have M$ splattered all over them. This can't be right.
      >
      > Indeed that does not sound right. I don't see anywhere the Makefiles are
      > calling the .dsp files directly, they should not.

      LOL, this is interesting: you're right, the Makefiles look fine if you DO NOT
      ./configure . But configure changes them to include Makedefs.in, and removes
      Make.defs, both of which are wrong for us. So do not ./configure! I guess
      this is because Makefile.in feeds ./configure and is set for Winduhs?

      I'm getting much further in the make, but now get a failure looking for
      netCDF, which I previously couldn't find. But now I have:
      http://www.unidata.ucar.edu/packages/netcdf/

      Trying to build that now, but it's fighting back.

      Any help appreciated.
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.0.7 (GNU/Linux)

      iEYEARECAAYFAj4TKKAACgkQnQ18+PFcZJsJAQCeNut3QDEkiIUS6cOnS3BHyJHh
      EqMAniB6p2yatly/LWMVHon9R7WQt2hS
      =ueIU
      -----END PGP SIGNATURE-----
    • Carl
      ... Hash: SHA1 I guess I can t get netcdf compiled. This is getting discouraging. I m running out of time. I still have no idea whether VTP could work with
      Message 2 of 16 , Jan 1, 2003
      View Source
      • 0 Attachment
        -----BEGIN PGP SIGNED MESSAGE-----
        Hash: SHA1

        I guess I can't get netcdf compiled.

        This is getting discouraging. I'm running out of time.
        I still have no idea whether VTP could work with GPS.

        I have no idea how to specify which Fortran machine I have, but I removed
        fortran from the Makefile's all section, and then it crapped out
        differently.

        And why is this one unable to test my compilers when others can?


        hydra:/dl/GPS/netcdf-3.5.0 # ./configure --prefix=/usr/local/share
        creating cache ./config.cache
        checking for top-level source-directory
        /dl/GPS/netcdf-3.5.0
        checking for m4 preprocessor
        checking for m4... m4
        checking m4 flags... -B10000
        checking for xlc... no
        checking for c89... no
        checking for acc... no
        checking for cc... cc
        checking C compiler "cc"... works
        checking how to make dependencies... false
        checking for CC... no
        checking for cxx... no
        checking for c++... c++
        checking C++ compiler "c++"... configure: warning: c++ failed on test program
        checking for g++... g++
        checking C++ compiler "g++"... configure: warning: g++ failed on test program
        checking for gcc... gcc
        checking C++ compiler "gcc"... configure: warning: gcc failed on test program
        configure: warning: Could not find working C++ compiler
        configure: warning: Setting CXX to the empty string
        configure: warning: The C++ interface will not be built
        checking how to run the C preprocessor... cc -E
        checking for f77... f77
        checking for Fortran .F compiler...
        checking if Fortran-77 compiler handles *.F files... yes
        checking "f77" as Fortran-90 compiler... failed to build test program
        checking for xlf90... no
        checking for f90... no
        configure: warning: Could not find working Fortran-90 compiler
        configure: warning: The Fortran-90 interface will not be built
        checking for nm utility
        checking for nm... nm
        checking nm flags...
        checking for C-equivalent to Fortran routine "SUB"... sub_
        checking for Fortran "byte"... yes
        checking for Fortran "integer*2"... yes
        checking if Fortran "byte" is C "signed char"... yes
        checking if Fortran "byte" is C "short"... no
        checking if Fortran "byte" is C "int"... no
        checking if Fortran "byte" is C "long"... no
        checking if Fortran "integer*2" is C "short"... yes
        checking if Fortran "integer*2" is C "int"... no
        checking if Fortran "integer*2" is C "long"... no
        checking if Fortran "integer" is C "int"... yes
        checking if Fortran "real" is C "float"... yes
        checking if Fortran "doubleprecision" is C "double"... yes
        checking for Fortran-equivalent to netCDF "byte"... byte
        checking for Fortran-equivalent to netCDF "short"... integer*2
        checking for math library
        checking for tanh in -lc... no
        checking for tanh in -lm... yes
        checking for ar utility
        checking for ar... ar
        checking ar flags... cru
        checking for nm utility
        checking for nm... (cached) nm
        checking nm flags...
        checking for ranlib... ranlib
        checking for stdlib.h... yes
        checking for sys/types.h... yes
        checking for strerror... yes
        checking for working ftruncate()... yes
        checking for working alloca.h... yes
        checking for alloca... yes
        checking for st_blksize in struct stat... yes
        checking for IEEE floating point format... yes
        checking for ANSI C header files... yes
        checking for size_t... yes
        checking for off_t... yes
        checking for ssize_t... yes
        checking for ptrdiff_t... yes
        checking for uchar... no
        checking whether char is unsigned... no
        checking whether byte ordering is bigendian... no
        checking size of short... 2
        checking size of int... 4
        checking size of long... 4
        checking size of float... 4
        checking size of double... 8
        checking size of off_t... 4
        checking size of size_t... 4
        checking for manual-page index command...
        checking binary distribution directory... /home/ftp/pub/binary/dummy_system
        updating cache ./config.cache
        creating ./config.status
        creating macros.make
        udcreating fortran/nfconfig.inc
        creating libsrc/ncconfig.h
        hydra:/dl/GPS/netcdf-3.5.0 # make
        make[1]: Entering directory `/dl/GPS/netcdf-3.5.0'

        Making `all' in directory /dl/GPS/netcdf-3.5.0/libsrc

        make[2]: Entering directory `/dl/GPS/netcdf-3.5.0/libsrc'
        cc -c -O -I. -DNDEBUG attr.c
        cc -c -O -I. -DNDEBUG dim.c
        cc -c -O -I. -DNDEBUG error.c
        cc -c -O -I. -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c
        cc -c -O -I. -DNDEBUG nc.c
        cc -c -O -I. -DNDEBUG ncio.c
        cc -c -O -I. -DNDEBUG ncx.c
        cc -c -O -I. -DNDEBUG putget.c
        cc -c -O -I. -DNDEBUG string.c
        cc -c -O -I. -DNDEBUG v1hpg.c
        cc -c -O -I. -DNDEBUG v2i.c
        cc -c -O -I. -DNDEBUG var.c
        ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o
        string.o v1hpg.o v2i.o var.o
        ranlib libnetcdf.a
        make[2]: Leaving directory `/dl/GPS/netcdf-3.5.0/libsrc'

        Returning to directory /dl/GPS/netcdf-3.5.0

        make[1]: Leaving directory `/dl/GPS/netcdf-3.5.0'
        make[1]: Entering directory `/dl/GPS/netcdf-3.5.0'

        Making `all' in directory /dl/GPS/netcdf-3.5.0/fortran

        make[2]: Entering directory `/dl/GPS/netcdf-3.5.0/fortran'
        cc -c -O -I../libsrc -DNDEBUG fort-attio.c
        In file included from ncfortran.h:13,
        from fort-attio.c:6:
        cfortran.h:134:3: #error "cfortran.h: Can't find your environment among: -
        MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, ...) - IBM
        AIX XL C and FORTRAN Compiler/6000 Version 01.01.0000.0000 - VAX
        VMS CC 3.1 and FORTRAN 5.4. - Alpha VMS
        DEC C 1.3 and DEC FORTRAN 6.0. - Alpha OSF DEC
        C and DEC Fortran for OSF/1 AXP Version 1.2 - Apollo DomainOS
        10.2 (sys5.3) with f77 10.7 and cc 6.7. - CRAY
        - - NEC SX-4 SUPER-UX -
        CONVEX - Sun
        - - PowerStation Fortran with Visual C++ -
        HP9000s300/s700/s800 Latest test with: HP-UX A.08.07 A 9000/730 -
        LynxOS: cc or gcc with f2c. -
        VAXUltrix: vcc,cc or gcc with f2c. gcc or cc with f77. -
        f77 with vcc works; but missing link magic for f77 I/O. - NO
        fort. None of gcc, cc or vcc generate required names. - f2c : Use
        #define f2cFortran, or cc -Df2cFortran - NAG f90: Use
        #define NAGf90Fortran, or cc -DNAGf90Fortran - Absoft UNIX F77:
        Use #define AbsoftUNIXFortran or cc -DAbsoftUNIXFortran - Absoft Pro
        Fortran: Use #define AbsoftProFortran - Portland Group Fortran: Use
        #define pgiFortran"
        make[2]: *** [fort-attio.o] Error 1
        make[2]: Leaving directory `/dl/GPS/netcdf-3.5.0/fortran'
        make[1]: *** [subdir_target] Error 1
        make[1]: Leaving directory `/dl/GPS/netcdf-3.5.0'
        make: *** [fortran/all] Error 2
        hydra:/dl/GPS/netcdf-3.5.0 #
        -----BEGIN PGP SIGNATURE-----
        Version: GnuPG v1.0.7 (GNU/Linux)

        iEYEARECAAYFAj4TMawACgkQnQ18+PFcZJvF7ACeP+EeQ3hD4WZk1VoAOtG6U261
        cKcAn0VpdGDB2DXzgGrXlKKsrRTc6lP8
        =D9SJ
        -----END PGP SIGNATURE-----
      • Norman Vine
        ... AFAICT It compled for you see below ... g77 is the standard Fortran compiler but you can disable the Fortran support completely with FC= F90=
        Message 3 of 16 , Jan 1, 2003
        View Source
        • 0 Attachment
          Carl writes:
          >
          > I guess I can't get netcdf compiled.

          AFAICT It compled for you see below

          > I have no idea how to specify which Fortran machine I have, but I removed
          > fortran from the Makefile's all section, and then it crapped out
          > differently.

          g77 is the standard Fortran compiler but you can disable the Fortran
          support completely with

          FC="" F90="" ./configure

          see "netcdf-3.5.0 / src / Install.html"

          > make[1]: Entering directory `/dl/GPS/netcdf-3.5.0'
          >
          > Making `all' in directory /dl/GPS/netcdf-3.5.0/libsrc
          >
          > make[2]: Entering directory `/dl/GPS/netcdf-3.5.0/libsrc'

          > ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o
          > string.o v1hpg.o v2i.o var.o
          > ranlib libnetcdf.a

          It appears as if "libnetcdf.a" got built OK

          HTH

          Norman
        • Carl
          ... Hash: SHA1 ... So apparently Fortran is not needed with VTP? ... Eh? Is that the nub? The root? The nugget? If so, where does it go, /usr/local/lib?
          Message 4 of 16 , Jan 1, 2003
          View Source
          • 0 Attachment
            -----BEGIN PGP SIGNED MESSAGE-----
            Hash: SHA1

            On Wednesday 1 January 2003 13:11, Norman Vine wrote:
            > g77 is the standard Fortran compiler but you can disable the Fortran
            > support completely with
            >
            > FC="" F90="" ./configure

            So apparently Fortran is not needed with VTP?


            > It appears as if "libnetcdf.a" got built OK

            Eh? Is that the nub? The root? The nugget?

            If so, where does it go, /usr/local/lib? And what about includes? Or does
            this go in includes? (I guess I'm a n00b)

            And how would I recognize this with the next (completely different) app?


            Well I just tried putting libnetcdf.a in /usr/local/lib , but make failed the
            same way, asking for netcdf.h . I unpacked the .a, and there are only .o's
            in there. So I copied netcdf/libsrc/netcdf.h to /usr/lib/include, and tried
            a TerrainSDK compile from Mew-modified source again.

            Got alot further this time, but hit an error I simply do not understand:
            (Don't worry about the "cc1plus: warning: changing search order for system
            directory "/usr/local/include"" and "cc1plus: warning: as it has already
            been specified as a non-system directory". Because my compiler is a newer
            one, doing additional checks)


            hydra:/dl/GPS/VTP/TerrainSDK # make
            cd vtdata ; make all
            make[1]: Entering directory `/dl/GPS/VTP/TerrainSDK/vtdata'
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o ElevationGridIO.o
            ElevationGridIO.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            ElevationGridIO.cpp:23:20: netcdf.h: No such file or directory
            ElevationGridIO.cpp: In member function `bool
            vtElevationGrid::LoadFromCDF(const char*, void (*)(int))':
            ElevationGridIO.cpp:475: `NC_NOWRITE' undeclared (first use this function)
            ElevationGridIO.cpp:475: (Each undeclared identifier is reported only once for
            each function it appears in.)
            ElevationGridIO.cpp:475: `nc_open' undeclared (first use this function)
            ElevationGridIO.cpp:476: `NC_NOERR' undeclared (first use this function)
            ElevationGridIO.cpp:483: `nc_inq_dimid' undeclared (first use this function)
            ElevationGridIO.cpp:486: `nc_inq_dimlen' undeclared (first use this function)
            ElevationGridIO.cpp:491: `nc_inq_varid' undeclared (first use this function)
            ElevationGridIO.cpp:501: `nc_get_var_double' undeclared (first use this
            function)
            ElevationGridIO.cpp:505: `nc_get_var_int' undeclared (first use this function)
            ElevationGridIO.cpp:513: `nc_close' undeclared (first use this function)
            make[1]: *** [ElevationGridIO.o] Error 1
            make[1]: Leaving directory `/dl/GPS/VTP/TerrainSDK/vtdata'
            make: *** [all] Error 2
            hydra:/dl/GPS/VTP/TerrainSDK # make clean
            cd vtdata ; make clean
            make[1]: Entering directory `/dl/GPS/VTP/TerrainSDK/vtdata'
            rm -rf Building.o ByteOrder.o Content.o DLG.o ElevationGrid.o
            ElevationGridIO.o Features.o Fence.o FilePath.o GEOnet.o Geodesic.o
            HeightField.o Icosa.o LULC.o LocalConversion.o MathTypes.o Plants.o
            Projections.o RoadMap.o StructArray.o Structure.o Triangulate.o Unarchive.o
            UtilityMap.o WFSClient.o vtDIB.o vtLog.o vtString.o vtTin.o boost/directory.o
            ii_files so_locations
            make[1]: Leaving directory `/dl/GPS/VTP/TerrainSDK/vtdata'
            cd xmlhelper ; make clean
            make[1]: Entering directory `/dl/GPS/VTP/TerrainSDK/xmlhelper'
            rm -rf hashtable.o xmlparse.o xmlrole.o xmltok.o easyxml.o exception.o
            ii_files so_locations
            make[1]: Leaving directory `/dl/GPS/VTP/TerrainSDK/xmlhelper'
            cd vtlib/vtosg; make clean
            make[1]: Entering directory `/dl/GPS/VTP/TerrainSDK/vtlib/vtosg'
            rm -rf ImageOSG.o MeshMat.o NodeOSG.o SceneOSG.o ../core/AttribMap.o
            ../core/BryanTerrain.o ../core/Building3d.o ../core/CoreMeshMat.o
            ../core/CoreScene.o ../core/CustomTerrain.o ../core/DemeterTerrain.o
            ../core/DynTerrain.o ../core/Engine.o ../core/Fence3d.o ../core/FrameTimer.o
            ../core/IntersectionEngine.o ../core/Location.o ../core/LodGrid.o
            ../core/NavEngines.o ../core/Roads.o ../core/Route.o ../core/SMTerrain.o
            ../core/SRTerrain.o ../core/SkyDome.o ../core/Structure3d.o ../core/TParams.o
            ../core/TVTerrain.o ../core/Terrain.o ../core/TerrainPatch.o
            ../core/TerrainScene.o ../core/TerrainSurface.o ../core/TimeEngines.o
            ../core/Trees.o ../core/vtSOG.o ../core/vtTin3d.o ii_files so_locations
            make[1]: Leaving directory `/dl/GPS/VTP/TerrainSDK/vtlib/vtosg'
            cd vtui ; make clean
            make[1]: Entering directory `/dl/GPS/VTP/TerrainSDK/vtui'
            rm -rf AutoDialog.o BuildingDlg.o pre.o vtui_wdr.o ii_files so_locations
            make[1]: Leaving directory `/dl/GPS/VTP/TerrainSDK/vtui'
            hydra:/dl/GPS/VTP/TerrainSDK # make
            cd vtdata ; make all
            make[1]: Entering directory `/dl/GPS/VTP/TerrainSDK/vtdata'
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o Building.o
            Building.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o ByteOrder.o
            ByteOrder.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o Content.o Content.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o DLG.o DLG.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o ElevationGrid.o
            ElevationGrid.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o ElevationGridIO.o
            ElevationGridIO.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o Features.o
            Features.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o Fence.o Fence.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
            - -I/usr/local/include -I/dl/GPS/VTP/TerrainSDK/ -c -o FilePath.o
            FilePath.cpp
            cc1plus: warning: changing search order for system directory
            "/usr/local/include"
            cc1plus: warning: as it has already been specified as a non-system directory
            In file included from FilePath.cpp:11:
            boost/directory.h:62: parse error before `<' token
            boost/directory.h:71: friend declaration not in class definition
            boost/directory.h:76: parse error before `public'
            boost/directory.h:84: friend declaration requires class-key, i.e. `friend
            class
            boost::filesystem::dir_it'
            boost/directory.h:92: parse error before `)' token
            boost/directory.h:93: parse error before `const'
            boost/directory.h:94: parse error before `const'
            boost/directory.h:95: destructors must be member functions
            boost/directory.h:96: syntax error before `&' token
            boost/directory.h:98: non-member function `std::string
            boost::filesystem::operator*()' cannot have `const' method qualifier
            boost/directory.h:98: `std::string boost::filesystem::operator*()' must have
            an
            argument of class or enumerated type
            boost/directory.h:98: `std::string boost::filesystem::operator*()' must take
            either one or two arguments
            boost/directory.h:99: syntax error before `&' token
            boost/directory.h:100: `boost::filesystem::proxy
            boost::filesystem::operator++(int)' must have an argument of class or
            enumerated type
            boost/directory.h:102: parse error before `const'
            boost/directory.h:102: non-member function `bool
            boost::filesystem::operator==(...)' cannot have `const' method qualifier
            boost/directory.h:102: `bool boost::filesystem::operator==(...)' must have an
            argument of class or enumerated type
            boost/directory.h:102: `bool boost::filesystem::operator==(...)' must take
            exactly two arguments
            boost/directory.h:103: parse error before `const'
            boost/directory.h:103: non-member function `bool
            boost::filesystem::operator!=(...)' cannot have `const' method qualifier
            boost/directory.h:103: `bool boost::filesystem::operator!=(...)' must have an
            argument of class or enumerated type
            boost/directory.h:103: `bool boost::filesystem::operator!=(...)' must take
            exactly two arguments
            boost/directory.h:106: parse error before `private'
            boost/directory.h:123: `dir_it' was not declared in this scope
            boost/directory.h:123: parse error before `const'
            boost/directory.h:123: `get' is not a function template
            boost/directory.h:124: `dir_it' was not declared in this scope
            boost/directory.h:124: parse error before `const'
            boost/directory.h:124: `get' is not a function template
            boost/directory.h:125: `dir_it' was not declared in this scope
            boost/directory.h:125: parse error before `const'
            boost/directory.h:125: `get' is not a function template
            boost/directory.h:126: `dir_it' was not declared in this scope
            boost/directory.h:126: parse error before `const'
            boost/directory.h:126: `get' is not a function template
            boost/directory.h:127: `dir_it' was not declared in this scope
            boost/directory.h:127: parse error before `const'
            boost/directory.h:127: `get' is not a function template
            boost/directory.h:128: `dir_it' was not declared in this scope
            boost/directory.h:128: parse error before `const'
            boost/directory.h:128: `get' is not a function template
            boost/directory.h:129: `dir_it' was not declared in this scope
            boost/directory.h:129: parse error before `const'
            boost/directory.h:129: `set' is not a function template
            boost/directory.h:130: `dir_it' was not declared in this scope
            boost/directory.h:130: parse error before `const'
            boost/directory.h:130: `get' is not a function template
            boost/directory.h:131: `dir_it' was not declared in this scope
            boost/directory.h:131: parse error before `const'
            boost/directory.h:131: `set' is not a function template
            boost/directory.h:132: `dir_it' was not declared in this scope
            boost/directory.h:132: parse error before `const'
            boost/directory.h:132: `get' is not a function template
            boost/directory.h:133: `dir_it' was not declared in this scope
            boost/directory.h:133: parse error before `const'
            boost/directory.h:133: `set' is not a function template
            boost/directory.h:230: `dir_it' was not declared in this scope
            boost/directory.h:230: parse error before `const'
            boost/directory.h:230: `get' is not a function template
            boost/directory.h:233: `dir_it' was not declared in this scope
            boost/directory.h:233: parse error before `const'
            boost/directory.h:233: `get' is not a function template
            boost/directory.h:236: `dir_it' was not declared in this scope
            boost/directory.h:236: parse error before `const'
            boost/directory.h:236: `get' is not a function template
            boost/directory.h:239: `dir_it' was not declared in this scope
            boost/directory.h:239: parse error before `const'
            boost/directory.h:239: `get' is not a function template
            boost/directory.h:242: `dir_it' was not declared in this scope
            boost/directory.h:242: parse error before `const'
            boost/directory.h:242: `get' is not a function template
            boost/directory.h:245: `dir_it' was not declared in this scope
            boost/directory.h:245: parse error before `const'
            boost/directory.h:245: `get' is not a function template
            boost/directory.h:247: `dir_it' was not declared in this scope
            boost/directory.h:247: parse error before `const'
            boost/directory.h:247: `get' is not a function template
            boost/directory.h:250: `dir_it' was not declared in this scope
            boost/directory.h:250: parse error before `const'
            boost/directory.h:250: `get' is not a function template
            boost/directory.h:251: `dir_it' was not declared in this scope
            boost/directory.h:251: parse error before `const'
            boost/directory.h:251: `set' is not a function template
            boost/directory.h:253: `dir_it' was not declared in this scope
            boost/directory.h:253: parse error before `const'
            boost/directory.h:253: `get' is not a function template
            boost/directory.h:254: `dir_it' was not declared in this scope
            boost/directory.h:254: parse error before `const'
            boost/directory.h:254: `set' is not a function template
            boost/directory.h:256: `dir_it' was not declared in this scope
            boost/directory.h:256: parse error before `const'
            boost/directory.h:256: `get' is not a function template
            boost/directory.h:257: `dir_it' was not declared in this scope
            boost/directory.h:257: parse error before `const'
            boost/directory.h:257: `set' is not a function template
            boost/directory.h:259: `dir_it' was not declared in this scope
            boost/directory.h:259: parse error before `const'
            boost/directory.h:259: `get' is not a function template
            boost/directory.h:260: `dir_it' was not declared in this scope
            boost/directory.h:260: parse error before `const'
            boost/directory.h:260: `set' is not a function template
            boost/directory.h:262: `dir_it' was not declared in this scope
            boost/directory.h:262: parse error before `const'
            boost/directory.h:262: `get' is not a function template
            boost/directory.h:263: `dir_it' was not declared in this scope
            boost/directory.h:263: parse error before `const'
            boost/directory.h:263: `set' is not a function template
            boost/directory.h:265: `dir_it' was not declared in this scope
            boost/directory.h:265: parse error before `const'
            boost/directory.h:265: `get' is not a function template
            boost/directory.h:266: `dir_it' was not declared in this scope
            boost/directory.h:266: parse error before `const'
            boost/directory.h:266: `set' is not a function template
            boost/directory.h:269: `dir_it' was not declared in this scope
            boost/directory.h:269: parse error before `const'
            boost/directory.h:269: `get' is not a function template
            boost/directory.h:270: `dir_it' was not declared in this scope
            boost/directory.h:270: parse error before `const'
            boost/directory.h:270: `set' is not a function template
            boost/directory.h:272: `dir_it' was not declared in this scope
            boost/directory.h:272: parse error before `const'
            boost/directory.h:272: `get' is not a function template
            boost/directory.h:273: `dir_it' was not declared in this scope
            boost/directory.h:273: parse error before `const'
            boost/directory.h:273: `set' is not a function template
            boost/directory.h:275: `dir_it' was not declared in this scope
            boost/directory.h:275: parse error before `const'
            boost/directory.h:275: `get' is not a function template
            boost/directory.h:276: `dir_it' was not declared in this scope
            boost/directory.h:276: parse error before `const'
            boost/directory.h:276: `set' is not a function template
            boost/directory.h:282: `dir_it' was not declared in this scope
            boost/directory.h:282: parse error before `const'
            boost/directory.h:282: `get' is not a function template
            boost/directory.h:283: `dir_it' was not declared in this scope
            boost/directory.h:283: parse error before `const'
            boost/directory.h:283: `set' is not a function template
            boost/directory.h:286: `dir_it' was not declared in this scope
            boost/directory.h:286: parse error before `const'
            boost/directory.h:286: `get' is not a function template
            boost/directory.h:288: `dir_it' was not declared in this scope
            boost/directory.h:288: parse error before `const'
            boost/directory.h:288: `get' is not a function template
            boost/directory.h:290: `dir_it' was not declared in this scope
            boost/directory.h:290: parse error before `const'
            boost/directory.h:290: `get' is not a function template
            boost/directory.h:301: `dir_it' was not declared in this scope
            boost/directory.h:301: parse error before `const'
            boost/directory.h:301: `get' is not a function template
            boost/directory.h:302: `dir_it' was not declared in this scope
            boost/directory.h:302: parse error before `const'
            boost/directory.h:302: `set' is not a function template
            boost/directory.h:304: looser throw specifier for `virtual
            boost::unknown_uname::~unknown_uname()'
            boost/directory.h:295: overriding `virtual
            std::invalid_argument::~invalid_argument() throw ()'
            boost/directory.h:304: looser throw specifier for `virtual
            boost::unknown_uname::~unknown_uname()'
            boost/directory.h:295: overriding `virtual
            std::invalid_argument::~invalid_argument() throw ()'
            boost/directory.h:304: looser throw specifier for `virtual
            boost::unknown_uname::~unknown_uname()'
            boost/directory.h:295: overriding `virtual
            std::invalid_argument::~invalid_argument() throw ()'
            boost/directory.h:312: `dir_it' was not declared in this scope
            boost/directory.h:312: parse error before `const'
            boost/directory.h:312: `get' is not a function template
            boost/directory.h:327: `dir_it' was not declared in this scope
            boost/directory.h:327: parse error before `const'
            boost/directory.h:327: `get' is not a function template
            boost/directory.h:328: `dir_it' was not declared in this scope
            boost/directory.h:328: parse error before `const'
            boost/directory.h:328: `set' is not a function template
            boost/directory.h:330: looser throw specifier for `virtual
            boost::unknown_gname::~unknown_gname()'
            boost/directory.h:295: overriding `virtual
            std::invalid_argument::~invalid_argument() throw ()'
            boost/directory.h:330: looser throw specifier for `virtual
            boost::unknown_gname::~unknown_gname()'
            boost/directory.h:295: overriding `virtual
            std::invalid_argument::~invalid_argument() throw ()'
            boost/directory.h:330: looser throw specifier for `virtual
            boost::unknown_gname::~unknown_gname()'
            boost/directory.h:295: overriding `virtual
            std::invalid_argument::~invalid_argument() throw ()'
            boost/directory.h:338: `dir_it' was not declared in this scope
            boost/directory.h:338: parse error before `const'
            boost/directory.h:338: `get' is not a function template
            boost/directory.h:347: parse error before `}' token
            boost/directory.h:353: type/value mismatch at argument 1 in template parameter
            list for `template<class _Iterator> struct std::iterator_traits'
            boost/directory.h:353: expected a type, got `boost::filesystem::dir_it()'
            boost/directory.h:355: confused by earlier errors, bailing out
            make[1]: *** [FilePath.o] Error 1
            make[1]: Leaving directory `/dl/GPS/VTP/TerrainSDK/vtdata'
            make: *** [all] Error 2
            hydra:/dl/GPS/VTP/TerrainSDK #
            -----BEGIN PGP SIGNATURE-----
            Version: GnuPG v1.0.7 (GNU/Linux)

            iEYEARECAAYFAj4TRCkACgkQnQ18+PFcZJsIhwCeLGgMElfQDl6p78MtSzf5scea
            vkEAn2gZdxJ2AO3H3eRI9/SxTJre6wfc
            =Q0rJ
            -----END PGP SIGNATURE-----
          • Ben Discoe
            Carl, ... There s a question i can answer. The answer is yes, it could, and there are lots of wonderful applications possible if one did a VTP app and hooked
            Message 5 of 16 , Jan 1, 2003
            View Source
            • 0 Attachment
              Carl,

              > -----Original Message-----
              > From: Carl [mailto:CACook@...]
              >
              > [..]have no idea whether VTP could work with GPS.

              There's a question i can answer. The answer is yes, it could, and there are
              lots of wonderful applications possible if one did a VTP app and hooked up
              some code to speak to a GPS.

              However, i haven't added this capability to the VTP core yet because i spent
              much time looking for portable code for speaking to GPS devices, which must
              include portable (Win32/Unix at least) serial port code. I think i've found
              it, in a great-looking program called GPS3D: http://www.mgix.com/gps3d/ I
              just haven't gotten around to studying/integrating the code from GPS3D yet.
              Perhaps someone here on the list would like to tackle it?

              -Ben
            • Norman Vine
              ... Probably ... Probably /usr/local/include . BUT ... see ... `INSTALL.html` ... (-:- % Magic ! % -:-) some here
              Message 6 of 16 , Jan 1, 2003
              View Source
              • 0 Attachment
                Carl writes:
                >
                > On Wednesday 1 January 2003 13:11, Norman Vine wrote:
                > >
                > > FC="" F90="" ./configure
                > > It appears as if "libnetcdf.a" got built OK

                > If so, where does it go, /usr/local/lib?

                Probably

                > And what about includes?

                Probably '/usr/local/include'.

                BUT ... see ... `INSTALL.html`

                > And how would I recognize this with the next (completely different) app?

                (-:- % Magic ! % -:-)

                some here
                http://sources.redhat.com/autobook/autobook/autobook.html

                or just try the following guess on a freshly untared netcdf instalation

                % cd $NETCDF/netcdf-3.5.0/src
                % FC="" FC90="" ./configure --prefix=/usr/local
                % make
                % make install
                % make test

                HTH

                Norman
              • Mike Weiblen
                Hello, catching up after holiday... Regarding the vtp linux build system: vtp has the fingerprints of several folks work on the linux build system. I don t
                Message 7 of 16 , Jan 2, 2003
                View Source
                • 0 Attachment
                  Hello, catching up after holiday...

                  Regarding the vtp linux build system:

                  vtp has the fingerprints of several folks' work on the linux build system. I
                  don't know who/where the fetal Makefile.in files came from, and I've not started
                  looking at how to make them operational.

                  My build tools are a micro-thin layer over the existing VTP source distribution.
                  Basically they're some tweeks and driver scripts to make what's already there
                  work. My goal (in this pass) was to touch the pristine source as little as
                  possible.

                  An important point I need to emphasize in the next rev is that ./configure is
                  not being used at all, and will corrupt the existing vtp Makefiles as you
                  discovered.

                  The existing vtp Makefiles appear handbuilt. The Make.defs file contains the
                  installed locations of the dependent libraries. For example, in Make.defs, the
                  NETCDF_INC and NETCDF_LIB macros specify where vtp will expect to find the
                  netcdf components.

                  Q: should I have the UNPACK script delete the Makefile.in files? I really don't
                  think so, but their presence is confusing.

                  Thanks for your comments, I'll bulk up the docs. Carl, feel free to ask other
                  linux build questions offlist, but know that my suse experience is limited.

                  -- mew
                • Carl
                  ... Hash: SHA1 Thanks Mike. That clarification helps alot. And thanks to everyone else for the help. Great crowd here. ... Maybe as long as you re around,
                  Message 8 of 16 , Jan 2, 2003
                  View Source
                  • 0 Attachment
                    -----BEGIN PGP SIGNED MESSAGE-----
                    Hash: SHA1

                    Thanks Mike. That clarification helps alot. And thanks to everyone else for
                    the help. Great crowd here.

                    On Thursday 2 January 2003 3:16, Mike Weiblen wrote:
                    > Q: should I have the UNPACK script delete the Makefile.in files? I really
                    > don't think so, but their presence is confusing.

                    Maybe as long as you're around, it's not necessary. And a few of us can also
                    pipe up.

                    I got a suggestion from Lee to just use the netcdf binaries
                    (http://www.rpmfind.net//linux/RPM/PLD/dists/ra/PLD/i686/PLD/RPMS/netcdf-3.5.0-2.i686.html),
                    which I have now installed. All dependencies should be satisfied....
                    although I'm unsure of libwxgtk. Suse doesn't have that, but hopefully the
                    .so is in Suse's wxGTK-devel.

                    I've modified the raw source with all your UNPACK operations except removal of
                    data.

                    TerrainSDK is cracking up with some syntactical errors, which I do not
                    understand. (first below)
                    And TerrainApps has a "conflicting return type". (huh?) (second below)
                    Any ideas?

                    Glad to know Ben, that GPS is a possibility. I'd seen the GPS3D project but
                    it didn't have the resolution I need. I'd like to help integrate it with
                    VTP, but doubt my skills are up to it.
                    - --
                    Law of the Perversity of Nature:
                    You cannot successfully determine beforehand which side of the
                    bread to butter.



                    - -------------------------------------------------------------------------------------------
                    hydra:/opt/vtp/TerrainSDK # make
                    cd vtdata ; make all
                    make[1]: Entering directory `/opt/vtp/TerrainSDK/vtdata'
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o Building.o Building.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o ByteOrder.o ByteOrder.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o Content.o Content.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o DLG.o DLG.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o ElevationGrid.o
                    ElevationGrid.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o ElevationGridIO.o
                    ElevationGridIO.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o Features.o Features.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o Fence.o Fence.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                    - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o FilePath.o FilePath.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    In file included from FilePath.cpp:11:
                    boost/directory.h:62: parse error before `<' token
                    boost/directory.h:71: friend declaration not in class definition
                    boost/directory.h:76: parse error before `public'
                    boost/directory.h:84: friend declaration requires class-key, i.e. `friend
                    class
                    boost::filesystem::dir_it'
                    boost/directory.h:92: parse error before `)' token
                    boost/directory.h:93: parse error before `const'
                    boost/directory.h:94: parse error before `const'
                    boost/directory.h:95: destructors must be member functions
                    boost/directory.h:96: syntax error before `&' token
                    boost/directory.h:98: non-member function `std::string
                    boost::filesystem::operator*()' cannot have `const' method qualifier
                    boost/directory.h:98: `std::string boost::filesystem::operator*()' must have
                    an
                    argument of class or enumerated type
                    boost/directory.h:98: `std::string boost::filesystem::operator*()' must take
                    either one or two arguments
                    boost/directory.h:99: syntax error before `&' token
                    boost/directory.h:100: `boost::filesystem::proxy
                    boost::filesystem::operator++(int)' must have an argument of class or
                    enumerated type
                    boost/directory.h:102: parse error before `const'
                    boost/directory.h:102: non-member function `bool
                    boost::filesystem::operator==(...)' cannot have `const' method qualifier
                    boost/directory.h:102: `bool boost::filesystem::operator==(...)' must have an
                    argument of class or enumerated type
                    boost/directory.h:102: `bool boost::filesystem::operator==(...)' must take
                    exactly two arguments
                    boost/directory.h:103: parse error before `const'
                    boost/directory.h:103: non-member function `bool
                    boost::filesystem::operator!=(...)' cannot have `const' method qualifier
                    boost/directory.h:103: `bool boost::filesystem::operator!=(...)' must have an
                    argument of class or enumerated type
                    boost/directory.h:103: `bool boost::filesystem::operator!=(...)' must take
                    exactly two arguments
                    boost/directory.h:106: parse error before `private'
                    boost/directory.h:123: `dir_it' was not declared in this scope
                    boost/directory.h:123: parse error before `const'
                    boost/directory.h:123: `get' is not a function template
                    boost/directory.h:124: `dir_it' was not declared in this scope
                    boost/directory.h:124: parse error before `const'
                    boost/directory.h:124: `get' is not a function template
                    boost/directory.h:125: `dir_it' was not declared in this scope
                    boost/directory.h:125: parse error before `const'
                    boost/directory.h:125: `get' is not a function template
                    boost/directory.h:126: `dir_it' was not declared in this scope
                    boost/directory.h:126: parse error before `const'
                    boost/directory.h:126: `get' is not a function template
                    boost/directory.h:127: `dir_it' was not declared in this scope
                    boost/directory.h:127: parse error before `const'
                    boost/directory.h:127: `get' is not a function template
                    boost/directory.h:128: `dir_it' was not declared in this scope
                    boost/directory.h:128: parse error before `const'
                    boost/directory.h:128: `get' is not a function template
                    boost/directory.h:129: `dir_it' was not declared in this scope
                    boost/directory.h:129: parse error before `const'
                    boost/directory.h:129: `set' is not a function template
                    boost/directory.h:130: `dir_it' was not declared in this scope
                    boost/directory.h:130: parse error before `const'
                    boost/directory.h:130: `get' is not a function template
                    boost/directory.h:131: `dir_it' was not declared in this scope
                    boost/directory.h:131: parse error before `const'
                    boost/directory.h:131: `set' is not a function template
                    boost/directory.h:132: `dir_it' was not declared in this scope
                    boost/directory.h:132: parse error before `const'
                    boost/directory.h:132: `get' is not a function template
                    boost/directory.h:133: `dir_it' was not declared in this scope
                    boost/directory.h:133: parse error before `const'
                    boost/directory.h:133: `set' is not a function template
                    boost/directory.h:230: `dir_it' was not declared in this scope
                    boost/directory.h:230: parse error before `const'
                    boost/directory.h:230: `get' is not a function template
                    boost/directory.h:233: `dir_it' was not declared in this scope
                    boost/directory.h:233: parse error before `const'
                    boost/directory.h:233: `get' is not a function template
                    boost/directory.h:236: `dir_it' was not declared in this scope
                    boost/directory.h:236: parse error before `const'
                    boost/directory.h:236: `get' is not a function template
                    boost/directory.h:239: `dir_it' was not declared in this scope
                    boost/directory.h:239: parse error before `const'
                    boost/directory.h:239: `get' is not a function template
                    boost/directory.h:242: `dir_it' was not declared in this scope
                    boost/directory.h:242: parse error before `const'
                    boost/directory.h:242: `get' is not a function template
                    boost/directory.h:245: `dir_it' was not declared in this scope
                    boost/directory.h:245: parse error before `const'
                    boost/directory.h:245: `get' is not a function template
                    boost/directory.h:247: `dir_it' was not declared in this scope
                    boost/directory.h:247: parse error before `const'
                    boost/directory.h:247: `get' is not a function template
                    boost/directory.h:250: `dir_it' was not declared in this scope
                    boost/directory.h:250: parse error before `const'
                    boost/directory.h:250: `get' is not a function template
                    boost/directory.h:251: `dir_it' was not declared in this scope
                    boost/directory.h:251: parse error before `const'
                    boost/directory.h:251: `set' is not a function template
                    boost/directory.h:253: `dir_it' was not declared in this scope
                    boost/directory.h:253: parse error before `const'
                    boost/directory.h:253: `get' is not a function template
                    boost/directory.h:254: `dir_it' was not declared in this scope
                    boost/directory.h:254: parse error before `const'
                    boost/directory.h:254: `set' is not a function template
                    boost/directory.h:256: `dir_it' was not declared in this scope
                    boost/directory.h:256: parse error before `const'
                    boost/directory.h:256: `get' is not a function template
                    boost/directory.h:257: `dir_it' was not declared in this scope
                    boost/directory.h:257: parse error before `const'
                    boost/directory.h:257: `set' is not a function template
                    boost/directory.h:259: `dir_it' was not declared in this scope
                    boost/directory.h:259: parse error before `const'
                    boost/directory.h:259: `get' is not a function template
                    boost/directory.h:260: `dir_it' was not declared in this scope
                    boost/directory.h:260: parse error before `const'
                    boost/directory.h:260: `set' is not a function template
                    boost/directory.h:262: `dir_it' was not declared in this scope
                    boost/directory.h:262: parse error before `const'
                    boost/directory.h:262: `get' is not a function template
                    boost/directory.h:263: `dir_it' was not declared in this scope
                    boost/directory.h:263: parse error before `const'
                    boost/directory.h:263: `set' is not a function template
                    boost/directory.h:265: `dir_it' was not declared in this scope
                    boost/directory.h:265: parse error before `const'
                    boost/directory.h:265: `get' is not a function template
                    boost/directory.h:266: `dir_it' was not declared in this scope
                    boost/directory.h:266: parse error before `const'
                    boost/directory.h:266: `set' is not a function template
                    boost/directory.h:269: `dir_it' was not declared in this scope
                    boost/directory.h:269: parse error before `const'
                    boost/directory.h:269: `get' is not a function template
                    boost/directory.h:270: `dir_it' was not declared in this scope
                    boost/directory.h:270: parse error before `const'
                    boost/directory.h:270: `set' is not a function template
                    boost/directory.h:272: `dir_it' was not declared in this scope
                    boost/directory.h:272: parse error before `const'
                    boost/directory.h:272: `get' is not a function template
                    boost/directory.h:273: `dir_it' was not declared in this scope
                    boost/directory.h:273: parse error before `const'
                    boost/directory.h:273: `set' is not a function template
                    boost/directory.h:275: `dir_it' was not declared in this scope
                    boost/directory.h:275: parse error before `const'
                    boost/directory.h:275: `get' is not a function template
                    boost/directory.h:276: `dir_it' was not declared in this scope
                    boost/directory.h:276: parse error before `const'
                    boost/directory.h:276: `set' is not a function template
                    boost/directory.h:282: `dir_it' was not declared in this scope
                    boost/directory.h:282: parse error before `const'
                    boost/directory.h:282: `get' is not a function template
                    boost/directory.h:283: `dir_it' was not declared in this scope
                    boost/directory.h:283: parse error before `const'
                    boost/directory.h:283: `set' is not a function template
                    boost/directory.h:286: `dir_it' was not declared in this scope
                    boost/directory.h:286: parse error before `const'
                    boost/directory.h:286: `get' is not a function template
                    boost/directory.h:288: `dir_it' was not declared in this scope
                    boost/directory.h:288: parse error before `const'
                    boost/directory.h:288: `get' is not a function template
                    boost/directory.h:290: `dir_it' was not declared in this scope
                    boost/directory.h:290: parse error before `const'
                    boost/directory.h:290: `get' is not a function template
                    boost/directory.h:301: `dir_it' was not declared in this scope
                    boost/directory.h:301: parse error before `const'
                    boost/directory.h:301: `get' is not a function template
                    boost/directory.h:302: `dir_it' was not declared in this scope
                    boost/directory.h:302: parse error before `const'
                    boost/directory.h:302: `set' is not a function template
                    boost/directory.h:304: looser throw specifier for `virtual
                    boost::unknown_uname::~unknown_uname()'
                    boost/directory.h:295: overriding `virtual
                    std::invalid_argument::~invalid_argument() throw ()'
                    boost/directory.h:304: looser throw specifier for `virtual
                    boost::unknown_uname::~unknown_uname()'
                    boost/directory.h:295: overriding `virtual
                    std::invalid_argument::~invalid_argument() throw ()'
                    boost/directory.h:304: looser throw specifier for `virtual
                    boost::unknown_uname::~unknown_uname()'
                    boost/directory.h:295: overriding `virtual
                    std::invalid_argument::~invalid_argument() throw ()'
                    boost/directory.h:312: `dir_it' was not declared in this scope
                    boost/directory.h:312: parse error before `const'
                    boost/directory.h:312: `get' is not a function template
                    boost/directory.h:327: `dir_it' was not declared in this scope
                    boost/directory.h:327: parse error before `const'
                    boost/directory.h:327: `get' is not a function template
                    boost/directory.h:328: `dir_it' was not declared in this scope
                    boost/directory.h:328: parse error before `const'
                    boost/directory.h:328: `set' is not a function template
                    boost/directory.h:330: looser throw specifier for `virtual
                    boost::unknown_gname::~unknown_gname()'
                    boost/directory.h:295: overriding `virtual
                    std::invalid_argument::~invalid_argument() throw ()'
                    boost/directory.h:330: looser throw specifier for `virtual
                    boost::unknown_gname::~unknown_gname()'
                    boost/directory.h:295: overriding `virtual
                    std::invalid_argument::~invalid_argument() throw ()'
                    boost/directory.h:330: looser throw specifier for `virtual
                    boost::unknown_gname::~unknown_gname()'
                    boost/directory.h:295: overriding `virtual
                    std::invalid_argument::~invalid_argument() throw ()'
                    boost/directory.h:338: `dir_it' was not declared in this scope
                    boost/directory.h:338: parse error before `const'
                    boost/directory.h:338: `get' is not a function template
                    boost/directory.h:347: parse error before `}' token
                    boost/directory.h:353: type/value mismatch at argument 1 in template parameter
                    list for `template<class _Iterator> struct std::iterator_traits'
                    boost/directory.h:353: expected a type, got `boost::filesystem::dir_it()'
                    boost/directory.h:355: confused by earlier errors, bailing out
                    make[1]: *** [FilePath.o] Error 1
                    make[1]: Leaving directory `/opt/vtp/TerrainSDK/vtdata'
                    make: *** [all] Error 2
                    hydra:/opt/vtp/TerrainSDK #

                    - --------------------------------------------------------------------------------------------


                    hydra:/opt/vtp/TerrainSDK # cd ../TerrainApps/
                    hydra:/opt/vtp/TerrainApps # make
                    for app in glutSimple wxSimple Enviro VTBuilder; do \
                    cd /opt/vtp/TerrainApps/$app; \
                    make all || exit 1; \
                    done
                    make[1]: Entering directory `/opt/vtp/TerrainApps/glutSimple'
                    g++ -O -g -DUNIX -DVTLIB_OSG=1 -I/usr/X11R6/include -I/opt/vtp/TerrainSDK
                    - -I/opt/vtp/TerrainSDK/vtlib -I/usr/local/include -I/usr/X11R6/include -c -o
                    app.o app.cpp
                    cc1plus: warning: changing search order for system directory
                    "/usr/local/include"
                    cc1plus: warning: as it has already been specified as a non-system directory
                    In file included from /opt/vtp/TerrainSDK/vtlib/vtlib.h:89,
                    from app.cpp:14:
                    /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h:244: conflicting return type
                    specified for `virtual const bool vtDynMesh::computeBound() const'
                    /usr/local/include/osg/Drawable:365: overriding `virtual bool
                    osg::Drawable::computeBound() const'
                    /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h: In member function `virtual
                    osg::Object* vtDynMesh::cloneType() const':
                    /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h:239: cannot allocate an object of
                    type `vtDynMesh'
                    /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h:239: because the following virtual
                    functions are abstract:
                    /usr/local/include/osg/Drawable:236: virtual void
                    osg::Drawable::drawImplementation(osg::State&) const
                    /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h: In member function `virtual
                    osg::Object* vtDynMesh::clone(const osg::CopyOp&) const':
                    /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h:240: cannot allocate an object of
                    type `vtDynMesh'
                    /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h:240: since type `vtDynMesh' has
                    abstract virtual functions
                    make[1]: *** [app.o] Error 1
                    make[1]: Leaving directory `/opt/vtp/TerrainApps/glutSimple'
                    make: *** [all] Error 1
                    hydra:/opt/vtp/TerrainApps #
                    -----BEGIN PGP SIGNATURE-----
                    Version: GnuPG v1.0.7 (GNU/Linux)

                    iEYEARECAAYFAj4UZoEACgkQnQ18+PFcZJuOxACdEtrllEpoG54zvIGew4PIaN+5
                    4JwAnRkEWg2/bIGQ+EMZneNmC8Ir9B5A
                    =m8wq
                    -----END PGP SIGNATURE-----
                  • Ben Discoe
                    Carl, Your two build problems are 1. Some trouble between gcc, your environment, and boost 2. Wrong version of OSG library I m not sure about the first
                    Message 9 of 16 , Jan 2, 2003
                    View Source
                    • 0 Attachment
                      Carl,

                      Your two build problems are
                      1. Some trouble between gcc, your environment, and boost
                      2. Wrong version of OSG library

                      I'm not sure about the first (perhaps some #define is not set for boost to
                      compile correctly?).

                      The second is easier to address. It looks like you're using the recent VTP
                      source which wants OSG 0.9.1, but are compiling against OSG 0.9.2. (Or vice
                      versa, you have the very latest VTP from CVS which wants OSG 0.9.2, but you
                      are compiling against 0.9.1). Just switch OSG version and it should go
                      away.

                      -Ben

                      > -----Original Message-----
                      > From: Carl [mailto:CACook@...]
                      > Sent: Thursday, January 02, 2003 8:19 AM
                      > To: vtp@yahoogroups.com
                      > Subject: Re: [vtp] Re: Compile Failure - SuSE
                      >
                      > -
                      > ------------------------------------------------------------------
                      > -------------------------
                      > hydra:/opt/vtp/TerrainSDK # make
                      > cd vtdata ; make all
                      > make[1]: Entering directory `/opt/vtp/TerrainSDK/vtdata'
                      > [...]
                      > g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                      > - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o FilePath.o
                      > FilePath.cpp
                      > In file included from FilePath.cpp:11:
                      > boost/directory.h:62: parse error before `<' token
                      > boost/directory.h:71: friend declaration not in class definition
                      > boost/directory.h:76: parse error before `public'
                      > boost/directory.h:84: friend declaration requires class-key, i.e. `friend
                      > class boost::filesystem::dir_it'
                      > --------------------------
                      >
                      >
                      > hydra:/opt/vtp/TerrainApps # make
                      > for app in glutSimple wxSimple Enviro VTBuilder; do \
                      > cd /opt/vtp/TerrainApps/$app; \
                      > make all || exit 1; \
                      > done
                      > make[1]: Entering directory `/opt/vtp/TerrainApps/glutSimple'
                      > g++ -O -g -DUNIX -DVTLIB_OSG=1 -I/usr/X11R6/include
                      > -I/opt/vtp/TerrainSDK
                      > - -I/opt/vtp/TerrainSDK/vtlib -I/usr/local/include
                      > -I/usr/X11R6/include -c -o
                      > app.o app.cpp
                      > In file included from /opt/vtp/TerrainSDK/vtlib/vtlib.h:89,
                      > from app.cpp:14:
                      > /opt/vtp/TerrainSDK/vtlib/vtosg/NodeOSG.h:244: conflicting return type
                      > specified for `virtual const bool vtDynMesh::computeBound() const'
                      > /usr/local/include/osg/Drawable:365: overriding `virtual bool
                      > osg::Drawable::computeBound() const'
                    • Mike Weiblen
                      ... This gives me slight dejavu. Are you using the current source? Which gcc version? Is there another boost on your system that might be conflicting? ...
                      Message 10 of 16 , Jan 2, 2003
                      View Source
                      • 0 Attachment
                        Carl wrote:
                        > g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                        > - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o FilePath.o FilePath.cpp
                        > cc1plus: warning: changing search order for system directory
                        > "/usr/local/include"
                        > cc1plus: warning: as it has already been specified as a non-system directory
                        > In file included from FilePath.cpp:11:
                        > boost/directory.h:62: parse error before `<' token
                        > boost/directory.h:71: friend declaration not in class definition
                        > boost/directory.h:76: parse error before `public'
                        > boost/directory.h:84: friend declaration requires class-key, i.e. `friend

                        This gives me slight dejavu. Are you using the current source? Which gcc
                        version? Is there another boost on your system that might be conflicting?


                        Ben Discoe wrote:
                        > The second is easier to address. It looks like you're using the recent VTP
                        > source which wants OSG 0.9.1, but are compiling against OSG 0.9.2. (Or vice
                        > versa, you have the very latest VTP from CVS which wants OSG 0.9.2, but you
                        > are compiling against 0.9.1). Just switch OSG version and it should go
                        > away.

                        FWIW, I'm successfully using 0.9.1 with the vtp source .zip

                        -- mew
                      • Carl
                        ... Hash: SHA1 ... The kind of deja vu that makes your eyes bleed? If so, yes. VTP 021119 gcc 3.2-36 Suse 8.1 kernel 2.4.19-74 Not sure what a boost is? ...
                        Message 11 of 16 , Jan 3, 2003
                        View Source
                        • 0 Attachment
                          -----BEGIN PGP SIGNED MESSAGE-----
                          Hash: SHA1

                          On Friday 3 January 2003 1:51, Mike Weiblen wrote:
                          > Carl wrote:
                          > > g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                          > > - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o FilePath.o
                          > > FilePath.cpp cc1plus: warning: changing search order for system directory
                          > > "/usr/local/include"
                          > > cc1plus: warning: as it has already been specified as a non-system
                          > > directory In file included from FilePath.cpp:11:
                          > > boost/directory.h:62: parse error before `<' token
                          > > boost/directory.h:71: friend declaration not in class definition
                          > > boost/directory.h:76: parse error before `public'
                          > > boost/directory.h:84: friend declaration requires class-key, i.e. `friend
                          >
                          > This gives me slight dejavu. Are you using the current source? Which gcc
                          > version? Is there another boost on your system that might be conflicting?

                          The kind of deja vu that makes your eyes bleed? If so, yes.

                          VTP 021119
                          gcc 3.2-36
                          Suse 8.1
                          kernel 2.4.19-74
                          Not sure what a boost is?


                          > Ben Discoe wrote:
                          > > The second is easier to address. It looks like you're using the recent
                          > > VTP source which wants OSG 0.9.1, but are compiling against OSG 0.9.2.
                          > > (Or vice versa, you have the very latest VTP from CVS which wants OSG
                          > > 0.9.2, but you are compiling against 0.9.1). Just switch OSG version
                          > > and it should go away.

                          Ah.

                          Indeed I have OSG 0.9.2, and would rather not DL .1 . Where can I get VTP
                          from CVS? Do I need the 22MB file again?
                          - --
                          "The voters have spoken, the bastards ..."
                          -----BEGIN PGP SIGNATURE-----
                          Version: GnuPG v1.0.7 (GNU/Linux)

                          iEYEARECAAYFAj4V9DoACgkQnQ18+PFcZJvK0wCfS+VIQBe06G9cv0mz1aOgJ1HT
                          kkgAoIB+6tllq8ftJtWm58jn38zjqjw3
                          =xFcl
                          -----END PGP SIGNATURE-----
                        • Carl
                          ... Hash: SHA1 ... OK, boost. A set of canned C libraries, in this case: http://www.boost.org/libs/dir_it/ Is it mandatory? ... Version: GnuPG v1.0.7
                          Message 12 of 16 , Jan 3, 2003
                          View Source
                          • 0 Attachment
                            -----BEGIN PGP SIGNED MESSAGE-----
                            Hash: SHA1

                            On Friday 3 January 2003 14:36, Carl wrote:
                            > On Friday 3 January 2003 1:51, Mike Weiblen wrote:
                            > > Carl wrote:
                            > > > g++ -O -g -DUNIX -DSUPPORT_NETCDF=1 -I./shapelib -I/usr/local/include
                            > > > - -I/usr/local/include -I/opt/vtp/TerrainSDK/ -c -o FilePath.o
                            > > > FilePath.cpp cc1plus: warning: changing search order for system
                            > > > directory "/usr/local/include"
                            > > > cc1plus: warning: as it has already been specified as a non-system
                            > > > directory In file included from FilePath.cpp:11:
                            > > > boost/directory.h:62: parse error before `<' token
                            > > > boost/directory.h:71: friend declaration not in class definition
                            > > > boost/directory.h:76: parse error before `public'
                            > > > boost/directory.h:84: friend declaration requires class-key, i.e.
                            > > > `friend
                            > >
                            > > This gives me slight dejavu. Are you using the current source? Which
                            > > gcc version? Is there another boost on your system that might be
                            > > conflicting?

                            OK, boost. A set of canned C libraries, in this case:
                            http://www.boost.org/libs/dir_it/

                            Is it mandatory?
                            -----BEGIN PGP SIGNATURE-----
                            Version: GnuPG v1.0.7 (GNU/Linux)

                            iEUEARECAAYFAj4V+1oACgkQnQ18+PFcZJuWaQCfRq0RcGT3WVv4jC3l8RAJ+OC2
                            r/cAmLW+b61nWkGCBOuBVcRax0GgJOQ=
                            =6fcS
                            -----END PGP SIGNATURE-----
                          • Ben Discoe
                            Carl, Boost, the library, isn t actually used. We only use one small file from it (cross-platform support for reading directories). That s why it s included
                            Message 13 of 16 , Jan 3, 2003
                            View Source
                            • 0 Attachment
                              Carl,

                              Boost, the library, isn't actually used. We only use one small file from it
                              (cross-platform support for reading directories). That's why it's included
                              in the VTP distrib (TerrainSDK/vtdata/boost) rather than require boost as
                              yet another external dependency.

                              I don't know why your Suse machine doesn't want to compile it, it builds
                              fine on Windows and other Linuxes. Perhaps you can track the problem down.

                              -Ben

                              > -----Original Message-----
                              > From: Carl [mailto:CACook@...]
                              > Sent: Friday, January 03, 2003 1:06 PM
                              > To: vtp@yahoogroups.com
                              > Subject: Re: [vtp] Re: Compile Failure - SuSE
                              >
                              > > > Is there another boost on your system that might be
                              > > > conflicting?
                              >
                              > OK, boost. A set of canned C libraries, in this case:
                              > http://www.boost.org/libs/dir_it/
                              >
                              > Is it mandatory?
                            Your message has been successfully submitted and would be delivered to recipients shortly.