Is it possible to create an IDL exe program for Windows ? I think the answer is NO but I just want to be sure. Until now, what am I doing is create a simple SAV file with all the content of my program and if somebody wants to use it, the installation of the IDL virtual machine is required. I don't know if there is a way to add the virtual machine inside the executable, change the icon of the sav program, etc. I know I can create a batch file to execute the SAV file but I don't know how to do that exactly.
On Feb 12, 1:48 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi guys,
> Is it possible to create an IDL exe program for Windows ? > I think the answer is NO but I just want to be sure. Until now, what > am I doing is create a simple SAV file with all the content of my > program and if somebody wants to use it, the installation of the IDL > virtual machine is required. > I don't know if there is a way to add the virtual machine inside the > executable, change the icon of the sav program, etc. I know I can > create a batch file to execute the SAV file but I don't know how to do > that exactly.
> On Feb 12, 1:48 pm, nata<bernat.puigdomen...@gmail.com> wrote: >> Hi guys,
>> Is it possible to create an IDL exe program for Windows ? >> I think the answer is NO but I just want to be sure. Until now, what >> am I doing is create a simple SAV file with all the content of my >> program and if somebody wants to use it, the installation of the IDL >> virtual machine is required. >> I don't know if there is a way to add the virtual machine inside the >> executable, change the icon of the sav program, etc. I know I can >> create a batch file to execute the SAV file but I don't know how to do >> that exactly.
>> Suggestions or comments are appreciated. >> nata
> See the help on make_rt.
Yes, you definitely can do it (and create launchers for other platforms besides Windows too), see MAKE_RT as mentioned by pp.
And the best part (for me) is that you don't even have to have a Windows machine to do it. Here's an article about creating such IDL "uber-installations":
That's great ! I have 2 more question: 1) All the .bin files that I'll find in the idl71_rt.tar.gz file and all that you explained in this old post, will it works with IDL 7.0?
2) Another thing is, if I build a cross-platform IDL application, it will take a lot of space?. I mean, if the content of the idl71_rt.tar.gz is more than 500Mb it means that the final compiled program will have this kind of size?
I'm using IDL7 and the bin files collected by pp don't work if I run the make_rt. I suppose that the reason is the incompatibility between the bin files (version 7.1) and the sav file and the make_rt command that comes from my version 7.0 Thanks,
On Feb 12, 6:41 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> I have 2 more question: > 1) All the .bin files that I'll find in the idl71_rt.tar.gz file and > all that you explained in this old post, will it works with IDL 7.0?
I expect it to work, since make_rt just copies files and makes start scripts, and it can take external bin directories and manifest files (idldir and manifest keywords).
> 2) Another thing is, if I build a cross-platform IDL application, it > will take a lot of space?. I mean, if the content of the > idl71_rt.tar.gz is more than 500Mb it means that the final compiled > program will have this kind of size?
That file is large because has the bin directories of 7 different versions: Win 32 and 64, Linux 32 and 64, and Mac PPC, Intel 32 and Intel 64. Additionally, not all its contents is used on every distribution produced, and some control over it can be don with make_rt's keywords.
The smallest sizes of the resulting directories I have seen are 50-80MB, depending on the platform. But even so, they include many files that may be erased if the application does not use that particular feature (such as help, maps, itools, and bridges).
On Feb 12, 8:06 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> I'm using IDL7 and the bin files collected by pp don't work if I run > the make_rt. > I suppose that the reason is the incompatibility between the bin files > (version 7.1) and the sav file and the make_rt command that comes from > my version 7.0
I do not think that is the problem. What exactly do you mean by "don't work"? Which platform are you using, and which platform are you building for? What exactly is the make_rt command you are using? Does a plain (for the native platform, without using the external bin directories) call to make_rt work?
> I do not think that is the problem. What exactly do you mean by "don't > work"? Which platform are you using, and which platform are you > building for? What exactly is the make_rt command you are using? Does > a plain (for the native platform, without using the external bin > directories) call to make_rt work?
Hi,
Sorry for the delay of my answer. I'm working on Linux Feedora 32 bits and I'm trying to create an executable version of my program using MAKE_RT in IDL 7.0. I tried to create a Linux version using the default IDL_DIR. Something like this:
When I use your IDL_DIR directory the final program version doesn't work. And by "doesn't work" I mean that the program crashes with the following error:
idl71_rt/bin/bin.linux.x86/idl: error while loading shared libraries: libidl.so.7.1: cannot open shared object file: No such file or directory
So I checked the log file and I found the following line:
Source file not found: uber_installation/idl71_rt/bin/bin.linux.x86/ libidl_ops.so.7.0
The problem is that my version of MAKE_RT tries to collect bins of the version I'm using (7.0)... So I think I can't use your collection of bins. I'll have to create mine or I'll have to update my version of IDL.
The problem is the manifest file... The manifest file is trying to find some files like libidl_ops.so.7.0 Could you send me a copy of your manifest file ?? Thank you !