Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Building PyQt3D from source for Jetson Xavier failing.
Qt 6.11 is out! See what's new in the release blog

Building PyQt3D from source for Jetson Xavier failing.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 592 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Green_Hunter
    wrote on last edited by
    #1

    Hi everyone,

    I need to install PyQt3D for Jetson Xavier in my python virtual environment (conda virtual environment). I downloaded "PyQt3D-5.15.0.tar.gz" from this link https://pypi.org/project/PyQt3D/5.15.0/#files. Running the command $python3 configure.py, successfully generates the makefiles. But trying to execute the make command results in the following error "sipAPIQt3DCore.h:31:10: fatal error: sip.h: No such file or directory". Please see the full log below. Please help to solve the issue.

    Jetpack Version 4.6.2

    (env_pyqt) nest@ubuntu:~/PyQt5_/pyqt3d_installation/PyQt3D-5.15.0$ python3 configure.py 
    Configuring PyQt3D 5.15.0...
    The PyQt3D .sip files will be installed in
    /home/nest/archiconda3/envs/env_pyqt/share/sip/PyQt5.
    PyQt3D will be installed in
    /home/nest/archiconda3/envs/env_pyqt/lib/python3.8/site-packages/PyQt5.
    PyQt 5.15.0 is being used.
    Qt 5.12.9 is being used.
    sip 4.19.25 is being used.
    The sip executable is /usr/bin/sip.
    PyQt3D is being built with 'protected' redefined as 'public'.
    The PEP 484 stubs will be installed in
    /home/nest/archiconda3/envs/env_pyqt/lib/python3.8/site-packages/PyQt5.
    The QScintilla API file will be installed in
    /home/nest/archiconda3/envs/env_pyqt/qsci/api/python.
    Generating the C++ source for the Qt3DCore module...
    Generating the .pro file for the Qt3DCore module...
    Generating the C++ source for the Qt3DExtras module...
    Generating the .pro file for the Qt3DExtras module...
    Generating the C++ source for the Qt3DInput module...
    Generating the .pro file for the Qt3DInput module...
    Generating the C++ source for the Qt3DLogic module...
    Generating the .pro file for the Qt3DLogic module...
    Generating the C++ source for the Qt3DRender module...
    Generating the .pro file for the Qt3DRender module...
    Generating the C++ source for the Qt3DAnimation module...
    Generating the .pro file for the Qt3DAnimation module...
    Generating the QScintilla API file...
    Generating the top-level .pro file...
    Generating the Makefiles...
    (env_pyqt) nest@ubuntu:~/PyQt5_/pyqt3d_installation/PyQt3D-5.15.0$ make
    cd Qt3DCore/ && ( test -e Makefile || /home/nest/archiconda3/envs/env_pyqt/bin/qmake -o Makefile /home/nest/PyQt5_/pyqt3d_installation/PyQt3D-5.15.0/Qt3DCore/Qt3DCore.pro ) && make -f Makefile 
    make[1]: Entering directory '/home/nest/PyQt5_/pyqt3d_installation/PyQt3D-5.15.0/Qt3DCore'
    g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_3DCORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../../archiconda3/envs/env_pyqt/include/python3.8 -I../../../../archiconda3/envs/env_pyqt/include/qt -I../../../../archiconda3/envs/env_pyqt/include/qt/Qt3DCore -I../../../../archiconda3/envs/env_pyqt/include/qt/QtGui -I../../../../archiconda3/envs/env_pyqt/include/qt/QtNetwork -I../../../../archiconda3/envs/env_pyqt/include/qt/QtCore -I. -I../../../../archiconda3/envs/env_pyqt/include -I/home/nest/archiconda3/envs/env_pyqt/bin/../aarch64-conda-linux-gnu/sysroot/usr/include -I/home/nest/archiconda3/envs/env_pyqt/bin/../aarch64-conda-linux-gnu/sysroot/usr/include/libdrm -I/home/nest/archiconda3/envs/env_pyqt/bin/../aarch64-conda-linux-gnu/sysroot/usr/include -I../../../../archiconda3/envs/env_pyqt/mkspecs/linux-g++ -o sipQt3DCoreQSharedPointer0100Qt3DCoreQBackendNodeMapper.o sipQt3DCoreQSharedPointer0100Qt3DCoreQBackendNodeMapper.cpp
    In file included from sipQt3DCoreQSharedPointer0100Qt3DCoreQBackendNodeMapper.cpp:24:0:
    sipAPIQt3DCore.h:31:10: fatal error: sip.h: No such file or directory
     #include <sip.h>
              ^~~~~~~
    compilation terminated.
    Makefile:918: recipe for target 'sipQt3DCoreQSharedPointer0100Qt3DCoreQBackendNodeMapper.o' failed
    make[1]: *** [sipQt3DCoreQSharedPointer0100Qt3DCoreQBackendNodeMapper.o] Error 1
    make[1]: Leaving directory '/home/nest/PyQt5_/pyqt3d_installation/PyQt3D-5.15.0/Qt3DCore'
    Makefile:51: recipe for target 'sub-Qt3DCore-make_first-ordered' failed
    make: *** [sub-Qt3DCore-make_first-ordered] Error 2
    
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      PyQt3D being from Riverbanks Computing, you should check with them about this issue.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved