Gtkmm-forge Digest, Vol 27, Issue 18
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 27, Issue 18
- Date: Tue, 26 Aug 2008 16:35:07 -0700
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 549343] ustring.cc including config.h assumes gnu tool
build (glibmm (bugzilla.gnome.org))
2. [Bug 549343] ustring.cc including config.h assumes gnu tool
build (glibmm (bugzilla.gnome.org))
3. [Bug 549343] ustring.cc including config.h assumes gnu tool
build (glibmm (bugzilla.gnome.org))
4. [Bug 549343] ustring.cc including config.h assumes gnu tool
build (glibmm (bugzilla.gnome.org))
5. [Bug 549343] ustring.cc including config.h assumes gnu tool
build (glibmm (bugzilla.gnome.org))
6. [Bug 549343] ustring.cc including config.h assumes gnu tool
build (glibmm (bugzilla.gnome.org))
7. [Bug 549343] ustring.cc including config.h assumes gnu tool
build (glibmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Tue, 26 Aug 2008 14:05:11 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 549343] ustring.cc including config.h
assumes gnu tool build
To: gtkmm-forge lists sourceforge net
Message-ID: <20080826140511 AB94323F52E 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=549343
glibmm | build | Ver: 2.16.x
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |armin arbur net,
| |murrayc murrayc com
------- Comment #1 from Murray Cumming 2008-08-26 14:05 UTC -------
Armin (currently fixing win32 build stuff), please make this change if it's
appropriate. I've seen this pattern before so it probably is. Thanks, Philip.
--
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=549343.
------------------------------
Message: 2
Date: Tue, 26 Aug 2008 14:26:42 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 549343] ustring.cc including config.h
assumes gnu tool build
To: gtkmm-forge lists sourceforge net
Message-ID: <20080826142642 BFE0523F542 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=549343
glibmm | build | Ver: 2.16.x
------- Comment #2 from Armin Burgmeier 2008-08-26 14:26 UTC -------
I did not run accross this problem because I both did a mingw and msvc built,
with the mingw one having generated config.h. However, if you did not run the
configure script, how did you generate the glibmm.rc then (or, why didn't
Visual Studio complain about it being missing)? I think this is normally
generated from glibmm.rc.in, so you would need to run the configure script
anyway.
Since SIZEOF_WCHAR_T is only used when GLIBMM_HAVE_WIDE_STREAM is defined, and
the latter is not defined for MSVC, it is probably safe to simply not include
config.h for MSVC. If we need it some day, then we could perhaps put it into
glibmmconfig.h as GLIBMM_SIZEOF_WCHAR_T or something.
--
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=549343.
------------------------------
Message: 3
Date: Tue, 26 Aug 2008 21:41:52 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 549343] ustring.cc including config.h
assumes gnu tool build
To: gtkmm-forge lists sourceforge net
Message-ID: <20080826214152 0A66E23F52E 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=549343
glibmm | build | Ver: 2.16.x
------- Comment #3 from Philip Kovacs 2008-08-26 21:41 UTC -------
The package comes with the .rc files in the distribution. Look at the
AC_CONFIG_FILES section of the configure.in. You see the entry:
MSVC_Net2003/glibmm/glibmm.rc
That causes glibmm.rc to be built from .rc.in and causes glibmm.rc to be
included in the distribution via make dist/distcheck. There is also an
(unneeded) entry
in the above directory's Makefile.am:
EXTRA_DIST = glibmmconfig.h glibmm.vcproj glibmm.rc
However, the glibmm.rc includes both resource.h and afxres.h, neither of which
are in the distribution, so my workaround was simply to exclude glibmm.rc from
the project and built without it. The only consequence is the .dll is created
without the:
VALUE "CompanyName", "The glibmm development team (see AUTHORS)"
VALUE "FileDescription", "The official C++ wrapper for glib"
VALUE "FileVersion", "2.17.2"
VALUE "LegalCopyright", "Distribution is under the LGPL (see COPYING)"
VALUE "OriginalFilename", "glibmm-2.4"
VALUE "ProductName", "glibmm"
VALUE "ProductVersion", "2.17.2"
information (no "Version" tab when you right-click on the dll). That alone is
may be regarded as a significant problem and I recommend fixing it.
Back to the original subject -- I simply wrapped the #include config.h with the
HAVE_CONFIG_H guard to allow the compile to continue.
You mentioned that you used mingw to generate a configure for MSVC. Each
platform build mechanism should be complete and functionally independent, so
you must test each one alone.
BTW, gtkmm and its subprojects all suffer from the .rc problem I describe in
this comment. They include the same non-existent files. Deleting the
resources is the workaround, but, again, the resulting .dll's contain no
license/version/author info.
Phil
--
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=549343.
------------------------------
Message: 4
Date: Tue, 26 Aug 2008 21:54:16 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 549343] ustring.cc including config.h
assumes gnu tool build
To: gtkmm-forge lists sourceforge net
Message-ID: <20080826215416 9745C23F52E 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=549343
glibmm | build | Ver: 2.16.x
------- Comment #4 from Philip Kovacs 2008-08-26 21:54 UTC -------
I wanted to add that I was implicitly distinguishing the between the upstream
maintainer who uses the gnu build system and 'make dist' to create a
distribution tarball, from the end-user who wants to compile but may not have
the gnu build system (e.g. an msvc user).
It's fine to use gnu for creating distributions (i do it all the time), but, if
you support msvc, all the needed files for that build system must be packaged
explicitly as well.
Cheers,
Phil
--
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=549343.
------------------------------
Message: 5
Date: Tue, 26 Aug 2008 22:28:34 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 549343] ustring.cc including config.h
assumes gnu tool build
To: gtkmm-forge lists sourceforge net
Message-ID: <20080826222834 4C90D23F52E 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=549343
glibmm | build | Ver: 2.16.x
------- Comment #5 from Armin Burgmeier 2008-08-26 22:28 UTC -------
I see. I built most stuff from SVN to be able to check in the changed project
files, so I didn't notice the resource files are in the tarball (although I
should, because it is in EXTRA_DIST). Thanks.
I already removed the "include resource.h" from all the resources (in SVN)
because I had the same problem, and the resources build fine without. I didn't
have a problem with the "afxres.h", though. Does it work for you if you remove
both includes?
> I simply wrapped the #include config.h with the HAVE_CONFIG_H guard to
> allow the compile to continue.
I think I'll do the same for glibmm.
--
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=549343.
------------------------------
Message: 6
Date: Tue, 26 Aug 2008 23:05:44 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 549343] ustring.cc including config.h
assumes gnu tool build
To: gtkmm-forge lists sourceforge net
Message-ID: <20080826230544 1C64623F52E 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=549343
glibmm | build | Ver: 2.16.x
------- Comment #6 from Philip Kovacs 2008-08-26 23:05 UTC -------
Armin,
I imported a fresh tarball of 2.17.2 into Microsoft Visual C++ 2008 Express SP1
and tried to rebuild. After removing the include resource.h, it failed on
include afxres.h. After removing that include, I get many additional errors:
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>.\glibmm.rc(7) : error RC2144 : PRIMARY LANGUAGE ID not a number
1>.\glibmm.rc(32) : error RC2135 : file not found: VS_VERSION_INFO
1>.\glibmm.rc(33) : error RC2135 : file not found: 2
1>.\glibmm.rc(34) : error RC2135 : file not found: 2
1>.\glibmm.rc(35) : error RC2135 : file not found: 0x17L
1>.\glibmm.rc(41) : error RC2135 : file not found: FILEOS
1>.\glibmm.rc(42) : error RC2135 : file not found: 0x2L
1>.\glibmm.rc(45) : error RC2164 : unexpected value in RCDATA
1>.\glibmm.rc(47) : error RC2135 : file not found: BLOCK
1>.\glibmm.rc(49) : error RC2135 : file not found: VALUE
Not sure what is going on there. I had to exclude the .rc from the project
entirely.
BTW this is the free version of MSVC. Just download it from
http://www.microsoft.com/express/download/ and you should be able to reproduce
these issues.
Regards,
Phil
--
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=549343.
------------------------------
Message: 7
Date: Tue, 26 Aug 2008 23:35:11 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 549343] ustring.cc including config.h
assumes gnu tool build
To: gtkmm-forge lists sourceforge net
Message-ID: <20080826233511 6F91B23F52E 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=549343
glibmm | build | Ver: 2.16.x
------- Comment #7 from Philip Kovacs 2008-08-26 23:35 UTC -------
Ok, I found and fixed the issue. The underlying problem is that these MSVC
2008 Express editions do not ship with MFC and afxres.h is an MFC header.
If you remove the #include resource.h file (as you did) and replace
#include <afxres.h>
with
#include <windows.h>
then the resource compiler can compile the .rc file with no problems.
I hope this helps.
Phil
--
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=549343.
------------------------------
-------------------------------------------------------------------------
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 18
*******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]