Path: news.cs.au.dk!not-for-mail From: "Sascha Kimmel" Newsgroups: comp.lang.beta Subject: AW: BETA, Linux and Pixmaps... Date: 20 Mar 1999 10:37:43 -0000 Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 154 Approved: mailtonews@cs.au.dk Distribution: world Message-ID: <19990320103743.21862.qmail@noatun.mjolner.dk> Reply-To: "Sascha Kimmel" NNTP-Posting-Host: daimi.cs.au.dk X-Trace: xinwen.cs.au.dk 921926275 14413 255.255.255.255 (20 Mar 1999 10:37:55 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 20 Mar 1999 10:37:55 GMT Xref: news.cs.au.dk comp.lang.beta:11880 > -----Ursprüngliche Nachricht----- > Von: Christof Pohl [mailto:chripo@edu.uni-dortmund.de] > Gesendet am: Donnerstag, 18. März 1999 21:39 > An: usergroup@mjolner.dk > Betreff: BETA, Linux and Pixmaps... > > Hi! Hi Christof! > I want to use BETA under Linux with Lesstif, and have spent some time to > get it working. ;-) I use the SuSE 6.0 distribution of Linux, which is > glibc2-based. Furthermore, I have updated my system to the 2.2.2 kernel. > Following the instructions given in the mia90-04.pdf, the beta-faq (for > solving glibc2-problems) and the beta-lesstif-faq (for getting BETA to > work with lesstif), there is still one problem left. :-\ I'm using BETA 4.1 under Linux as well (DLD 6.0, also glibc2-based) but I use the 2.0.36 - Kernel. > If I compile the iconbutton-example in ~beta/demo/guienv, compilation > and linking goes well, but when executing the binary, I get the > following error: > > ------------------------------------------------------------------ > -------------- > > Warning: Cannot convert string "" to type FontStruct > > **** Exception processing > pixmap file "communicator.xpm" was not found in any of the pixmap > directories > > > # Beta execution aborted: Stop is called. > # Look at 'iconbutton.dump' > > ------------------------------------------------------------------ > -------------- > The problem is that GUIENV cannot find the pixmap in any of the pixmap directories (you can try to guess which these are, if you find it out, please let me know! :) Let me guess: you initialize the pixmap by using 'communicator.xpm"->myBitmap.load (well, was it load? Hmm.. But this doesn't matter for this problem I hope). Try using './communicator.xpm'->myBitmap..., this should work without any problems and put your pixmap file into the same directory your program is in. I've had the same problem under Linux, but now it works fine! > > All other GUIENV-based demos run fine, as do the demos without GUI. I > have tried modifying my .fvwm2rc (added "." to the PixMap-Directories), > but that didn´t work. > > Any help would be very welcome. > > > Thanks in advance, > > Chris > > > P.S.: > > The call chain in iconbutton.dump is as follows: > > > item in ~beta/basiclib/v1.6/private/betaenvbody > -- stop# in ~beta/basiclib/v1.6/betaenv > item in ~beta/basiclib/v1.6/betaenv > -- BETAENV-~ in ~beta/basiclib/v1.6/betaenv > item error# in ~beta/basiclib/v1.6/betaenv > -- BETAENV-~ in ~beta/basiclib/v1.6/betaenv > item error# in ~beta/guienv/v1.6/private/X11/pixmapbody > -- *expandPixmapName# in ~beta/guienv/v1.6/private/X11/pixmapbody > item in ~beta/guienv/v1.6/private/X11/pixmapbody > -- * in ~beta/guienv/v1.6/private/X11/pixmapbody > item <*> in ~beta/guienv/v1.6/private/X11/pixmapbody > -- *expandPixmapName# in ~beta/guienv/v1.6/private/X11/pixmapbody > item * in ~beta/guienv/v1.6/private/X11/pixmapbody > -- pixmap# in ~beta/guienv/v1.6/guienv > item <*> in ~beta/guienv/v1.6/private/X11/pixmapbody > -- Surrounding object (0x40386138) damaged! > item in ~beta/guienv/v1.6/private/X11/pixmapbody > -- pixmap# in ~beta/guienv/v1.6/guienv > item open#open#open#open#open# in /root/test/guienv/iconbutton > -- > anIconButton#iconButton#button#control#windowitem#interfaceObject# in > /ro > ot/test/guienv/iconbutton > item open#open#open#open#open# in ~beta/guienv/v1.6/controls > -- > anIconButton#iconButton#button#control#windowitem#interfaceObject# in > /ro > ot/test/guienv/iconbutton > item open#open#open#open#open# in ~beta/guienv/v1.6/controls > -- > anIconButton#iconButton#button#control#windowitem#interfaceObject# in > /ro > ot/test/guienv/iconbutton > item open#open#open#open#open# in ~beta/guienv/v1.6/controls > -- > anIconButton#iconButton#button#control#windowitem#interfaceObject# in > /ro > ot/test/guienv/iconbutton > item open#open#open#open#open# in > ~beta/guienv/v1.6/private/X11/guienv_ > unixbody > -- > anIconButton#iconButton#button#control#windowitem#interfaceObject# in > /ro > ot/test/guienv/iconbutton > item open#open#open#open#open# in > ~beta/guienv/v1.6/private/X11/guienv_ > unixbody > -- > anIconButton#iconButton#button#control#windowitem#interfaceObject# in > /ro > ot/test/guienv/iconbutton > item open#open# in /root/test/guienv/iconbutton > -- mainWindow#window#interfaceObject# in > /root/test/guienv/iconbutton > item open#open# in > ~beta/guienv/v1.6/private/X11/guienv_unixbody > -- mainWindow#window#interfaceObject# in > /root/test/guienv/iconbutton > item open#open# in > ~beta/guienv/v1.6/private/X11/guienv_unixbody > -- mainWindow#window#interfaceObject# in > /root/test/guienv/iconbutton > comp GUIenv# in /root/test/guienv/iconbutton > -- BETAENV-~ in ~beta/basiclib/v1.6/betaenv > > > basic component in ~beta/basiclib/v1.6/betaenv > Regards, ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø Sascha Kimmel | tricos.com | software & webdesign kimmel@tricos.com | http://www.tricos.com ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø Please include a copy of your original message in any replies. Incluez une copie de votre courrier original dans chaque réponse svp. Schicken Sie bitte immer eine Kopie der Original-eMail bei jeder Antwort.