Skip to content

Fails to build with python bindings / Shiboken missing definitions for fixed width integer types #3511

@FalcoGer

Description

@FalcoGer

Environment information

  • Operating System: Ubuntu 24.04 (Ubuntu 24.04.2 LTS)
  • Cutter version: Github Stable Branch (commit a5f88d1 (HEAD -> stable, tag: v2.4.1-rc1, tag: v2.4.1, origin/stable))
  • Obtained from:
    • Built from source
    • Downloaded release from Cutter website or GitHub
    • Distribution repository
  • File format: ?

Describe the bug

ninja from the build directory from cutter after cmake and enabling python bindings results in a compilation error, both when using clang/clang++ or gcc/g++.

To Reproduce

Steps to reproduce the behavior:

  1. Git clone cutter with submodules
  2. Switch to stable branch
  3. Update submodules
  4. Create build directory
  5. cmake-gui, switch on python bindings (I also turn on all the plugins and packaging), switch to QT5.
  6. build with ninja

Expected behavior

Compiles, because all dependencies are installed.

Screenshots

N/A

Additional context

I think it might be a missmatch between shiboken being linked against llvm's c++ standard library and cutter being linked against gcc's standard library? Not sure.
System python version is 3.12 from ubuntu apt repositories.

Build Output

build.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions