[esp-r] Re: printf broken error...
Marco Manzan
manzan at units.it
Mon Jun 22 23:18:23 BST 2009
Alle lunedì 22 giugno 2009, esp-r-request at lists.strath.ac.uk ha scritto:
> Date: Mon, 22 Jun 2009 15:46:48 +0100
> From: Paulo Tavares <ptavares at mail.isec.pt>
> Subject: [esp-r] printf broken error...
> To: esp-r at lists.strath.ac.uk
> Message-ID: <5.1.0.14.0.20090622153843.017f1850 at pop.isec.pt>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi all!
>
> I have compiled the latest version of ESP-r (11.7) without any errors.I?m
> using the recommended compilers. But now, when i tried to open an example
> occur this error:
>
> paulo at paulo-laptop:~$ esp-r
> paulo at paulo-laptop:~$ At line 2965 of file esru_lib.F
> Internal Error: printf is broken
>
> Another error happens when i try to create a new project:
>
> paulo at paulo-laptop:~$ esp-r
> paulo at paulo-laptop:~$ espokbox selected id iw 2 2
> espokbox selected id iw 2 2
> At line 375 of file esru_libGTK.F
> Internal Error: printf is broken
>
> What could be the reason for these errors? I think that they are related...
>
> Regards,
>
> Paulo Tavares
Hi Paulo
I've found the same error, If I remember well I solved it by setting the
locale before launching the program. In the shell try setting the LC_NUMERIC
variable:
export LC_NUMERIC=C
I think the problem is due to the internationalization libraries, I have to
set this variable, otherwise in italian locale the decimal separator is comma
character "," and not the point "." as is supposed to be in esp-r. I don't
know if it is true for portogues locale too.
I hope this could help you
regards,
Marco
--
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|Marco Manzan Email: manzan at units.it |
|Tel: (+39) 040 5583506 Fax : (+39) 040 572033 |
|Dipartimento di Ingegneria Navale, del Mare e per l'Ambiente |
|Universita' degli Studi di Trieste |
|piazzale Europa 1, 34127 TRIESTE |
|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
More information about the esp-r
mailing list