X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Oct 2016 07:08 PM by  anon
A distributable made with make_rt doesn't work. The icon appears and then disappears right away.
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
27 Oct 2016 07:08 PM
    A distributable made with make_rt doesn't work. The AppleScript icon appears and then disappears right away. In this case the file I am running is the .app file that is made by make_rt. (I am using OS X.) All the code works fine when I restore the .sav file and run it from the console in the IDE. I did create a .pro file with the same name as the package, and I thought that would be used as the entry point. If I try to target LIN64 instead of OS X, a differnet problem arises when I run the code in linux. I get the error: /home/jsebag/sandbox/lsst_post_processing/idl85/bin/idl: line 466: /home/jsebag/sandbox/lsst_post_processing/idl85/bin/bin.linux.x86_64/idl: No such file or directory I believe I can trace this back to the fact I do not have the bin.linux.x86_64 directory in /Applications/exelis/idl85/bin/. The log.txt file that was created by make_rt has a lot of lines like this: Source file not found: /Applications/exelis/idl85/bin/bin.linux.x86_64/DESCRIP I do have bin.darwin.x86_64 in the bin directory. The command I used to make a distributable for linux is: make_rt, 'lsst_post_processing', '/Users/jdbarr/temp', savefile = '/Users/jdbarr/IDLWorkspace/lsst_post_processing/lsst_post_processing.sav', /VM, /LIN64, /LIN32 Can someone please tell me what's going on? (Is it impossible to target linux from OS X?)

    Deleted User



    Basic Member


    Posts:143
    Basic Member


    --
    09 Nov 2016 03:36 PM
    I think that the trick is to using the Mac Unix-style installer to install a Linux installation. Then point to this Linux installation when using MAKE_RT. The following article discusses creating a MAKE_RT distributions for different platforms: http://www.harrisgeospati...cleID/4542/4542.aspx
    You are not authorized to post a reply.