Trouble installing Cocos2d-x dependences on ubuntu 18.04












0















Hello for everyone who is reading my question, i'm presenting these errors while compiling on codeblocks:



First codeblocks errorSecond codeblocks error



Most of the peoble fix that by just running "install-deps-linux.sh" after "download-deps.py", but that does not works for me, i run "download-deps.py" and works, but "install-deps-linux.sh" gives me a few errors.



I will repeat all my installation procces, show all steps that i made and maybe some of you can correct my errors:



Download Cocos2d-x from the official website



Extract zip file and run "python download-deps.py"



Run "install-deps-linux.sh"



And this is the output:



This Shell Script will install dependencies for cocos2d-x
if you execute this shell more than once it will get errors when building libGLFW.so
Are you continue? (y/n) y
It will take few minutes
Get:1 UbuntuRepoLink/ubuntu bionic-security InRelease [342 B]
Err:1 UbuntuRepoLink/ubuntu bionic-security InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:2 UbuntuRepoLink/ubuntu bionic InRelease [342 B]
Err:2 UbuntuRepoLink/ubuntu bionic InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:3 UbuntuRepoLink/ubuntu bionic-updates InRelease [342 B]
Get:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease [342 B]
Err:3 UbuntuRepoLink/ubuntu bionic-updates InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:5 UbuntuRepoLink/ubuntu bionic-backports InRelease [342 B]
Err:5 UbuntuRepoLink/ubuntu bionic-backports InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'UbuntuRepoLink/ubuntu bionic-security InRelease' is no longer signed.
E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-security/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'UbuntuRepoLink/ubuntu bionic InRelease' is no longer signed.
E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'UbuntuRepoLink/ubuntu bionic-updates InRelease' is no longer signed.
E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'UbuntuRepoLink/ubuntu bionic-backports InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Checking for missing packages ...
dpkg-query: no packages found matching libxmu-dev
dpkg-query: no packages found matching libgl2ps-dev
dpkg-query: no packages found matching gcc-4.9
dpkg-query: no packages found matching g++-4.9
dpkg-query: no packages found matching libzip-dev
Missing packages: libxmu-dev libgl2ps-dev gcc-4.9 g++-4.9 libzip-dev libpng12-dev libcurl4-gnutls-dev libssl-dev .
You may be asked for your password for package installation.
E: Package 'gcc-4.9' has no installation candidate
E: Package 'g++-4.9' has no installation candidate
E: Package 'libpng12-dev' has no installation candidate
update-alternatives: error: no alternatives for gcc
update-alternatives: error: no alternatives for g++
update-alternatives: error: alternative path /usr/bin/gcc-4.9 doesn't exist
update-alternatives: error: alternative path /usr/bin/g++-4.9 doesn't exist
Cocos uses GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Cocos uses G++ Version: g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Cocos uses ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
Cocos uses /usr/bin/ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.


(Note: i replace all Ubuntu repos link with UbuntuRepoLink because of this:
"You need at least 10 reputation to post more than 8 links.")



If i ignore that and and run "python setup.py", create a new proyect with "cocos new..." and prepare solution with cmake (cmake -G 'CodeBlocks - Unix Makefiles') i get the errors in the first 2 screenshots.



Greetings from Cuba, sorry for my bad english.










share|improve this question









