Ticket #17568 (closed defect: fixed)
inventor fails to build on 10.5.6
| Reported by: | css@… | Owned by: | css@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: | inventor |
Description
The inventor port fails to build on Max OS X Leopard 10.5.4, at least on my MacBook Pro. I encountered several errors:
First, bison seems much more strict, as I needed to apply a debian patch to SoCalcParse.y.
Next, I encountered more iconv fun:
SoText2.c++: In member function 'SbBool SoBitmapFontCache::convertToUCS(uint32_t, const SoMFString&)': SoText2.c++:781: error: invalid conversion from 'const char**' to 'char**' SoText2.c++:781: error: initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)'
This can be resolved by removing patches for both SoText2.c++ and SoText3.c++.
/usr/bin/g++ -I/usr/X11R6/include -I/opt/local/include -I. -I../../../lib/database/include -I../../../lib/interaction/include -I../../../lib/nodekits/include -I../../../libSoXt/include -dynamic -fPIC -fno-common -DIVPREFIX=\"/opt/local\" -O -DNDEBUG -c MyTextureEd.c++ MyTextureEd.c++:76:26: error: GL/GLwMDrawA.h: No such file or directory MyTextureEd.c++: In member function '_WidgetRec* MyTextureEditor::buildTexturePaletteWidget(_WidgetRec*)': MyTextureEd.c++:807: error: 'GLwNrgba' was not declared in this scope MyTextureEd.c++:810: error: 'GLwNredSize' was not declared in this scope MyTextureEd.c++:811: error: 'GLwNgreenSize' was not declared in this scope MyTextureEd.c++:812: error: 'GLwNblueSize' was not declared in this scope MyTextureEd.c++:814: error: 'glwMDrawingAreaWidgetClass' was not declared in this scope MyTextureEd.c++:820: error: 'GLwNginitCallback' was not declared in this scope MyTextureEd.c++:822: error: 'GLwNexposeCallback' was not declared in this scope MyTextureEd.c++: In member function 'void MyTextureEditor::openImageDialog()': MyTextureEd.c++:2452: error: 'GLwNrgba' was not declared in this scope MyTextureEd.c++:2453: error: 'GLwNredSize' was not declared in this scope MyTextureEd.c++:2454: error: 'GLwNgreenSize' was not declared in this scope MyTextureEd.c++:2455: error: 'GLwNblueSize' was not declared in this scope MyTextureEd.c++:2456: error: 'glwMDrawingAreaWidgetClass' was not declared in this scope MyTextureEd.c++:2460: error: 'GLwNginitCallback' was not declared in this scope MyTextureEd.c++:2462: error: 'GLwNexposeCallback' was not declared in this scope MyTextureEd.c++: In static member function 'static void MyTextureEditor::glxInitCB(_WidgetRec*, MyTextureEditor*, void*)': MyTextureEd.c++:2562: error: 'GLwNvisualInfo' was not declared in this scope MyTextureEd.c++: In static member function 'static void MyTextureEditor::imageDialogInitCB(_WidgetRec*, MyTextureEditor*, void*)': MyTextureEd.c++:2591: error: 'GLwNvisualInfo' was not declared in this scope make[6]: *** [MyTextureEd.o] Error 1
Apparently the 10.5.2 update it removed the GLwMDrawA.h header. This page details some similar Leopard X11 issues getting XCode to reinstall GLw headers.
I'll update the ticket with additional findings as I move forward...
Change History
Note: See
TracTickets for help on using
tickets.

