Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: [Csafe-homebrew] For Carson


Chronological Thread 
  • From: Carson Brownlee < >
  • To: Abe Stephens < >
  • Cc: "J. Davison de St. Germain" < >, James Guilkey < >,
  • Subject: [Manta] Re: [Csafe-homebrew] For Carson
  • Date: Fri, 13 Mar 2009 14:21:09 -0600

The namespace Intersection seems to be used in CuttingPlane, Cube and some other areas but I don't see any obvious name conflicts if the namespace was just removed and if it compiles without it then it is probably unnecessary. It could also be renamed to Intersections to match the folder name where that namespace code is located. I'll forward this to the Manta mailing list if anyone still reads it and had a reason for the namespace.
        Carson


On Mar 12, 2009, at 8:47 PM, Abe Stephens wrote:


I'd vote for removing the Intersection namespace.

The Intersection class name refers to the CSG operation on two objects.

I was able to successfully remove the namespace from my local copy without any collateral damage.. I can commit if it sounds agreeable.

Abe


On Mar 12, 2009, at 7:43 PM, J. Davison de St. Germain wrote:

Hi all,

I've looked at this more, and it appears that this should be breaking everywhere... To the best I can determine, Jim's compiler is just the only one that is flagging it... It is possible that many compilers are not complaining because "Intersection" (the class) is (appears to) actually not used. I was able to fix the immediate problem for Jim by commenting out #include <Model/MiscObjects/ Intersection.h> from volumeTest.cc. However, I think that either Intersection.h should be removed altogether, or that the "Intersection" namespace should be renamed (perhaps to IntersectionNS or some such). Carson and Abe, please let me know which solution you think is best.

 Thanks,
          Dav

PS. Jim, you Manta build completed. You can run the simple test program from your build dir by typing bin/manta.

James Guilkey wrote:
O.K.  What about the build error, is it related, or a code bug?

Thanks,

Jim



J. Davison de St. Germain wrote:
Hi Jim,

The problems with CMake being vague have already been reported... we want to create a script that takes care of all this for you.

     - Dav

James Guilkey wrote:

Also under #4, this is vague as heck:

First you will need to set the TEEM library path. Press the down arrow until you get to the variable *FOUND_TEEM_BIN*. Set this to the location of your TEEM installation by pressing *enter* and entering the path, eg /usr/bin. Press *c* to configure. If you get errors about not finding TeemConfig.cmake (in older versions before Nov. 2008 it was called TEEMConfig.cmake), you can manually set this by pressing *t* and going down to the variable named *FOUND_TEEMCONFIG_CMAKE*.

WHAT do I set FOUND_TEEMCONFIG_CMAKE to? I used /usr/local, but I don't know if that is right. I got a makefile.

However, during make, I get:

[ 92%] Building CXX object scenes/CMakeFiles/scene_volumeTest.dir/ volumeTest.o
In file included from /home/guilkey/Manta/scenes/volumeTest.cc:41:
/home/guilkey/Manta/Model/MiscObjects/Intersection.h:8: error: ‘struct Manta::Intersection’ redeclared as different kind of symbol
/home/guilkey/Manta/Model/Intersections/AxisAlignedBox.h:13: error: previous declaration of ‘namespace Manta::Intersection { }’
/home/guilkey/Manta/Core/Math/SSEDefs.h:113: warning: ‘Manta::_mm_eps’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:114: warning: ‘Manta::_mm_minus_eps’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:115: warning: ‘Manta::_mm_epsilon’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:116: warning: ‘Manta::_mm_one’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:117: warning: ‘Manta::_mm_one_si128’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:118: warning: ‘Manta::_mm_two_si128’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:119: warning: ‘Manta::_mm_four_si128’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:120: warning: ‘Manta::_mm_inv_one_si128’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:121: warning: ‘Manta::_mm_zero’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:122: warning: ‘Manta::_mm_zero_si128’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:124: warning: ‘Manta::_mm_two’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:125: warning: ‘Manta::_mm_256’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:126: warning: ‘Manta::_mm_255’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:127: warning: ‘Manta::_mm_infty’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:128: warning: ‘Manta::_mm_minus_infty’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:132: warning: ‘Manta::_mm_absmask’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:134: warning: ‘Manta::_mm_true’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:136: warning: ‘Manta::_mm_minusOne’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:137: warning: ‘Manta::_mm_absmask_si128’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:138: warning: ‘Manta::_mm_signbit_si128’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:139: warning: ‘Manta::_ps_cephes_FOPI’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:140: warning: ‘Manta::_ps_minus_cephes_DP1’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:141: warning: ‘Manta::_ps_minus_cephes_DP2’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:142: warning: ‘Manta::_ps_minus_cephes_DP3’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:143: warning: ‘Manta::_ps_sincof_p0’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:144: warning: ‘Manta::_ps_sincof_p1’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:145: warning: ‘Manta::_ps_sincof_p2’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:146: warning: ‘Manta::_ps_coscof_p0’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:147: warning: ‘Manta::_ps_coscof_p1’ defined but not used
/home/guilkey/Manta/Core/Math/SSEDefs.h:148: warning: ‘Manta::_ps_coscof_p2’ defined but not used
make[2]: *** [scenes/CMakeFiles/scene_volumeTest.dir/ volumeTest.o] Error 1
make[1]: *** [scenes/CMakeFiles/scene_volumeTest.dir/all] Error 2
make: *** [all] Error 2

And this seems unlikely to be related to any configure issue.

Jim
_______________________________________________
csafe-homebrew mailing list

http://mailman.cs.utah.edu/mailman/listinfo/csafe-homebrew






--
-----------------------------------------------------------------------
- J. Davison de St. Germain (801) 581-4078 -
- Chief Software Engineer http://www.cs.utah.edu/ ~dav -
- SCI Institute, SE C-SAFE University of Utah -
-----------------------------------------------------------------------




  • [Manta] Re: [Csafe-homebrew] For Carson, Carson Brownlee, 03/13/2009

Archive powered by MHonArc 2.6.16.

Top of page