New contributor




Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Hello for everyone who is reading my question, i'm presenting these errors while compiling on codeblocks:



    First codeblocks errorSecond codeblocks error



    Most of the peoble fix that by just running "install-deps-linux.sh" after "download-deps.py", but that does not works for me, i run "download-deps.py" and works, but "install-deps-linux.sh" gives me a few errors.



    I will repeat all my installation procces, show all steps that i made and maybe some of you can correct my errors:



    Download Cocos2d-x from the official website



    Extract zip file and run "python download-deps.py"



    Run "install-deps-linux.sh"



    And this is the output:



    This Shell Script will install dependencies for cocos2d-x
    if you execute this shell more than once it will get errors when building libGLFW.so
    Are you continue? (y/n) y
    It will take few minutes
    Get:1 UbuntuRepoLink/ubuntu bionic-security InRelease [342 B]
    Err:1 UbuntuRepoLink/ubuntu bionic-security InRelease
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    Get:2 UbuntuRepoLink/ubuntu bionic InRelease [342 B]
    Err:2 UbuntuRepoLink/ubuntu bionic InRelease
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    Get:3 UbuntuRepoLink/ubuntu bionic-updates InRelease [342 B]
    Get:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease [342 B]
    Err:3 UbuntuRepoLink/ubuntu bionic-updates InRelease
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    Err:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    Get:5 UbuntuRepoLink/ubuntu bionic-backports InRelease [342 B]
    Err:5 UbuntuRepoLink/ubuntu bionic-backports InRelease
    Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    Reading package lists... Done
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    E: The repository 'UbuntuRepoLink/ubuntu bionic-security InRelease' is no longer signed.
    E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-security/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    E: The repository 'UbuntuRepoLink/ubuntu bionic InRelease' is no longer signed.
    E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    E: The repository 'UbuntuRepoLink/ubuntu bionic-updates InRelease' is no longer signed.
    E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    E: Failed to fetch UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    E: The repository 'UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
    E: The repository 'UbuntuRepoLink/ubuntu bionic-backports InRelease' is no longer signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    Checking for missing packages ...
    dpkg-query: no packages found matching libxmu-dev
    dpkg-query: no packages found matching libgl2ps-dev
    dpkg-query: no packages found matching gcc-4.9
    dpkg-query: no packages found matching g++-4.9
    dpkg-query: no packages found matching libzip-dev
    Missing packages: libxmu-dev libgl2ps-dev gcc-4.9 g++-4.9 libzip-dev libpng12-dev libcurl4-gnutls-dev libssl-dev .
    You may be asked for your password for package installation.
    E: Package 'gcc-4.9' has no installation candidate
    E: Package 'g++-4.9' has no installation candidate
    E: Package 'libpng12-dev' has no installation candidate
    update-alternatives: error: no alternatives for gcc
    update-alternatives: error: no alternatives for g++
    update-alternatives: error: alternative path /usr/bin/gcc-4.9 doesn't exist
    update-alternatives: error: alternative path /usr/bin/g++-4.9 doesn't exist
    Cocos uses GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Cocos uses G++ Version: g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Cocos uses ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
    Copyright (C) 2018 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) a later version.
    This program has absolutely no warranty.
    Cocos uses /usr/bin/ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
    Copyright (C) 2018 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) a later version.
    This program has absolutely no warranty.


    (Note: i replace all Ubuntu repos link with UbuntuRepoLink because of this:
    "You need at least 10 reputation to post more than 8 links.")



    If i ignore that and and run "python setup.py", create a new proyect with "cocos new..." and prepare solution with cmake (cmake -G 'CodeBlocks - Unix Makefiles') i get the errors in the first 2 screenshots.



    Greetings from Cuba, sorry for my bad english.










    share|improve this question









    New contributor




    Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Hello for everyone who is reading my question, i'm presenting these errors while compiling on codeblocks:



      First codeblocks errorSecond codeblocks error



      Most of the peoble fix that by just running "install-deps-linux.sh" after "download-deps.py", but that does not works for me, i run "download-deps.py" and works, but "install-deps-linux.sh" gives me a few errors.



      I will repeat all my installation procces, show all steps that i made and maybe some of you can correct my errors:



      Download Cocos2d-x from the official website



      Extract zip file and run "python download-deps.py"



      Run "install-deps-linux.sh"



      And this is the output:



      This Shell Script will install dependencies for cocos2d-x
      if you execute this shell more than once it will get errors when building libGLFW.so
      Are you continue? (y/n) y
      It will take few minutes
      Get:1 UbuntuRepoLink/ubuntu bionic-security InRelease [342 B]
      Err:1 UbuntuRepoLink/ubuntu bionic-security InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Get:2 UbuntuRepoLink/ubuntu bionic InRelease [342 B]
      Err:2 UbuntuRepoLink/ubuntu bionic InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Get:3 UbuntuRepoLink/ubuntu bionic-updates InRelease [342 B]
      Get:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease [342 B]
      Err:3 UbuntuRepoLink/ubuntu bionic-updates InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Err:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Get:5 UbuntuRepoLink/ubuntu bionic-backports InRelease [342 B]
      Err:5 UbuntuRepoLink/ubuntu bionic-backports InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Reading package lists... Done
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      E: The repository 'UbuntuRepoLink/ubuntu bionic-security InRelease' is no longer signed.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-security/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      E: The repository 'UbuntuRepoLink/ubuntu bionic InRelease' is no longer signed.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      E: The repository 'UbuntuRepoLink/ubuntu bionic-updates InRelease' is no longer signed.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      E: Failed to fetch UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      E: The repository 'UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease' is not signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      E: The repository 'UbuntuRepoLink/ubuntu bionic-backports InRelease' is no longer signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      Checking for missing packages ...
      dpkg-query: no packages found matching libxmu-dev
      dpkg-query: no packages found matching libgl2ps-dev
      dpkg-query: no packages found matching gcc-4.9
      dpkg-query: no packages found matching g++-4.9
      dpkg-query: no packages found matching libzip-dev
      Missing packages: libxmu-dev libgl2ps-dev gcc-4.9 g++-4.9 libzip-dev libpng12-dev libcurl4-gnutls-dev libssl-dev .
      You may be asked for your password for package installation.
      E: Package 'gcc-4.9' has no installation candidate
      E: Package 'g++-4.9' has no installation candidate
      E: Package 'libpng12-dev' has no installation candidate
      update-alternatives: error: no alternatives for gcc
      update-alternatives: error: no alternatives for g++
      update-alternatives: error: alternative path /usr/bin/gcc-4.9 doesn't exist
      update-alternatives: error: alternative path /usr/bin/g++-4.9 doesn't exist
      Cocos uses GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      Cocos uses G++ Version: g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      Cocos uses ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
      Copyright (C) 2018 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License version 3 or (at your option) a later version.
      This program has absolutely no warranty.
      Cocos uses /usr/bin/ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
      Copyright (C) 2018 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License version 3 or (at your option) a later version.
      This program has absolutely no warranty.


      (Note: i replace all Ubuntu repos link with UbuntuRepoLink because of this:
      "You need at least 10 reputation to post more than 8 links.")



      If i ignore that and and run "python setup.py", create a new proyect with "cocos new..." and prepare solution with cmake (cmake -G 'CodeBlocks - Unix Makefiles') i get the errors in the first 2 screenshots.



      Greetings from Cuba, sorry for my bad english.










      share|improve this question









      New contributor




      Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Hello for everyone who is reading my question, i'm presenting these errors while compiling on codeblocks:



      First codeblocks errorSecond codeblocks error



      Most of the peoble fix that by just running "install-deps-linux.sh" after "download-deps.py", but that does not works for me, i run "download-deps.py" and works, but "install-deps-linux.sh" gives me a few errors.



      I will repeat all my installation procces, show all steps that i made and maybe some of you can correct my errors:



      Download Cocos2d-x from the official website



      Extract zip file and run "python download-deps.py"



      Run "install-deps-linux.sh"



      And this is the output:



      This Shell Script will install dependencies for cocos2d-x
      if you execute this shell more than once it will get errors when building libGLFW.so
      Are you continue? (y/n) y
      It will take few minutes
      Get:1 UbuntuRepoLink/ubuntu bionic-security InRelease [342 B]
      Err:1 UbuntuRepoLink/ubuntu bionic-security InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Get:2 UbuntuRepoLink/ubuntu bionic InRelease [342 B]
      Err:2 UbuntuRepoLink/ubuntu bionic InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Get:3 UbuntuRepoLink/ubuntu bionic-updates InRelease [342 B]
      Get:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease [342 B]
      Err:3 UbuntuRepoLink/ubuntu bionic-updates InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Err:4 UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Get:5 UbuntuRepoLink/ubuntu bionic-backports InRelease [342 B]
      Err:5 UbuntuRepoLink/ubuntu bionic-backports InRelease
      Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      Reading package lists... Done
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      E: The repository 'UbuntuRepoLink/ubuntu bionic-security InRelease' is no longer signed.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-security/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      E: The repository 'UbuntuRepoLink/ubuntu bionic InRelease' is no longer signed.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      E: The repository 'UbuntuRepoLink/ubuntu bionic-updates InRelease' is no longer signed.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      E: Failed to fetch UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      E: The repository 'UbuntuRepoLink/ubuntu-toolchain-r/test/ubuntu bionic InRelease' is not signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      E: Failed to fetch UbuntuRepoLink/ubuntu/dists/bionic-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
      E: The repository 'UbuntuRepoLink/ubuntu bionic-backports InRelease' is no longer signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      Checking for missing packages ...
      dpkg-query: no packages found matching libxmu-dev
      dpkg-query: no packages found matching libgl2ps-dev
      dpkg-query: no packages found matching gcc-4.9
      dpkg-query: no packages found matching g++-4.9
      dpkg-query: no packages found matching libzip-dev
      Missing packages: libxmu-dev libgl2ps-dev gcc-4.9 g++-4.9 libzip-dev libpng12-dev libcurl4-gnutls-dev libssl-dev .
      You may be asked for your password for package installation.
      E: Package 'gcc-4.9' has no installation candidate
      E: Package 'g++-4.9' has no installation candidate
      E: Package 'libpng12-dev' has no installation candidate
      update-alternatives: error: no alternatives for gcc
      update-alternatives: error: no alternatives for g++
      update-alternatives: error: alternative path /usr/bin/gcc-4.9 doesn't exist
      update-alternatives: error: alternative path /usr/bin/g++-4.9 doesn't exist
      Cocos uses GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      Cocos uses G++ Version: g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      Cocos uses ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
      Copyright (C) 2018 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License version 3 or (at your option) a later version.
      This program has absolutely no warranty.
      Cocos uses /usr/bin/ld Version: GNU ld (GNU Binutils for Ubuntu) 2.30
      Copyright (C) 2018 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License version 3 or (at your option) a later version.
      This program has absolutely no warranty.


      (Note: i replace all Ubuntu repos link with UbuntuRepoLink because of this:
      "You need at least 10 reputation to post more than 8 links.")



      If i ignore that and and run "python setup.py", create a new proyect with "cocos new..." and prepare solution with cmake (cmake -G 'CodeBlocks - Unix Makefiles') i get the errors in the first 2 screenshots.



      Greetings from Cuba, sorry for my bad english.







      software-installation






      share|improve this question









      New contributor




      Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Mar 11 at 7:40









      Emmet

      6,92722245




      6,92722245






      New contributor




      Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 11 at 5:05









      VhernVhern

      11




      11




      New contributor




      Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Vhern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Vhern is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124667%2ftrouble-installing-cocos2d-x-dependences-on-ubuntu-18-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Vhern is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Vhern is a new contributor. Be nice, and check out our Code of Conduct.













          Vhern is a new contributor. Be nice, and check out our Code of Conduct.












          Vhern is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124667%2ftrouble-installing-cocos2d-x-dependences-on-ubuntu-18-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          數位音樂下載

          格利澤436b

          When can things happen in Etherscan, such as the picture below?