Include PARGE in another project - Printable Version +- ReSe User Support Forum (https://forum.rese-apps.com) +-- Forum: Support Discussions (https://forum.rese-apps.com/forumdisplay.php?fid=9) +--- Forum: PARGE (https://forum.rese-apps.com/forumdisplay.php?fid=10) +--- Thread: Include PARGE in another project (/showthread.php?tid=70) |
Include PARGE in another project - rese_support - 03-Feb-2015 Quote:In fact my problem seems not to come from the licence file itself but from how to use parge.sav in batch mode within another idl project. I did not make modifition in my file since a long time so I do not have issues with parge. But I already observ this: sometimes after compilation everything works properly, sometimes not (as if the licence was not available). It seems to have a link with the fact I use or not parge in ihm mode before or not... but it is still very confuse for me. I could not find any explanation on the parge documentation I have about how to make a runtime distribution with parge inside. I have placed parge.sav and the rese_licence.pro in the idl project and generated it. Yesterday it works. Today I compile again and it doesnot work anymore (asking for a gcs file and licence not available) If you want to include parge in another project, you may proceed as follows: - restore parge.sav - compile your project - make the runtime distribution - place the license beneath your binary - place a dummy file named 'parge.sav' (or a link or a copy of your save file) beneath your binary This should make it possible to use the license; the license file is searched by first searching for the parge.sav (file_which('parge.sav')) and then the license file should be on the same directory. The startup directory is added automatically to the idl search path whenever parge is startet; so you'd need possibly to call parge,/norun before starting your routines. |