compiling errors in different computers with CW_BGROUP and GET_SCRREEN_SIZE [message #11355] |
Sat, 21 March 1998 00:00  |
M. Jesus Ledesma
Messages: 1 Registered: March 1998
|
Junior Member |
|
|
Hello,
I am a spanish student, I am developing and aplication for a
Center in Germany and the last days I've had some strange problems. I
have my aplication compiling and running here in Spain, but when
yesterday I sent it to Germany , there it does not compile,
unbelivebable!. We both have the same development version idl 5.0.2.
I have tested the aplication in different idl licences here
in Spain, and no problems and of course the least with compiling. It
seems the thransmission has been done correctly. I have done it sveral
times etc...
Well the errors are also very courious. They only appear with to
functions, CW_BGROUP, and GET_SCREEN_SIZE , but the fuctions are in
their version,...
In a file of 4000 lines only this errors apear,
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
screen_size=GET_SCREEN_SIZE()
^
% Syntax error.
At: C:\George\Pet.pro, Line 4031
wZWindow= CW_BGROUP(wZBase,/ROW,/EXCLUSIVE, $
^
% Syntax error.
At: C:\George\Pet.pro, Line 4084
wRoiDefModes= CW_BGROUP(wSubBase, /COLUMN, /EXCLUSIVE, /NO_REL,
/RETURN_NAME, $
^
% Syntax error.
At: C:\George\Pet.pro, Line 4109
wRoiDefOptions= CW_BGROUP(wSubBase, /COLUMN, /NO_RELEASE,
/RETURN_NAME, $
^
% Syntax error.
At: C:\George\Pet.pro, Line 4111
% 4 Compilation errors in module PET.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::
This are the only occurrences of this functions in this file. I find it
quite strange, and above all I do not know what to do, and it is a
little bit urgent.
THANK YOU ALL ,
Maria.
|
|
|
|
Re: Compiling errors [message #64367 is a reply to message #64283] |
Thu, 18 December 2008 01:37  |
loebasboy
Messages: 26 Registered: August 2008
|
Junior Member |
|
|
On 17 dec, 13:37, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
> loebasboy wrote:
>> I have a procedure where i use a self written function in. If I
>> compile the procedure and then type in the command line the following:
>
>> .reset_session
>> resolve_all
>
>> all dependent functions are compiled. Then if i try to run the
>> procedure I get an error on the line where i use the self written
>> function:
>
>> % Keyword parameters not allowed in call.
>
>> I've rewritten the function some time ago with different input
>> parameters as a result. If I then compile the self written function
>> manually, everything works.
>
> is it a system function?
> Do you still have the old one in your path? ... I have found IDL7 to use
> the dumbest file it could (like function_backup.pro will be used before
> function.pro)
>
>> What seems to be the problem here? Am I doing something wrong here,
>> apart for rewriting the function.
>
>> Also, if I use 'resolve_all' with IDL + ENVI on, i get alot of errors,
>> with being the first:
>
>> % Attempt to call undefined procedure/function: 'ADAPT_FILT_EVENT'.
>
>> What am I doing wrong?
>
> Nothing, resolve_all calls all (really all of them?) Envi functions when
> Envi is open... nothing to worry about!
>
> Jean- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -
Thanks for the answer, the self written function is called
'read_hdf5'. A function that is not a system function by my knowing.
The only thing resembling is the example program 'ex_read_hdf5'.
|
|
|