Hi Jonathan,
I put back the "usingLinux = 0" and had to change the "/usr/bin/CC" to
the g++ one. However, it went well until I got to the
so/nodes/SoText2.o with this error:
../../../../../lib/database/include/Inventor/SbTime.h:140: warning: `INT32_MAX'
redefined
/usr/include/sys/int_limits.h:74: warning: this is the location of the previous
definition
/opt/local/bin/g++ -D_DOUBLE_MATH_ONLY -DIRIX_6 -DLIBRARYBUILD -I.
-I../../../../../lib/database/include -I../../../../../lib/interaction/include
-I../../../../../lib/nodekits/include -I../../../../../libSoXt/include
-I../../../../../libFL/src -Inurbs/head -O -DNDEBUG -c SoText2.c++
In file included from
../../../../../lib/database/include/Inventor/sensors/SoSensorManager.h:65,
from ../../../../../lib/database/include/Inventor/SoDB.h:59,
from ../../../../../lib/database/include/Inventor/SoInput.h:66,
from
../../../../../lib/database/include/Inventor/fields/SoSubField.h:130,
from
../../../../../lib/database/include/Inventor/fields/SoSFEnum.h:67,
from
../../../../../lib/database/include/Inventor/nodes/SoComplexity.h:60,
from
../../../../../lib/database/include/Inventor/actions/SoCallbackAction.h:61,
from SoText2.c++:59:
../../../../../lib/database/include/Inventor/SbTime.h:140: warning: `INT32_MAX'
redefined
/usr/include/sys/int_limits.h:74: warning: this is the location of the previous
definition
SoText2.c++: In method `SbBool SoBitmapFontCache::convertToUCS(unsigned int,
const SoMFString &)':
SoText2.c++:780: passing `char **' as argument 2 of `iconv(_iconv_info *, const
char **, size_t *, char **, size_t *)' adds cv-quals without intervening `const'
gmake[5]: *** [SoText2.o] Error 1
rm SoCube.c++ SoCone.c++ SoPointSet.c++ SoSphere.c++ SoQuadMesh.c++
SoFaceSet.c++ SoIndexedLineSet.c++ SoLineSet.c++ SoIndexedFaceSet.c++
SoIndexedTriangleStripSet.c++ SoCylinder.c++
gmake[5]: Leaving directory
`/proj/sgi/Inventor/inventor/lib/database/src/so/nodes'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory `/proj/sgi/Inventor/inventor/lib/database/src/so'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/proj/sgi/Inventor/inventor/lib/database/src'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/proj/sgi/Inventor/inventor/lib/database'
gmake[1]: *** [libInventor.a] Error 1
gmake[1]: Leaving directory `/proj/sgi/Inventor/inventor/lib'
gmake: *** [all] Error 1
Do you have any ideas?
Thanks,
Linh
>>>>> "Jonathan" == Jonathan Lim <jlim@xxxxxxxxxxxxxxxxxxxx> writes:
Jonathan> On Wed Mar 28 11:31:36 2001, phan@xxxxxxxxxxxxxxxxxxx wrote:
>>
>> I am having problems compiling SGI's Open Inventor on my
>> Solaris 5.7:
>>
>> .../../lib/database/src/sb/SbRotation.c++: In method `void
>> SbRotation::getValue(SbVec3f &, float &) const':
>> .../../lib/database/src/sb/SbRotation.c++:101: implicit declaration of
>> function `int acosf(...)'
Jonathan> Edit make/ivcommondefs and uncomment the following lines:
Jonathan> # MATHDEFS = -D_DOUBLE_MATH_ONLY
Jonathan> # LCXXDEFS += $(MATHDEFS)
Jonathan> # LCDEFS += $(MATHDEFS)
>> Please let me know if you know why I am having problems.
>> I did modified this file "/proj/sgi/Inventor/inventor/make/system"
>> and set the "usingLinux = 1".
Jonathan> If you're compiling on Solaris, why are you setting it so?
Jonathan> Jonathan Lim _ Silicon Graphics _ Mountain View
Jonathan> GPS Graphics Computer Systems CA, USA
|