comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Connecting GPC to IDL
items: Re: Connecting GPC to IDL

Connecting GPC to IDL
type: item
description: 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
creator: KRDean
date: 2011-06-06T20:11:35-00:00

Re: Connecting GPC to IDL
type: item
description: On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: > 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- Hide quoted text - > > - Show quoted text - Yes, apparently the ITTVIS example assumes you have Microsoft Visual installed. Well, I spent most of the day installing Microsoft Visual C++ 10.0 and regist for the free version. So far, here…
creator: KRDean
date: 2011-06-10T19:49:58-00:00

Re: Connecting GPC to IDL
type: item
description: kBob <krdean@gmail.com> wrote: > On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >> 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- Hide quoted text - >> >> - Show quoted text - > > Yes, apparently the ITTVIS example assumes you have Microsoft Visual > installed. > > Well, I spent mo…
creator: Michael Galloy
date: 2011-06-11T16:07:54-00:00

Re: Connecting GPC to IDL
type: item
description: On Jun 11, 10:07 am, Michael Galloy <mgal...@gmail.com> wrote: > kBob <krd...@gmail.com> wrote: >> On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >>> 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- Hide quoted text - > >>> - Show quoted text - > >> Yes, apparent…
creator: KRDean
date: 2011-06-14T21:44:59-00:00

Re: Connecting GPC to IDL
type: item
description: On Jun 14, 3:44 pm, kBob <krd...@gmail.com> wrote: > On Jun 11, 10:07 am, Michael Galloy <mgal...@gmail.com> wrote: > > > > > >> kBob <krd...@gmail.com> wrote: >>> On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >>>> 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 futu…
creator: KRDean
date: 2011-06-16T21:21:38-00:00

Re: Connecting GPC to IDL
type: item
description: Were you able to successfully compile any of the small example programs in the IDL external directory? On Jun 16, 5:21 pm, kBob <krd...@gmail.com> wrote: > On Jun 14, 3:44 pm, kBob <krd...@gmail.com> wrote: > > > >> On Jun 11, 10:07 am, Michael Galloy <mgal...@gmail.com> wrote: > >>> kBob <krd...@gmail.com> wrote: >>>> On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >>>> > 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 play…
creator: Haje Korth
date: 2011-06-17T12:46:54-00:00

Re: Connecting GPC to IDL
type: item
description: On Jun 17, 6:46 am, Haje Korth <hajeko...@gmail.com> wrote: > Were you able to successfully compile any of the small example > programs in the IDL external directory? > > On Jun 16, 5:21 pm, kBob <krd...@gmail.com> wrote: > > > >> On Jun 14, 3:44 pm, kBob <krd...@gmail.com> wrote: > >>> On Jun 11, 10:07 am, Michael Galloy <mgal...@gmail.com> wrote: > >>>> kBob <krd...@gmail.com> wrote: >>>> > On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >>>> >> 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 >>>>…
creator: KRDean
date: 2011-06-17T14:15:21-00:00

Re: Connecting GPC to IDL
type: item
description: Ok, typically when using visual studio from the command line you need to execute a batch file so set the paths correctly. On my machine this is vsvars32.bat. It it siemwhere in the visual studio tree. I copied it to c:\windows so that it is always found. Then try the examples again, and do not attempt to compile gpc until the examples work. The next question I have is whether you wrote the proper wrapper routines to interface from IDL to gpc? On Jun 17, 10:15 am, kBob <krd...@gmail.com> wrote: > On Jun 17, 6:46 am, Haje Korth <hajeko...@gmail.com> wrote: > > > >> Were you able to successfully compile any of the small example >> programs in the IDL external directory? > >> On Jun 16, 5:21 pm, kBob <krd...@gmail.com> wrote: > >>> On Jun 14, 3:44 pm, kBob <krd...@gmail.com> wrote: > >>>> On Jun 11, 10:07 am, Michael Galloy <mgal...@gmail.com> wrote: > >>>> > kBob <krd...@gmail.com> wrote: >>>> > > On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >>>> > >> 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, C…
creator: Haje Korth
date: 2011-06-17T19:00:54-00:00

