Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] Re: error building with osx?


Chronological Thread 
  • From: "Steven G. Parker" <sparker@cs.utah.edu>
  • To: Abe Stephens <abe@sci.utah.edu>
  • Cc: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: Re: [MANTA] Re: error building with osx?
  • Date: Tue, 20 Dec 2005 13:38:17 -0700

There is no choice but to remove the code. UserInterface should depend on Engine but not vice-versa.

Steve


On Dec 20, 2005, at 1:37 PM, Abe Stephens wrote:


Abe Stephens wrote:

Does anyone remember what causes this? I haven't built anything on OSX in a long time. I have tried running "make -j1" and "make" and I still get the fork error... I've run into this before, but I don't remember how it was resolved..


Jumping to /Users/abe/Manta-AFR/build-darwin/Engine to build Manta_Engine
cd /Users/abe/Manta-AFR/build-darwin/Engine && make -f Makefile cmake_check_build_system && make -f Makefile Manta_Engine.dir/ Manta_Engine.depends && make -f Makefile Manta_Engine.requires
/Users/abe/build-darwin/bin/cmake -H../.. -B.. --check-build- system Makefile.cmake
make[40]: vfork: Resource temporarily unavailable
make[39]: *** [../lib/libManta_Engine.dylib] Error 2
make[38]: *** [../lib/libManta_UserInterface.dylib] Error 2
......


This problem occurs when two libraries specify each other as dependencies in the cmake build. The system builds both libraries and then tries to rebuild them one after the other (each time realizing that nothing has to be built).

In the case I discovered, Engine and UserInterface are dependent on each other. UserInterface contains an AFRCameraPathAutomator which uses a MantaInterface which is part of Engine (of course Engine needs to refer to parts of UserInterface).

On other platforms this problem doesn't occur.

Anyone have an idea how to address this? (Besides moving the offending code.)

Abe








Archive powered by MHonArc 2.6.16.

Top of page