Skip to content

Built SOFA on Windows 11 but cannot run 'runSofa' GUI; '-qglviewer' creation failed #4929

Discussion options

You must be logged in to vote

Hello !

For me it is strange that your CMake is using the QGLViewerConfig.cmake. This certainly means that somehow, you've already compiled SOFA somewhere, or at least configured it and cmake found the produced QGLViewer. In Sofa/GUI/Qt/CMakeLists.txt you can see how QGLViewer is added :

    if(SOFA_GUI_QT_ENABLE_QGLVIEWER)
        find_package(QGLViewer)
        if(NOT QGLViewer_FOUND)
            add_subdirectory(libQGLViewer/QGLViewer)
        endif()
    endif()

This means that it first search for it and if it doesn't find it on your computer, only then it adds the folder containing the sources that is a subfolder of Sofa/GUI/Qt. So for any configuration on a computer without QGLViewe…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@chz31
Comment options

Comment options

You must be logged in to vote
4 replies
@bakpaul
Comment options

Answer selected by hugtalbot
@chz31
Comment options

@hugtalbot
Comment options

@chz31
Comment options

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