Re: Connecting GPC to IDL
type: item
description: On Jun 17, 1:00 pm, Haje Korth <hajeko...@gmail.com> wrote: > Ok, typically when using visual studio from the command line you need > to execute a batch file so set the paths correctly. On my machine this > is vsvars32.bat. It it siemwhere in the visual studio tree. I copied > it to c:\windows so that it is always found. Then try the examples > again, and do not attempt to compile gpc until the examples work. The > next question I have is whether you wrote the proper wrapper routines > to interface from IDL to gpc? > > On Jun 17, 10:15 am, kBob <krd...@gmail.com> wrote: > > > >> On Jun 17, 6:46 am, Haje Korth <hajeko...@gmail.com> wrote: > >>> Were you able to successfully compile any of the small example >>> programs in the IDL external directory? > >>> On Jun 16, 5:21 pm, kBob <krd...@gmail.com> wrote: > >>>> On Jun 14, 3:44 pm, kBob <krd...@gmail.com> wrote: > >>>> > On Jun 11, 10:07 am, Michael Galloy <mgal...@gmail.com> wrote: > >>>> > > kBob <krd...@gmail.com> wrote: >>>> > > > On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >>>> > > >> 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 t…
creator: KRDean
date: 2011-06-20T16:00:59-00:00

Re: Connecting GPC to IDL
type: item
description: On Jun 20, 10:00 am, kBob <krd...@gmail.com> wrote: > On Jun 17, 1:00 pm, Haje Korth <hajeko...@gmail.com> wrote: > > > > > >> Ok, typically when using visual studio from the command line you need >> to execute a batch file so set the paths correctly. On my machine this >> is vsvars32.bat. It it siemwhere in the visual studio tree. I copied >> it to c:\windows so that it is always found. Then try the examples >> again, and do not attempt to compile gpc until the examples work. The >> next question I have is whether you wrote the proper wrapper routines >> to interface from IDL to gpc? > >> On Jun 17, 10:15 am, kBob <krd...@gmail.com> wrote: > >>> On Jun 17, 6:46 am, Haje Korth <hajeko...@gmail.com> wrote: > >>>> Were you able to successfully compile any of the small example >>>> programs in the IDL external directory? > >>>> On Jun 16, 5:21 pm, kBob <krd...@gmail.com> wrote: > >>>> > On Jun 14, 3:44 pm, kBob <krd...@gmail.com> wrote: > >>>> > > On Jun 11, 10:07 am, Michael Galloy <mgal...@gmail.com> wrote: > >>>> > > > kBob <krd...@gmail.com> wrote: >>>> > > > > On Jun 10, 7:52 am, Haje Korth <hajeko...@gmail.com> wrote: >>>> > > > >> 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 tha…
creator: KRDean
date: 2011-06-20T21:19:07-00:00

Re: Connecting GPC to IDL
type: item
description: On 6/20/11 3:19 PM, kBob wrote: > On Jun 20, 10:00 am, kBob<krd...@gmail.com> wrote: >> On Jun 17, 1:00 pm, Haje Korth<hajeko...@gmail.com> wrote: >> >> >> >> >> >>> Ok, typically when using visual studio from the command line you need >>> to execute a batch file so set the paths correctly. On my machine this >>> is vsvars32.bat. It it siemwhere in the visual studio tree. I copied >>> it to c:\windows so that it is always found. Then try the examples >>> again, and do not attempt to compile gpc until the examples work. The >>> next question I have is whether you wrote the proper wrapper routines >>> to interface from IDL to gpc? >> >>> On Jun 17, 10:15 am, kBob<krd...@gmail.com> wrote: >> >>>> On Jun 17, 6:46 am, Haje Korth<hajeko...@gmail.com> wrote: >> >>>> > Were you able to successfully compile any of the small example >>>> > programs in the IDL external directory? >> >>>> > On Jun 16, 5:21 pm, kBob<krd...@gmail.com> wrote: >> >>>> >> On Jun 14, 3:44 pm, kBob<krd...@gmail.com> wrote: >> >>>> >>> On Jun 11, 10:07 am, Michael Galloy<mgal...@gmail.com> wrote: >> >>>> >>>> kBob<krd...@gmail.com> wrote: >>>> >>>>> On Jun 10, 7:52 am, Haje Korth<hajeko...@gmail.com> wrote: >>>> >>>>>> 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 soft…
creator: Michael Galloy
date: 2011-06-24T16:35:19-00:00