[esp-r] Re: Error occured
lap02175
aizaz.a.samuel at strath.ac.uk
Tue Aug 2 15:52:06 BST 2011
Try changing lucida to helvetica around line 570-578 in lib/esru_x.c
(two instances) and also increase the string length from
39(corresponding to lucida) to 42 in the string copy function which
should look like
(strncpy(font_4,"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*",42);) and
recompiling (remember to make clean to remove object files before you
Install)
This worked for me on cygwin.
-Aizaz
On 05/07/2011 02:18, 武政 孝治 wrote:
> Hi
>
> I compiled ESP-r by using the X11 library.
> ESP-r compiled by using the GTK library doesn't cause the error.
>
> Regard,
>
> -----
> Name : Koji Takemasa
> E-mail : koji_takemasa at mac.com
> URL : http://web.me.com/koji_takemasa/MobileMe/LEAD_Project.html
>
>>
>> This is probably the GTK interface version of ESP-r?
>>
>> It is looking for a font to use. It does not find the main font or
>> the 2nd choice font. Because of this
>> it does not have sufficient resources to work.
>>
>> The lucidia fonts tend to be standard on most Linux/Unix/OSX
>> machines. This machine does not
>> seem to have them. Using the package manager for the operating system
>> check if there are
>> additional font sets that can be installed for the X11 environent -
>> one of them might have lucida.
>>
>> Perhaps someone else might have further details about which font set
>> to look for?
>>
>> Regards Jon Hand
>> ________________________________________
>> From: esp-r-bounces at lists.strath.ac.uk
>> <mailto:esp-r-bounces at lists.strath.ac.uk>
>> [esp-r-bounces at lists.strath.ac.uk
>> <mailto:esp-r-bounces at lists.strath.ac.uk>] On Behalf Of 武政 孝治
>> [koji_takemasa at me.com <mailto:koji_takemasa at me.com>]
>> Sent: 03 July 2011 10:50
>> To: ESP-r mailing list
>> Subject: [esp-r] Error occured
>>
>> Hi
>> I downloaded the source code of esp-r11.11. And, as follows was done
>> and it compiled.
>>
>> $ sudo ./Install -d /opt/esru --gcc4
>>
>> It is not possible to start by displaying the error when starting.
>> Please teach the coping process.
>>
>> (error log)
>> display :0.0 doesn't know font
>> -*-lucida-medium-r-*-*-10-*-*-*-*-*-*-* ...
>> 2nd choice font 6x12ucida-medium-r-*-*-10-*-*-*-*-*-*-* has not been
>> found so quitting.
>>
>> It is my first experience though have compiled many times by me up to
>> now.
>>
>> Regards,
>>
>> -----
>> Name : Koji Takemasa
>> E-mail : koji_takemasa at mac.com <mailto:koji_takemasa at mac.com>
>> URL : http://web.me.com/koji_takemasa/MobileMe/LEAD_Project.html
>>
>>
>> _______________________________________________
>> esp-r mailing list
>> esp-r at lists.strath.ac.uk <mailto:esp-r at lists.strath.ac.uk>
>> *MailScanner has detected a possible fraud attempt from
>> "lists.strathac.uk" claiming to be*
>> http://lists.strath.ac.uk/mailman/listinfo/esp-r
>> <http://lists.strathac.uk/mailman/listinfo/esp-r>
--
---
Dr Aizaz A Samuel
Department of Mechanical Engineering
University of Strathclyde
324 James Weir Building
75 Montrose Street
Glasgow, UK
G1 1XJ
e: samuel at esru.strath.ac.uk
t: +44 141 548 5765
f: +44 141 552 5105
w: www.strath.ac.uk/esru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20110802/5caaeafa/attachment.html
More information about the esp-r
mailing list