Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] Re: error building with osx?


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: [MANTA] Re: error building with osx?
  • Date: Tue, 20 Dec 2005 13:37:06 -0700


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