Hi all, I installed FXRuby and fox on Ubuntu 8.04 started reading the documentation online and managed to run most of the example applications. I''ve also started reading the book and when I try to use the FXJPGImage class, it doesn''t display images in the application. The same code works without a problem on windows, so I wonder if I didn''t forget to install something during the setup process. Has anyone faced this problem? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080623/c9242302/attachment.html>
Julien Castelain wrote:> Hi all, > > I installed FXRuby and fox on Ubuntu 8.04 started reading the > documentation online and managed to run most of the example > applications. I''ve also started reading the book and when I try to use > the FXJPGImage class, it doesn''t display images in the application. > > The same code works without a problem on windows, so I wonder if I > didn''t forget to install something during the setup process. Has anyone > faced this problem?just a guess... is the jpeg devel. package installed? (libjpeg62-dev on my system). -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
On Mon, Jun 23, 2008 at 3:53 PM, Julien Castelain <jcastelain at gmail.com> wrote:> I installed FXRuby and fox on Ubuntu 8.04 started reading the documentation > online and managed to run most of the example applications. I''ve also > started reading the book and when I try to use the FXJPGImage class, it > doesn''t display images in the application. > > The same code works without a problem on windows, so I wonder if I didn''t > forget to install something during the setup process. Has anyone faced this > problem?This probably indicates that your FOX library wasn''t built with JPEG support. Did you install FOX from a package, or did you compile it yourself?
Hi Lyle, I''m compiling it myself, and you''re right, I think I missed something when I built it, once again I should have read a bit more before complaining :) So, if I understand what I''m doing, when I ./configure I noticed this checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no I downloaded this http://www.fox-toolkit.org/ftp/jpegsrc.v6b.tar.gz from the fox toolkit site, but I supposed that it''s not been correctly installed. How can I fix this Thanks On Mon, Jun 23, 2008 at 11:38 PM, Lyle Johnson <lyle at lylejohnson.name> wrote:> On Mon, Jun 23, 2008 at 3:53 PM, Julien Castelain <jcastelain at gmail.com> > wrote: > > > I installed FXRuby and fox on Ubuntu 8.04 started reading the > documentation > > online and managed to run most of the example applications. I''ve also > > started reading the book and when I try to use the FXJPGImage class, it > > doesn''t display images in the application. > > > > The same code works without a problem on windows, so I wonder if I didn''t > > forget to install something during the setup process. Has anyone faced > this > > problem? > > This probably indicates that your FOX library wasn''t built with JPEG > support. Did you install FOX from a package, or did you compile it > yourself? > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080623/47130405/attachment.html>
Have you tried just installing them from the repositories hardy offers? It should pull in all the deps. sudo aptitude install libfox libfox-dev I don''t have hardy so I can''t give the exact method names, but that worked for me on Gutsy. You may need to enable the universe repository. Regards, Jon
Hi Jon, Perfect, Thanks you all for the fast help, Julien On Tue, Jun 24, 2008 at 12:06 AM, Jonathan Stott <jonathan.stott at gmail.com> wrote:> Have you tried just installing them from the repositories hardy > offers? It should pull in all the deps. > > sudo aptitude install libfox libfox-dev > > I don''t have hardy so I can''t give the exact method names, but that > worked for me on Gutsy. You may need to enable the universe > repository. > > Regards, > Jon > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080624/0a814e61/attachment-0001.html>
Jeroen van der Zijp
2008-Jun-23 22:16 UTC
[fxruby-users] Problem with FXJPGImage on Ubuntu
On Monday 23 June 2008, Julien Castelain wrote:> Hi Lyle, > > I''m compiling it myself, and you''re right, I think I missed something when I > built it, once again I should have read a bit more before complaining :) > So, if I understand what I''m doing, when I ./configure I noticed this > > checking jpeglib.h usability... no > checking jpeglib.h presence... no > checking for jpeglib.h... no > > I downloaded this http://www.fox-toolkit.org/ftp/jpegsrc.v6b.tar.gz from the > fox toolkit site, but I supposed that it''s not been correctly installed. How > can I fix thisOn Linux systems there''s hardly ever a need to install jpeg, tiff, or png (etc) support from source. Most distros have ready-made packages for these. On Ubuntu, its likely all you need to do is something like: apt-get libjpeg-devel libjpeg or something like that... - Jeroen
Hi Joel, No libjpeg62-dev wasn''t installed. However I just installed with aptidude" and everything works fine now, so it looks like I am ready to take a deep dive in the fxruby world, Thanks again, Julien On Mon, Jun 23, 2008 at 10:59 PM, Joel VanderWerf <vjoel at path.berkeley.edu> wrote:> Julien Castelain wrote: > >> Hi all, >> >> I installed FXRuby and fox on Ubuntu 8.04 started reading the >> documentation online and managed to run most of the example applications. >> I''ve also started reading the book and when I try to use the FXJPGImage >> class, it doesn''t display images in the application. >> >> The same code works without a problem on windows, so I wonder if I didn''t >> forget to install something during the setup process. Has anyone faced this >> problem? >> > > just a guess... is the jpeg devel. package installed? (libjpeg62-dev on my > system). > > -- > vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080624/b5d5676d/attachment.html>