So the good news is I built the first examples (4view & ivclock). The bad news
is they give me a segmentation fault :(
The segmentation fault occurs in the call
form = XmCreateForm(mainWindow, "form", NULL, 0);
and is reported by the debugger to take place in _XmGetFocusData (). My Sun
came with Motif 1.2.
Unfortunately I can not put as much time into this as I wished. So my status
for now is:
- floorf, sqrtf etc. are not available on Sun. The ivcommondefs give the
impression the symbol _DOUBLE_MATH_ONLY can be used to solve this. However in
the file mymath.h it is rather the symbols LIBRARYBUILD, STANDALONE and GLBUILD
which control the compilation of floorf and others. I changed the file mymath.h
accordingly.
- I cannot build shared libraries libInventor.so and libInventorSoXt.so only
statics. I have no idea why. I have messages from another Sun user with the
same problem.
- multiple defined symbols from libFL (can be dealt with by -z muldefs):
> c++ -D_DOUBLE_MATH_ONLY Main.o ClassDef.o Man.o Reader.o Writer.o
> BuildIssues.o /home/keil/jan/sw/OpenInventor/inventor/lib/libInventor.a
> /home/keil/jan/sw/OpenInventor/libFL_sparc/libFL.a -lXt -lXm -lX11 -lGLU -lGL
> -ljpeg -ldl -o ivman
ld: fatal: symbol `flUniGetBitmap' is multiply defined:
(file BuildIssues.o and file
/home/keil/jan/sw/OpenInventor/libFL_sparc/libFL.a(fl.o));
ld: fatal: symbol `flUniGetOutline' is multiply defined:
(file BuildIssues.o and file
/home/keil/jan/sw/OpenInventor/libFL_sparc/libFL.a(fl.o));
ld: fatal: File processing errors. No output written to ivman
collect2: ld returned 1 exit status
- multiple defined symbol (warning only):
../../../../../lib/database/include/Inventor/SbTime.h:140: warning: `INT32_MAX'
redefined
So long for now,
Jan
--
-----------------------------------------------------------------
_/_/_/ _/ _/ Jan Boehm Dipl.-Inform. M.Sc.
_/_/_/ _/ _/_/ Institut fuer Photogrammetrie
_/_/_/ _/ _/_/ _/ _/ Universitaet Stuttgart
_/_/_/ _/ _/ _/_/ Geschwister-Scholl-Str. 24
_/ _/ D-70174 Stuttgart
-----------------------------------------------------------------
Tel : +49-711-121-4110 Email : jan.boehm@xxxxxxxxxxxxxxxxxxxx
Fax : +49-711-121-3297 WWW : www.ifp.uni-stuttgart.de
-----------------------------------------------------------------
jan.boehm.vcf
Description: Card for Jan Böhm
|