3D prims on unix
Raab, Andreas
Andreas.Raab at disney.com
Thu Apr 22 00:39:54 UTC 1999
Joshua,
What you need is a '.so' file (being a 'shared object') and not just the
'.o' files. Generating the shared objects is done by a separate linker pass
and I *think* this is not (yet) integrated in the Unix makefiles. Thus, your
..o file is useless for the purpose of using it with Squeak - it lacks
critical information and I'm sort of amazed that it's actually being found
by the search process from the VM [Note to Ian: You should probably remove
'.o' from the list of extensions to search for ;-)]
Andreas
--
+===== Andreas Raab ========= (andreasr at wdi.disney.com) ==+
| Walt Disney Imagineering Phone: +1 818 544 5016 I
I Glendale, CA Fax: +1 818 544 4544 I
+======< http://isgwww.cs.uni-magdeburg.de/~raab >========+
> ----------
> From: Joshua Gargus
> Reply To: squeak at cs.uiuc.edu
> Sent: Wednesday, April 21, 1999 4:55 PM
> To: UIUC Squeak Mailing List
> Cc: recipient list not shown
> Subject: 3D prims on unix
>
> Hi all,
>
> I'm feeling a little jealous about everyone raving about Alice,
> and poor me without any 3d primitives ;-)
>
> Here is what I did to try to get them to work:
>
> -executed 'B3DEnginePlugin translateB3D' in a workspace
> -moved the resulting files to the squeak src directory
> (for the header files)
> -moved the resulting 'Squeak3D.o', 'b3d*.o' files to the directory
> containing my 'squeak.image'
> -fired up Squeak and tried to enter 'Play With Me-7'.
>
>
> I then got a message telling me that I needed 3D support to enter
> the project.
>
> I noticed something else odd: when I execute
> 'B3DPrimitiveTransformer version' without the compiled C prims in
> my image directory, the result is 0, as expected. However, with
> the prims there, the result the first time I execute it is 0 instead
> of 1, and the result the second time I execute it is a hard crash.
> Apparently, some messin' around with memory is going on. Any ideas?
> Here's the stack trace from the crash:
>
> Segmentation fault
>
> 818284800 B3DPrimitiveTransformer class>isAvailable
> 818284644 B3DRenderEngine class>isAvailable
> 818284488 WonderlandCameraMorph>okayToEnterProject
> 818285124 [] in Project>enter:
> 818283816 SequenceableCollection>do:
> 818283984 [] in Project>enter:
> 818283348 Object>ifNotNil:
> 818283192 Project>enter:
> 818283036 ProjectViewMorph>enter
> 818267292 ProjectViewMorph>mouseDown:
> 818267136 [] in HandMorph>handleMouseDown:
> 818266980 Object>ifNotNil:
> 818266824 HandMorph>handleMouseDown:
> 818266628 HandMorph>handleEvent:
> 818266472 HandMorph>processEvents
> 818266316 [] in WorldMorph>doOneCycleNow
> 818266160 SequenceableCollection>do:
> 818266004 WorldMorph>doOneCycleNow
> 818265848 WorldMorph>doOneCycle
> 813782148 [] in Project>spawnNewProcess
> 813782304 [] in BlockContext>newProcess
>
>
> Thanks in advance,
> Josh
>
>
>
More information about the Squeak-dev
mailing list
|