Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G glibmm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • glibmm
  • Issues
  • #99
Closed
Open
Issue created May 22, 2022 by Martin Ammermüller@maammer

MSVC 2022: cannot build 2.72.1: glibmmconfig.h does not seem to be generated

Building from release tarball, glibmmconfig.h does not seem to be generated:

nmake /f Makefile.vc CFG=debug PREFIX="${gtkmm-stack}"

Microsoft (R) Program Maintenance Utility Version 14.32.31329.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

value_basictypes.cc
${build_dir}\glibmm-2.72.1_build\glib\glibmm/value.h(20): fatal error C1083: Cannot open include file: 'glibmmconfig.h': No such file or directory
NMAKE : fatal error U1077: 'if' : return code '0x2'
Stop.

${gtkmm-stack} is a directory containing an installation of libsigc++ and gtk4 (built with gvsbuild).

Trying to build from git checkout (tag 2.72.1/commit 9b50d0c7) runs a bit longer:

${build_dir}\glibmm_build\glibmm\MSVC_NMake>nmake /f Makefile.vc CFG=debug PREFIX="${gtkmm-stack}"

Microsoft (R) Program Maintenance Utility Version 14.32.31329.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Microsoft (R) Program Maintenance Utility Version 14.32.31329.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Microsoft (R) Program Maintenance Utility Version 14.32.31329.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Generating version info Makefile Snippet...
NMAKE : fatal error U1077: '.\pkg-ver.bat' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'if' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'if' : return code '0x2'
Stop.

/usr/bin from MSYS2 is on my path with packages perl-XML-parser and expat installed.

I was unable to find glibmmconfig.h in the source tree in either case after running nmake.

Edited May 22, 2022 by Andre Klapper
Assignee
Assign to
Time tracking