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

Home » Public Forums » archive » Re: Connecting GPC to IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Connecting GPC to IDL [message #76464] Thu, 09 June 2011 07:35 Go to next message
KRDean is currently offline  KRDean
Messages: 69
Registered: July 2006
Member
On Jun 6, 2:11 pm, kBob <krd...@gmail.com> wrote:
>  I would like to use the General Polygon Clipper (GPC) thur IDL.
>
>  This is a software package written in C that is available from
> Manchester that clips polygons.
>
>  Has anyone implement this in IDL, already?
>
>  I assume MAKE_DLL is the way to go.
>
> Kelly Dean
> Milliken, CO

I am still looking into this, as time allows.

I ahve reviewed some different ways to implement this, I have
determine that the following routines can be used :

LINKIMAGE
SPAWN
MAKE_DLL
CALL_EXTERNAL
CALL_EXTERNAL/MAKE_DLL

There is a nice example to use CALL_EXTERNAL/MAKE_DLL, but MAKE_DLL is
giving me problems as I am trying to use the gcc compiler. There is a
ITTVIS Tech Tip that helps, but another problem appears while dealing
with the IDL example.

There is a GCP DLL provided thru the MatLab Contrib site. I am playing
around with this in CALL_EXTERNAL, bypassing the MAKE_DLL.

Sorry, that this is turning into a blog, but I find it helps to scatch
some notes down once in awhile for future reference.

Kelly Dean
Milliken, CO
Re: Connecting GPC to IDL [message #76598 is a reply to message #76464] Fri, 10 June 2011 06:52 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Kelly: I have always found using gcc with IDL on Windows to be a
difficult endeavor. Also, the use of make_dll is optional and in the
past has made life more difficult rather than easier. I suggest
grabbing the free edition of Visual Studio Express and creating the
dll this way. Just remember to export the functions you will be
accessing from IDL. This is definitely an advanced topic, so start
with the simple examples in the external directory of the IDL distro.
Haje

On Jun 9, 10:35 am, kBob <krd...@gmail.com> wrote:
> On Jun 6, 2:11 pm, kBob <krd...@gmail.com> wrote:
>
>>  I would like to use the General Polygon Clipper (GPC) thur IDL.
>
>>  This is a software package written in C that is available from
>> Manchester that clips polygons.
>
>>  Has anyone implement this in IDL, already?
>
>>  I assume MAKE_DLL is the way to go.
>
>> Kelly Dean
>> Milliken, CO
>
> I am still looking into this, as time allows.
>
> I ahve reviewed some different ways to implement this, I have
> determine that the following routines can be used :
>
> LINKIMAGE
> SPAWN
> MAKE_DLL
> CALL_EXTERNAL
> CALL_EXTERNAL/MAKE_DLL
>
> There is a nice example to use CALL_EXTERNAL/MAKE_DLL, but MAKE_DLL is
> giving me problems as I am trying to use the gcc compiler. There is a
> ITTVIS Tech Tip that helps, but another problem appears while dealing
> with the IDL example.
>
> There is a GCP DLL provided thru the MatLab Contrib site. I am playing
> around with this in CALL_EXTERNAL, bypassing the MAKE_DLL.
>
> Sorry, that this is turning into a blog, but I find it helps to scatch
> some notes down once in awhile for future reference.
>
> Kelly Dean
> Milliken, CO
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: TEXT Function
Next Topic: Creating Polygon Shapefile with IDL

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

Current Time: Fri Oct 10 03:15:29 PDT 2025

Total time taken to generate the page: 0.16067 seconds