SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: Re: Problems to build Seg3D on Archlinux/Fedora


Chronological Thread 
  • From: Bernardo Rocha <bernardomartinsrocha@gmail.com>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] Re: Re: Problems to build Seg3D on Archlinux/Fedora
  • Date: Thu, 18 Jul 2013 09:29:53 -0300

Hi Ayla and Mario,

just writing to thank you for your help. I've successfully built Seg3D on my Archlinux machine and it is running fine!
I'm going to test under Fedora 18, but I guess it will work out of the box.
Thanks!

Best regards,
Bernardo


On Wed, Jul 17, 2013 at 4:11 PM, Ayla Khan <ayla@sci.utah.edu> wrote:
Hi Bernardo,

You don't actually need a Subversion account to check out the code (instructions are on our Subversion portal), however you can download a pre-release version of 2.1.5 from this link.

Ayla

On Jul 16, 2013, at 1:02 PM, Bernardo Rocha wrote:

Hi Ayla,

the source archive would be great, since I do not have an user account to check out from Subversion.
Many thanks.
Bernardo



On Tue, Jul 16, 2013 at 3:56 PM, Ayla Khan <ayla@sci.utah.edu> wrote:
Hi Bernardo,

Try checking out the code using Subversion from https://gforge.sci.utah.edu/svn/seg3d2/branches/2.1.5. If you don't want to use Subversion, I can make a source archive for you.

Ayla

On Jul 16, 2013, at 11:51 AM, Bernardo Rocha wrote:

Hi Mario,

thanks a lot for the suggestion. Now it worked till 73%, when I get the error:

[ 73%] Building CXX object Externals/boost/CMakeFiles/boost.dir/libs/thread/src/pthread/thread.cpp.o
In file included from /home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/detail/platform.hpp:17:0,
                 from /home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/detail/config.hpp:20,
                 from /home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/boost/libs/thread/src/pthread/thread.cpp:8:
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/boost/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
 #  error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"

Best regards,
Bernardo


On Tue, Jul 16, 2013 at 8:59 AM, Mario Ceresa <mrceresa@gmail.com> wrote:
Hello Bernardo,
can you try to set CMAKE_CXX_FLAGS=-fpermissive?

Best,

Mario




On 16 July 2013 13:26, Bernardo Rocha <bernardomartinsrocha@gmail.com> wrote:
Hello everyone,

I'm having some problems to build Seg3D version 2.1.4 on my machine with Archlinux and also in another one running Fedora 18. In both cases I get the same error.

The cmake step is OK. However, during the compilation (make) I get the following error:

[ 49%] Building CXX object Externals/itk/Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_matrix_fixed_ref+float.3.4-.o
In file included from /home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.txx:5:0,
                 from /home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/Templates/vnl_matrix_fixed_ref+float.3.4-.cxx:1:
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h: In instantiation of ‘bool vnl_matrix_fixed_ref<T, num_rows, num_cols>::operator_eq(const vnl_matrix_fixed_ref_const<T, num_rows, num_cols>&) const [with T = float; unsigned int num_rows = 3u; unsigned int num_cols = 4u]’:
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/Templates/vnl_matrix_fixed_ref+float.3.4-.cxx:2:1:   required from here
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h:657:56: error: ‘equal’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     return equal( this->data_block(), rhs.data_block() );
                                                        ^
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h:657:56: note: declarations in dependent base ‘vnl_matrix_fixed_ref_const<float, 3u, 4u>’ are not found by unqualified lookup
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h:657:56: note: use ‘this->equal’ instead
make[2]: ** [Externals/itk/Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_matrix_fixed_ref+float.3.4-.o] Erro 1
make[1]: ** [Externals/itk/Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/all] Erro 2
make: ** [all] Erro 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.

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

Any ideas of how to solve/fix this? What is missing? I have installed all the required software. I have Qt 4.8.x and also Qt 5. What is wrong?

Thanks in advance.

Best regards,
Bernardo M. R.









Archive powered by MHonArc 2.6.16.

Top of page