Gtkmm-forge Digest, Vol 27, Issue 7



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-owner lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 543772] Unable to load from glade using gtkmm	in MS
      Visual Studio 2008 (gtkmm (bugzilla.gnome.org))
   2. [Bug 543772] Unable to load from glade using gtkmm	in MS
      Visual Studio 2008 (gtkmm (bugzilla.gnome.org))
   3. [Bug 545712] `make install' doesn't install	tutorial even
      it's been built (gtkmm (bugzilla.gnome.org))
   4. [Bug 543671] Notebook::PageList::const_iterator	operator!=
      does not work (with gcc 4.3.1) (gtkmm (bugzilla.gnome.org))
   5. [Bug 543772] Unable to load from glade using gtkmm	in MS
      Visual Studio 2008 (gtkmm (bugzilla.gnome.org))
   6. [Bug 543772] Unable to load from glade using gtkmm	in MS
      Visual Studio 2008 (gtkmm (bugzilla.gnome.org))
   7. [Bug 543671] Notebook::PageList::const_iterator	operator!=
      does not work (with gcc 4.3.1) (gtkmm (bugzilla.gnome.org))
   8. [Bug 543671] Notebook::PageList::const_iterator	operator!=
      does not work (with gcc 4.3.1) (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Tue,  5 Aug 2008 12:26:56 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 543772] Unable to load from glade using
	gtkmm	in MS Visual Studio 2008
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805122656 3FD5723F50B label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543772

  gtkmm | general | Ver: 2.4.x




------- Comment #4 from Emmanuel  2008-08-05 12:26 UTC -------
(In reply to comment #1)
> Do you have this problem with the examples in the libglademm tarball?
> 
By the way I tested the execution to run under MingW compiler in CodeBlocks and
it runs without errors but fails under Visual Studio. I think the problem lies
with the Visual C++'s comparability with libglademm libraries, otherwise why
does it execute error-free under GNU-based compilers but not under Visual C++?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543772.



------------------------------

Message: 2
Date: Tue,  5 Aug 2008 12:55:39 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 543772] Unable to load from glade using
	gtkmm	in MS Visual Studio 2008
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805125539 D315223F513 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543772

  gtkmm | general | Ver: 2.4.x




------- Comment #5 from Murray Cumming  2008-08-05 12:55 UTC -------
You can't mix compilers. Libraries are built for one specific compiler only,
particularly in the case of C++ compilers. Where did you get this DLL from? 


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543772.



------------------------------

Message: 3
Date: Tue,  5 Aug 2008 13:06:55 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 545712] `make install' doesn't install
	tutorial even it's been built
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805130655 39AB523F4FA label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=545712

  gtkmm | documentation | Ver: unspecified

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




------- Comment #3 from Murray Cumming  2008-08-05 13:06 UTC -------
Reopening because only the html files are installed, but html/icons/,
html/style.css, and maybe html/figures should be installed too.

Actually, I wonder if we can somehow simplify the Makefile.am to just install
the entire html directory.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=545712.



------------------------------

Message: 4
Date: Tue,  5 Aug 2008 13:08:49 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 543671]
	Notebook::PageList::const_iterator	operator!= does not work (with gcc
	4.3.1)
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805130849 C5CC423F4EB label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543671

  gtkmm | general | Ver: 2.12.x




------- Comment #5 from Murray Cumming  2008-08-05 13:08 UTC -------
Wouldn't that be an infinite loop?

Could you try that and provide a patch, please?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543671.



------------------------------

Message: 5
Date: Tue,  5 Aug 2008 13:22:23 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 543772] Unable to load from glade using
	gtkmm	in MS Visual Studio 2008
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805132223 4281D23F50B label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543772

  gtkmm | general | Ver: 2.4.x




------- Comment #6 from Emmanuel  2008-08-05 13:22 UTC -------
I got the GTKmm install package from the official GTKmm webpage. It includes a
folder MSVC containing property sheets for Visual Studio 2005. 

