Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to compil on almalinux 9 #66

Open
youmcheck74 opened this issue Oct 8, 2024 · 0 comments
Open

Try to compil on almalinux 9 #66

youmcheck74 opened this issue Oct 8, 2024 · 0 comments

Comments

@youmcheck74
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant