SCI Seg3D Mailing List

Text archives Help


Re: [Seg3D] Error building revision 1994 for linux Ubuntu 13.04


Chronological Thread 
  • From: Ayla Khan <ayla@sci.utah.edu>
  • To: seg3d@sci.utah.edu
  • Subject: Re: [Seg3D] Error building revision 1994 for linux Ubuntu 13.04
  • Date: Mon, 10 Mar 2014 11:02:13 -0600

Hi Ramón,

That branch is deprecated. Can you try the 2.1.5 release branch or the trunk?
Both will build on typical Ubuntu 13.04 installations.

Ayla

On Mar 10, 2014, at 7:02 AM, Ramón Casero Cañas wrote:

> Hi,
>
> I'm trying to build the latest revision of Seg3D2 on Ubuntu Raring
> Ringtail 13.04.
>
> I have
> URL: https://gforge.sci.utah.edu/svn/seg3d2/branches/2.1
> Revision: 1994
>
> I get the error
>
> $ ./build.sh --release
>
> [...]
>
> Scanning dependencies of target Core_Utils
> [ 74%] Building CXX object
> Core/Utils/CMakeFiles/Core_Utils.dir/FilesystemUtil.cc.o
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:
> In function ‘bool Core::RecursiveCopyDirectory(const
> boost::filesystem::path&, const boost::filesystem::path&)’:
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:61:25:
> error: ‘filesystem3’ is not a namespace-name
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:61:36:
> error: expected namespace-name before ‘;’ token
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:71:3:
> error: ‘recursive_directory_iterator’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:71:3:
> note: suggested alternative:
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/operations.hpp:835:9:
> note: ‘boost::filesystem::recursive_directory_iterator’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:71:32:
> error: expected ‘;’ before ‘dir_it’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:72:32:
> error: expected ‘;’ before ‘dir_end’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:73:11:
> error: ‘dir_it’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:73:21:
> error: ‘dir_end’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:76:4:
> error: ‘path’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:76:4:
> note: suggested alternative:
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/path.hpp:55:31:
> note: ‘boost::filesystem::path’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:76:9:
> error: expected ‘;’ before ‘source_path’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:77:9:
> error: expected ‘;’ before ‘file_path’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:78:4:
> error: ‘path’ is not a class or namespace
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:78:19:
> error: expected ‘;’ before ‘path_it’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:79:6:
> error: ‘path_it’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:84:5:
> error: ‘file_path’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:86:9:
> error: expected ‘;’ before ‘dst_path’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:88:51:
> error: ‘is_regular_file’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:88:51:
> note: suggested alternative:
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/operations.hpp:301:8:
> note: ‘boost::filesystem::is_regular_file’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:90:16:
> error: ‘source_path’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:90:29:
> error: ‘dst_path’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:90:38:
> error: ‘copy_file’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:90:38:
> note: suggested alternatives:
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/operations.hpp:390:8:
> note: ‘boost::filesystem::copy_file’
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/operations.hpp:218:10:
> note: ‘boost::filesystem::detail::copy_file’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:92:53:
> error: ‘is_directory’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:92:53:
> note: suggested alternative:
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/operations.hpp:296:8:
> note: ‘boost::filesystem::is_directory’
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:94:21:
> error: ‘source_path’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:94:34:
> error: ‘dst_path’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:94:43:
> error: ‘copy_directory’ was not declared in this scope
> /home/orie1416/Documents/seg3d.2.1/src/Core/Utils/FilesystemUtil.cc:94:43:
> note: suggested alternatives:
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/operations.hpp:376:8:
> note: ‘boost::filesystem::copy_directory’
> /home/orie1416/Documents/seg3d.2.1/src/Externals/boost/boost/filesystem/operations.hpp:216:10:
> note: ‘boost::filesystem::detail::copy_directory’
> make[2]: *** [Core/Utils/CMakeFiles/Core_Utils.dir/FilesystemUtil.cc.o]
> Error 1
> make[1]: *** [Core/Utils/CMakeFiles/Core_Utils.dir/all] Error 2
> make: *** [all] Error 2
> Building Seg3D returned an error
>
> Either the code failed to build properly or
>
> the testing programs failed to complete without
>
> every single test program passing the test.
>
> Best regards,
>
> Ramon.
>
> --
> Dr. Ramón Casero Cañas
>
> Oxford e-Research Centre (OeRC)
> University of Oxford
> 7 Keble Rd
> Oxford OX1 3QG
>
> tlf +44 (0) 1865 610739
> web http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas
> photos http://www.flickr.com/photos/rcasero/
> <seg3d-build.txt>




Archive powered by MHonArc 2.6.18.

Top of page