Package: inventor Version: 2.1.5-10-3 Severity: serious Tags: patch inventor fails to build because it does not forward-declare SoTempPath:
> /usr/bin/g++ -g -D_REENTRANT -O3 -DIVBINDIR=\"/usr/bin\" > -DIVLIBDIR=\"/usr/lib\" -DIVHDRTOP=\"/usr/include/Inventor\" > -DIVFONTPATH=\"/usr/share/inventor/fonts\" > -DIVHELPDIR=\"/usr/share/inventor/help\" > -DIVDATADIR=\"/usr/share/inventor/data/models\" > -DIVMATERIALSDIR=\"/usr/share/inventor/data/materials\" > -DIVTEXTURESDIR=\"/usr/share/inventor/data/textures\" > -DIVDEMOBINDIR=\"/usr/lib/inventor\" > -DIVDEMODATADIR=\"/usr/share/inventor/data/demos\" -DPDFVIEWER=\"xpdf\" > -I/usr/X11R6/include -I. -I../../../../lib/database/include > -I../../../../lib/interaction/include -I../../../../lib/nodekits/include > -I../../../../libSoXt/include -fPIC -O -DNDEBUG -c So.c++ > ../../../../lib/database/include/Inventor/SoPath.h:343: error: 'SoTempPath' > has not been declared > SoPath.c++:1118: error: prototype for 'void > SoLightPath::makeTempPath(SoTempPath*) const' does not match any in class > 'SoLightPath' > ../../../../lib/database/include/Inventor/SoPath.h:343: error: candidate is: > void SoLightPath::makeTempPath(int*) const The attached patch adds a forward declaration, which fixes the problem. -- Matt
only in patch2: unchanged: --- inventor-2.1.5-10.orig/lib/database/include/Inventor/SoPath.h +++ inventor-2.1.5-10/lib/database/include/Inventor/SoPath.h @@ -281,7 +281,7 @@ friend class SoTempPath; }; - +class SoTempPath; ////////////////////////////////////////////////////////////////////////////// //
signature.asc
Description: Digital signature