Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] manta-project


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: "manta@sci.utah.edu" <manta@sci.utah.edu>
  • Cc: harsha sri-narayana <H.Sri-Narayana@cs.ucl.ac.uk>
  • Subject: Re: [Manta] manta-project
  • Date: Thu, 24 Jan 2008 22:04:59 -0800


On Jan 24, 2008, at 9:40 AM, James Bigler wrote:

H.Sri-Narayana@cs.ucl.ac.uk wrote:
On Jan 24 2008, James Bigler wrote:
On Jan 24, 2008, at 4:47 AM, H.Sri-Narayana@cs.ucl.ac.uk wrote:

The manta-project is missing -msse and -msse2 flags. (CMAKE_CXX_FLAGS)

I don't know how Abe was pulling in these flags. We changed how the main manta code base figures out these flags a couple of months ago.

Does this prevent you from compiling?
Yes. I remember this cropped up before in the main Manta. I think the linux distro's you guys are using automatically add those flags, where ubuntu does not. Somebody then changed the cmake files to take that into account. Whatever that change was, would need to be added here. If these flags aren't present for me, I get a message saying the 'sse instruction set is not enabled.'

If you do this in after you include all the Manta cmake files, I think that should help.

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MANTA_SSE_FLAGS}")

Manta/src/CMake/ConfigCompilerFlags.cmake uses the MANTA_SSE_FLAGS.

You might also want to print out what the MANTA_SSE_FLAGS are.

MESSAGE("MANTA_SSE_FLAGS = ${MANTA_SSE_FLAGS}")

I don't know why they aren't getting set. Must be something to do with how Abe was using the Manta CMake files.

Yeah--the Manta project template doesn't impose any of Manta's compile flags unnecessarily on external projects--you can pull them in if needed (or if a third party dependency has compile flags use those for the project instead). The (very simple) example code in the Manta- project template doesn't use SSE and builds out of the box.



Also manta-project/src/manta.cc has this line:
#include <Interface/Callback.h>

src/manta.cc doesn't exist in the Manta-project template.

wiki page that Manta projects are really only supported by Abe. He is usually a really active member of the mailing list, but he recently went to NVidia for an internship.

Yeah I haven't had as much quality time with my laptop recently...

Abe








Archive powered by MHonArc 2.6.16.

Top of page