Forums

OverviewV-Play Installation › Installation problem : error: cannot find -lGL

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10146

    Ryan

    I’ve just installed v-play but when i compile to desktop i get error :-1: error: cannot find -lGL and exits.

    Then if i compile to android it will compile and install but the it never successfully opens the app and it exits on deployment.

    These are the warnings i get :

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D:

    /home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets:

    /home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D:

    /home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    And these are the compile issues I get:

    15:03:42: Packaging error: Command “/home/theguy/Android/Sdk/platform-tools/adb -s 9cc172fdedea pull /system/bin/sh: readlink: not found /home/theguy/Desktop/Projects/v-play/ConverseLanguages/build-ConverseLanguages-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Release/app_process” failed.Exit code: 1

    15:03:42: Package deploy: Failed to pull “/system/bin/sh: readlink: not found” to “/home/theguy/Desktop/Projects/v-play/ConverseLanguages/build-ConverseLanguages-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Release/app_process”.

    15:03:42: Package deploy: Running command “/home/theguy/Android/Sdk/platform-tools/adb -s 9cc172fdedea pull /system/lib/libc.so /home/theguy/Desktop/Projects/v-play/ConverseLanguages/build-ConverseLanguages-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Release/libc.so”.

    Error while building/deploying project ConverseLanguages (kit: Android for armeabi (GCC 4.9, Qt 5.5.0))

    When executing step “Deploy to Android device”

     

     

     

    #10210

    Lorenz

    Hi,

    I suppose you’re running V-Play on ubuntu?

    Did you install V-Play using the V-Play Installer from our website, or did you add V-Play to an existing Qt installation?

    Cheers,

    Lorenz

    #10212

    Ryan

    HI there. Yes I am using ubuntu and used the installer from the site.

    It was a completely fresh installation of both ubuntu and v-play

    #10213

    Lorenz

    Hi,

    unfortunately I am not able to reproduce your problem. Some questions:

    – Did you try to run a V-Play Sample Project or an empty V-Play Project? (Does that work?)

    – Can you post the Code you are trying to build?

    Cheers,

    Lorenz

    • This reply was modified 3 years, 2 months ago by  Lorenz.
    #10215

    Ryan

    I created an empty v-play app an tried to run it. These are the errors i get in the different tabs.

    App code:

    App {
        // You get free licenseKeys from http://v-play.net/licenseKey
        // With a licenseKey you can:
        //  * Publish your games & apps for the app stores
        //  * Remove the V-Play Splash Screen or set a custom one (available with the Pro Licenses)
        //  * Add plugins to monetize, analyze & improve your apps (available with the Pro Licenses)
        //licenseKey: "<generate one from http://v-play.net/licenseKey>"
    
    
        NavigationStack {
    
    
            Page {
                title: qsTr("Main Page")
    
    
                Image {
                    source: "../assets/vplay-logo.png"
                    anchors.centerIn: parent
                }
            }
    
    
        }
    }

     

    General messages:

    Project MESSAGE: Link with V-Play library: VPlay_debug

    Project MESSAGE: MAINPROFILEPWD: /home/theguy/EmptyApp

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/android_armv5/qml/QtWebSockets:

    /home/theguy/V-Play/5.5/android_armv5/qml/QtWebSockets/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/android_armv5/qml/QtWebSockets/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D:

    /home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/android_armv5/qml/QtCanvas3D/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/android_armv7/qml/QtWebSockets:

    /home/theguy/V-Play/5.5/android_armv7/qml/QtWebSockets/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/android_armv7/qml/QtWebSockets/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/android_armv7/qml/QtCanvas3D:

    /home/theguy/V-Play/5.5/android_armv7/qml/QtCanvas3D/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/android_armv7/qml/QtCanvas3D/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets:

    /home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/gcc_64/qml/QtWebSockets/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D:

    /home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D/plugins.qmltypes:1:24: Reading only version 1.1 parts.

    /home/theguy/V-Play/5.5/gcc_64/qml/QtCanvas3D/plugins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/Qt3D:

    <dump of /home/theguy/V-Play/5.5/gcc_64/qml/Qt3D>:1:24: Reading only version 1.1 parts.

    <dump of /home/theguy/V-Play/5.5/gcc_64/qml/Qt3D>:10:5: Expected only Component and ModuleApi object definitions.

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/Qt3D/Renderer:

    <dump of /home/theguy/V-Play/5.5/gcc_64/qml/Qt3D/Renderer>:1:24: Reading only version 1.1 parts.

    <dump of /home/theguy/V-Play/5.5/gcc_64/qml/Qt3D/Renderer>:10:5: Expected only Component and ModuleApi object definitions.

    QML module does not contain information about components contained in plugins.

    Module path: /home/theguy/V-Play/5.5/android_armv7/qml/QtQuick/Controls/Styles/Android

    See “Using QML Modules with Plugins” in the documentation.

    Automatic type dump of QML module failed.

    Errors:

    “/home/theguy/V-Play/5.5/gcc_64/bin/qmlplugindump” returned exit code 3.

    Arguments: -nonrelocatable QtQuick.Controls.Styles.Android 1.0 /home/theguy/V-Play/5.5/android_armv7/qml

    QQmlComponent: Component is not ready

    QML module does not contain information about components contained in plugins.

    Module path: /home/theguy/V-Play/5.5/android_armv7/qml/Qt3D/Renderer

    See “Using QML Modules with Plugins” in the documentation.

    Automatic type dump of QML module failed.

    Errors:

    “/home/theguy/V-Play/5.5/gcc_64/bin/qmlplugindump” returned exit code 3.

    Arguments: -nonrelocatable Qt3D.Renderer 2.0 /home/theguy/V-Play/5.5/android_armv7/qml

    QQmlComponent: Component is not ready

    Warnings while parsing QML type information of /home/theguy/V-Play/5.5/gcc_64/qml/QtQuick/Scene3D:

    <dump of /home/theguy/V-Play/5.5/gcc_64/qml/QtQuick/Scene3D>:1:24: Reading only version 1.1 parts.

    <dump of /home/theguy/V-Play/5.5/gcc_64/qml/QtQuick/Scene3D>:10:5: Expected only Component and ModuleApi object definitions.

    QML module does not contain information about components contained in plugins.

    Module path: /home/theguy/V-Play/5.5/android_armv7/qml/Qt3D

    See “Using QML Modules with Plugins” in the documentation.

    Automatic type dump of QML module failed.

    Errors:

    “/home/theguy/V-Play/5.5/gcc_64/bin/qmlplugindump” returned exit code 3.

    Arguments: -nonrelocatable Qt3D 2.0 /home/theguy/V-Play/5.5/android_armv7/qml

    QQmlComponent: Component is not ready

    QML module does not contain information about components contained in plugins.

    Module path: /home/theguy/V-Play/5.5/android_armv7/qml/QtQuick/Scene3D

    See “Using QML Modules with Plugins” in the documentation.

    Automatic type dump of QML module failed.

    Errors:

    “/home/theguy/V-Play/5.5/gcc_64/bin/qmlplugindump” returned exit code 3.

    Arguments: -nonrelocatable QtQuick.Scene3D 2.0 /home/theguy/V-Play/5.5/android_armv7/qml

    QQmlComponent: Component is not ready

     

    Compile output:

    qrc_resources_user.o -L/home/theguy/V-Play/5.5/gcc_64/lib -lVPlay -lQt5Quick -L/usr/lib64 -lQt5Widgets -lQt5Multimedia -lQt53DInput -lQt53DRenderer -lQt53DQuick -lQt53DCore -lQt5OpenGLExtensions -lQt5Gui -lQt5Qml -lQt5Network -lQt5Sql -lQt5Core -lGL -lpthread

    /usr/bin/ld: cannot find -lGL

    Makefile:212: recipe for target ‘EmptyApp’ failed

    collect2: error: ld returned 1 exit status

    make: *** [EmptyApp] Error 1

    17:46:12: The process “/usr/bin/make” exited with code 2.

    Error while building/deploying project EmptyApp (kit: Desktop Qt 5.5.0 GCC 64bit)

    When executing step “Make”

     

    Issues tab:

    :-1: error: cannot find -lGL

    :-1: error: collect2: error: ld returned 1 exit status

    #10216

    Lorenz
    #10217

    Ryan

    I just ran the above command and it worked. thank you very much. you just saved my life

     

Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support