Skip to content

Try to compil on almalinux 9 #66

@youmcheck74

Description

@youmcheck74

Hi I tried to compil KDChart on almalinux with python binding based on python 3.10 and PySide2 5.15.2.1,
and I'm stuck with this conpilation error:

[ 26%] Building CXX object python/PyKDChart/KDGantt/CMakeFiles/PyKDGantt.dir/KDGantt/kdgantt_abstractgrid_wrapper.cpp.o
/homes/profiles/youm/Documents/compilation/KDChart/build/python/PyKDChart/KDGantt/KDGantt/kdgantt_abstractgrid_wrapper.cpp: In function ‘int Sbk_KDGantt_AbstractGrid_Init(PyObject*, PyObject*, PyObject*)’:
/homes/profiles/youm/Documents/compilation/KDChart/build/python/PyKDChart/KDGantt/KDGantt/kdgantt_abstractgrid_wrapper.cpp:800:38: error: too few arguments to function ‘bool PySide::fillQtProperties(PyObject*, const QMetaObject*, PyObject*, const char**, unsigned int)’
  800 |         if (!PySide::fillQtProperties(self, metaObject, errInfo))
      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /homes/profiles/youm/Documents/compilation/KDChart/build/python/PyKDChart/KDGantt/KDGantt/kdgantt_abstractgrid_wrapper.cpp:13:
/usr/local/lib/python3.10/site-packages/PySide2/include/pyside.h:79:17: note: declared here
   79 | PYSIDE_API bool fillQtProperties(PyObject *qObj, const QMetaObject *metaObj, PyObject *kwds, const char **blackList, unsigned int blackListSize);
      |                 ^~~~~~~~~~~~~~~~
make[2]: *** [python/PyKDChart/KDGantt/CMakeFiles/PyKDGantt.dir/build.make:226: python/PyKDChart/KDGantt/CMakeFiles/PyKDGantt.dir/KDGantt/kdgantt_abstractgrid_wrapper.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1534: python/PyKDChart/KDGantt/CMakeFiles/PyKDGantt.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

any advice on this error?

Best,

Arnaud

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