octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows testing


From: Daniel J Sebald
Subject: Re: Windows testing
Date: Wed, 05 Sep 2012 02:21:34 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 09/05/2012 01:40 AM, Reza Housseini wrote:


On Wed, Sep 5, 2012 at 8:03 AM, Daniel J Sebald <address@hidden
<mailto:address@hidden>> wrote:

    On 09/05/2012 12:48 AM, Reza Housseini wrote:

        I did a build on windows over cygwin. Documentation building was not
        working, so I disabled it but then run trough fine. A big problem I
        detected with the gui where the missing icons, is  this a bug or
        just
        some missing includes? Another problem was the hangup after a while,
        without interacting with the gui. But I didn't tested this out
        further.


    I'm not a Windows user, but I'll ask some questions to help answer
    whether this is a bug (probably is, would be my first impression).
    Under "libgui/src/icons" of the source tree are a bunch of icons
    used in the GUI/IDE.  I assume those are present in your source
    tree.  Please verify it is those icons that are not appearing in the
    browser as you see it.  If so there is a bug.  If they are visible
    and it is some other Qt standard icons that are not visible, then
    that might be another issue involving some support libraries not
    installed.

    I wonder if the icons are being put in a proper directory when
    "install" is done.  In any case, try launching the GUI using
    "run-octave", if that is possible on Windows.  Try launching the GUI
    from the directory "libgui/src/icons", i.e., where the icons exist.
      If there are any error messages somewhere, please report those.


GUI shows up, but still no icons when I start up in the folder
libgui/src/icons (the icons are there). Also you cannot close the
program, but this is probably also due to missing icons. calculations
are possible in the terminal, also opening files and examining variables
and history.

OK, I looked at the libgui code a bit. It appears that the icon files in the libgui/src/icons directory are used under a development environment. That development environment then creates what is called a resource object code (it's actually C code, not object files) in which the icons are translated to hex definitions in a structure. Therefore, the icons are part of the GUI code and the GUI is not looking for exterior files.

That suggests to me that something is going wrong with the compile/build on your system. I'm not sure if Qt 4 is preferred, but I found on my system that I had to remove any Qt 3 files. Is there some way of checking that Qt header files you have on your system are the Qt 4 variety and not Qt 3?

Dan

PS: There are some updates in Savannah repository related to the GUI directories, mainly adding config.h to the includes:

http://hg.savannah.gnu.org/hgweb/octave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]