Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] Compiling the Manta trunk - build error


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: MANTA <manta@sci.utah.edu>
  • Subject: Re: [Manta] Compiling the Manta trunk - build error
  • Date: Fri, 2 Nov 2007 12:02:18 -0600

Hi, 

When I fixed the extra qualification error I was able to build manta, but bin/manta segfaulted.

Seems to build and run on gcc 4.0.1 but not on 4.1.2.

Abe

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1236727376 (LWP 4619)]
0xb74ed399 in __gnu_cxx::__exchange_and_add () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0xb74ed399 in __gnu_cxx::__exchange_and_add () from /usr/lib/libstdc++.so.6
#1  0xb74d0653 in std::string::assign () from /usr/lib/libstdc++.so.6
#2  0xb7c43f40 in Manta::Archive::registerArchiveType (name=@0xbfa2a314, readopener=0xb7c45ad8 <readopener>, 
    writeopener=0xb7c458d2 <writeopener>) at /usr/include/c++/4.1.2/bits/basic_string.h:486
#3  0xb7c44c3d in __static_initialization_and_destruction_0 (__initialize_p=<value optimized out>, 
    __priority=<value optimized out>) at /local/abe/Manta/Core/Persistent/XMLArchive.cc:209



On Nov 2, 2007, at 10:59 AM, Thiago Ize wrote:

Yeah, that's brand new code. Until we get that fixed (I haven't updated to that myself yet), try the revision right before that:
svn up -r 1799

Thiago

Shreekanth Pavar wrote:
Quoting Abe Stephens <abe@sci.utah.edu>:

Hi, Those instructions are for the Manta project template, not the main repository. You can make a copy of the template using the svn URL on that page; it will have a src directory and the appropriate files..


Abe

This worked fine but when I tried to compile the project template it couldn't
find ConfigArchitecture.cmake and CompilerInfo.cmake because my main source
tree was out of date.

I therefore retrieved the latest trunk code (using svn checkout
https://code.sci.utah.edu/svn/Manta/trunk) and tried to build a current version
of Manta with it.

However, the build failed with the following error:

[ 1%] Built target SvnInfo
[ 1%] Built target About
[ 12%] Built target SCIRun_Core
[ 12%] Building CXX object
Core/CMakeFiles/Manta_Core.dir/Persistent/XMLArchive.o
/home/shree/dev/Manta/Core/Persistent/XMLArchive.cc:81: error: extra
qualification ‘<unnamed>::XMLArchiveElement::’ on member ‘readwriteInteger’
/home/shree/dev/Manta/Core/Persistent/XMLArchive.cc:83: error: extra
qualification ‘<unnamed>::XMLArchiveElement::’ on member
‘readwriteIntegerArray’
/home/shree/dev/Manta/Core/Persistent/XMLArchive.cc:209: warning:
‘<unnamed>::XMLArchive::force_initialize’ defined but not used
make[2]: *** [Core/CMakeFiles/Manta_Core.dir/Persistent/XMLArchive.o] Error 1
make[1]: *** [Core/CMakeFiles/Manta_Core.dir/all] Error 2
make: *** [all] Error 2

Is there a recent version of the trunk which builds ok or is there a simple
solution to the above compile error (as i have no clue what the problem is!)?

Regards







Archive powered by MHonArc 2.6.16.

Top of page