View topic - Error when building on linux

Error when building on linux

Users-contributed CVS development builds. Post here your questions about compiling the source code.

Error when building on linux

Post Mon Jun 02, 2008 5:22 pm

I get an error when I try to build yafaray on a Linux machine:

Code: Select all
src/yafraycore/object3d.cc: In member function »virtual int yafray::triangleObject_t::evalVMap(const yafray::surfacePoint_t&, unsigned int, float*) const«:
src/yafraycore/object3d.cc:51: Fehler: »alloca« wurde in diesem Gültigkeitsbereich nicht definiert
scons: *** [build/yafraycore/object3d.os] Error 1
scons: building terminated because of errors.

I searched for include <alloca.h> but could not find it. Is the alloca function part of another header?

Best regards,
Martin
sandstorm
 
Posts: 100
Joined: Mon Apr 11, 2005 6:20 pm
Location: Zurich / Mannheim

Post Mon Jun 02, 2008 7:37 pm

in my system alloca.h comes with glibc (2.7 here).
did you follow the instructions? http://www.yafray.org/forum/viewtopic.php?p=7932&highlight=#7932

yafray_config.h could have been overwritten, put it then to the particular .c source file (from where the missing definition was triggered)
Lempour
 
Posts: 17
Joined: Fri Apr 25, 2008 6:49 pm


Return to Testing Builds



Who is online

Users browsing this forum: No registered users and 3 guests