comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Oceans
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Oceans [message #43415 is a reply to message #43392] Mon, 11 April 2005 09:27 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Ken Mankoff wrote:
>
> On Fri, 8 Apr 2005, Rick Towler wrote:
>
>> Ken Mankoff wrote:
>>
>>> On Wed, 6 Apr 2005, Rick Towler wrote:
>>>
>>> I have downloaded your demos, but I cannot run them. They crash on
>>> line 374 in rhtgrcamera__define.pro on the PLANES=planes keyword.
>>>
>>> ; Calculate viewing frustum vertices.
>>> self.frustum = RHTgrCamera_ComputeFrustum(self.zclip, self.fov, $
>>> self.eye[2], PLANES=planes)
>>> self.frustPlanes = planes
>>
>>
>> Did you recompile the .dlm and is it finding the .dlm?
>
>
> Yeah the first thing I did was go to the dlm/rhtgrCamera and
> dlm/rhtgrAABB directories and type "make". A .so and .o file were
> produced in each dir. I put them somewhere common (../ a.k.a the dlm/
> directory). I pointed the env variable to it, and !DLM_PATH looked
> correct inside IDL also.

The build looks o.k., and the error you are getting is more of a
DLM_PATH problem so I would start there.

Since you aren't seeing "% Loaded DLM: RHTGRCAMERA." when the
application compiles and you aren't seeing any "Unable to load DLM" type
errors I would guess IDL just can't find the .so/.dlm. What happens if
you simply try to compile the IDL code? If IDL didn't find the .dlm you
should get a syntax error on every line where a dlm function is referenced.

FWIW, I always install DLMs in one of two ways: I usually put them in
$IDL_DIR/bin/bin.x86 (would that be bin.darwin for you?) The lazy man's
approach which sidesteps the whole path issue. When I distribute .sav
files for the VM, I put the DLMs in the same directory as the .sav file.

If you move .dlm/.so files you either have to restart IDL or use the
DLM_REGISTER function to force IDL to update it's lookup tables. You
can also use the DLM_LOAD function to determine if IDL can find the dlm:

IDL> dlm_load,'rhtgrcamera'
% Loaded DLM: RHTGRCAMERA.

On subsequent calls in the current session, or when a DLM is already
loaded, you won't see the "% Loaded DLM:" output.

I don't know why your IDL_DLM_PATH doesn't seem to be working... Are
the .dlm and .so files both in that directory?

-r
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Oceans
Next Topic: Re: Latitude/longitude, contours, map_set, iMap?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:39:06 PDT 2025

Total time taken to generate the page: 0.80686 seconds