On the official Gtkmm documentation page, there are instructions on configuring
VS 2005 to compile and run Gtkmm apps on VS as well as on Dev-Cpp. I followed
the instructions to the letter and was capable of compiling and running the
Gtkmm-built C++ source codes under both compilers. 

However if I attempted to load glade files from within VS Studio, I got the
errors as described in my initial bug report, whereas under Dev-Cpp or
CodeBlocks, I faced no problem.

Unless there are different versions of libglademm for the two compilers, which
I am not aware of, I still find a reason to be confused why I cannot run a
program that uses glade files in Visual Studio but runs glitch-free under
Dev-Cpp or Code-Blocks. More confusing is that if glade files are not used, the
program compiles and runs under both IDEs.

Since VS produced the root this code snippet line:

Glib::RefPtr<Gnome::Glade::Xml> mainXml= Gnome::Glade::Xml::create(cars.glade);

I believe the resolution of the path to the glade resource file(cars.glade) by
VS could be the source of the problem as it reports the path not found as
"\xcc\xcc\xcc\xcccars.glade"

Perhaps there is no actual conversion of the path from ASCII to the Unicode by
VS when resolving the path and hence it compiles but fails to run because the
path string is invalid. 

Thanks


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543772.



------------------------------

Message: 6
Date: Tue,  5 Aug 2008 13:29:25 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 543772] Unable to load from glade using
	gtkmm	in MS Visual Studio 2008
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805132925 D28B423F513 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543772

  gtkmm | general | Ver: 2.4.x




------- Comment #7 from Murray Cumming  2008-08-05 13:29 UTC -------
> Unless there are different versions of libglademm for the two compilers, which
> I am not aware of,

I think there must be. g++ and MSVC++ are definitely not ABI compatible.

I also guess that there must be multiple versions of each MSVC++ DLL for MT and
non-MT, and for the two different MSVC++ memory models.

> I still find a reason to be confused why I cannot run a program that uses 
> glade files in Visual Studio but runs glitch-free under
> Dev-Cpp or Code-Blocks.

Presumably Dev-Cpp and Code-Blocks are using g++.

> More confusing is that if glade files are not used, the program compiles and runs under both IDEs.

This might be just luck, though it does seem strange.

Unfortunately, the win32 stuff does not seem well supported right now. Cedric
Gustin is trying to hand over maintainership of that to some other people,
properly documenting what the win32 install package should provide, among other
things.

Sorry, I'm not using Windows on a daily basis myself.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543772.



------------------------------

Message: 7
Date: Tue,  5 Aug 2008 14:21:46 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 543671]
	Notebook::PageList::const_iterator	operator!= does not work (with gcc
	4.3.1)
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805142146 5991E23F513 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543671

  gtkmm | general | Ver: 2.12.x




------- Comment #6 from Julien Langer  2008-08-05 14:21 UTC -------
Yes, you're right it's an infinite loop.

Why are those operators defined there anyhow?
If I just remove the operators from class List_ConstIterator then the correct
non-member operator is invoked.

Does this extra indirection have any benefit?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543671.



------------------------------

Message: 8
Date: Tue,  5 Aug 2008 14:27:42 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 543671]
	Notebook::PageList::const_iterator	operator!= does not work (with gcc
	4.3.1)
To: gtkmm-forge lists sourceforge net
Message-ID: <20080805142742 3AEB023F50B label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=543671

  gtkmm | general | Ver: 2.12.x




------- Comment #7 from Murray Cumming  2008-08-05 14:27 UTC -------
I guess they are there because there would be no == or != without them, because
there is no separate static == or !- operator overloading for those types
(though there are for the notebook stuff).

I guess it wouldn't be too bad to change them to non-member operator overloads
in containers.h. I guess that not many people are overriding them, call these
member methods explicitly.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543671.



------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 27, Issue 7
******************************************


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