SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: Re: 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: Re: Re: Problems to build Seg3D on Archlinux/Fedora
  • Date: Wed, 17 Jul 2013 09:31:25 -0300

Hi Mario,

the output here in my (Archlinux) is:

extra/boost 1.53.0-2 [installed]
extra/boost-libs 1.53.0-2 [installed]

gcc (GCC) 4.8.1

Right now I'm using Seg3D on Windows, which is a pity since we have a nice linux machine perfect for this kind of task.
I would appreciate if you could send me a .tar.gz file from the newest release or an account to checkout from the SVN (in case these issues have been fixed in the newest version).

Thanks a lot for your support.
Best regards,
Bernardo



On Wed, Jul 17, 2013 at 4:14 AM, Mario Ceresa <mrceresa@gmail.com> wrote:
Hi Bernardo,
there was a problem with gcc 4.7 experimental and boost 1.48 which disables thread. However, it should be fixed by now in Fedora.

Could you please post the results of:

$ rpm -qi boost | grep Version
$ gcc --version | grep gcc

Thanks and regards,

Mario

PS: Ayla, how can I create a user/password to checkout from svn? thanks




On 16 July 2013 21:02, Bernardo Rocha <bernardomartinsrocha@gmail.com> 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