RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    coolcv 6.6 on RetroPie is v4.4 give error

    Scheduled Pinned Locked Moved Help and Support
    coolcvlibglesv2.so
    11 Posts 4 Posters 1.6k Views
    Loading More Posts
    • 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.
    • flagrant99F
      flagrant99
      last edited by

      /dev/shm
      runcommand.log
      gives the following error.

      /opt/retropie/emulators/coolcv/coolcv_pi: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory

      Retropie for only installs coolcv 6.2 not coolcv 6.6 but coolcv 6.6 has better joystick support., etc.

      Anybody know what libGLESv2.so is? I guess this was on RetroPie 4.3?

      mituM 1 Reply Last reply Reply Quote 0
      • flagrant99F
        flagrant99
        last edited by

        By the way I download the newer version from here
        [http://atariage.com/forums/topic/240800-coolcv-emulator-for-mac-os-x-linux-windows-and-raspberry/](link url)

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @flagrant99
          last edited by

          @flagrant99 said in coolcv 6.6 on RetroPie is v4.4 give error:

          Anybody know what libGLESv2.so is? I guess this was on RetroPie 4.3?

          No, that's part of Raspbian and it was renamed by them a few months back. How did you install the new version ?

          1 Reply Last reply Reply Quote 1
          • flagrant99F
            flagrant99
            last edited by

            We cannot simply replace
            /opt/retropie/emulators/coolcv/coolcv_pi
            from ftp. I gives Permission denied Error. So we have to telnet in, change dir to same location. Permissions shows -rwxrwxrwx. First lets rename the existing:

            sudo mv coolcv_pi coolcv_pi_old

            We have to use sudo or we get permissions errors.

            We cannot transfer thru ftp straight into /opt so lets xfr here
            /home/pi

            Then in telnet
            sudo mv /home/pi/coolcv_pi /opt/retropie/emulators/coolcv/

            Permissions from running ls -l show this

            -rw-r--r--

            No execute. So we need to do chmod.

            chmod 777 coolcv_pi

            Now ls -l shows

            -rwxrwxrwx

            edmaul69E 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              Because you didn't install it with the RetroPie installer, you'll need to run an additional command to patch the executable so you don't get the library errors - see the patchelf command from https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/helpers.sh#L1300

              1 Reply Last reply Reply Quote 1
              • edmaul69E
                edmaul69 @flagrant99
                last edited by edmaul69

                @flagrant99 the reason for not being able to just move it without sudo is you need to enable and create root password and transfer as user root and not user pi. The emulators folder belongs to root. Also try rebooting your modem by unplugging it to try to fix issue with retropie setup.

                @mitu i believe he got that error trying to update from retropie setup. I was having the same issue the other day trying to update stuff from Retropie setup including trying to update Retropie setup. It was even killing the wifi on the pi when it happened. I have only seen this happen on retropie 4.4. Works fine now for me.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @edmaul69
                  last edited by mitu

                  @edmaul69 said in coolcv 6.6 on RetroPie is v4.4 give error:

                  i believe he got that error trying to update from retropie setup.

                  Well, the poster already said at the beginning that it already installed CoolVC from RP setup, but got an older version (6.2) and downloaded the 6.6 version from the atariage.com forum topic. So I don't think that's any problem with RP setup in this case.

                  edmaul69E 1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @mitu
                    last edited by

                    @mitu yeah. Its the confusing title that i cant figure out what he is trying to say. He says 4.4 in the title (but not sure what he is saying is 4.4) then retropie 4.3 he is guessing in the thread so im not 100% sure what he is trying to say.

                    1 Reply Last reply Reply Quote 0
                    • flagrant99F
                      flagrant99
                      last edited by

                      Thanks mitu. Yes the patchelf command worked!

                      Nav here in ssh
                      /opt/retropie/emulators/coolcv

                      Make a copy to coolcv_pi_new_fixed

                      Run this

                      sudo patchelf --replace-needed libEGL.so libbrcmEGL.so \
                               --replace-needed libGLES_CM.so libbrcmGLESv2.so \
                               --replace-needed libGLESv1_CM.so libbrcmGLESv2.so \
                               --replace-needed libGLESv2.so libbrcmGLESv2.so \
                               --replace-needed libOpenVG.so libbrcmOpenVG.so \
                               --replace-needed libWFC.so libbrcmWFC.so "coolcv_pi_new_fixed"
                      
                      1 Reply Last reply Reply Quote 0
                      • N
                        Nightfire
                        last edited by

                        @flagrant99 did you get a controller setup with coolcv? I installed coolcv (didn't check what version it gave me) and controllers didn't work. I saw the wiki says it creates a "mapping" text file in /home/pi and gave mappings to copy to it. I did this and it still didn't work for me.

                        flagrant99F 1 Reply Last reply Reply Quote 0
                        • flagrant99F
                          flagrant99 @Nightfire
                          last edited by

                          @Nightfire Just noticed your question been a while., but I have to do this in my gpi case.

                          Controls

                          Joystick axis Should just work
                          joystick_1_vert joy0 axis1
                          joystick_1_horiz joy0 axis0

                          In Game Buttons
                          left_button_1 key32 joy0_1
                          right_button_1 key109 joy0_0

                          Start Buttons
                          Colecovision has a numeric keypad to start game 1-9. Also *, 0 and # Key.
                          This is where jsTest comes in handy. The # from jsTest should be appended to joy0_

                          key1_1 key49 joy0_7
                          key2_1 key50 joy0_6
                          key3_1 key51 joy0_3
                          key4_1 key52 joy0_2
                          key5_1 key53 joy0_4
                          key6_1 key54 joy0_5
                          key7_1 key55
                          key8_1 key56
                          key9_1 key57
                          key*_1 key111
                          key0_1 key48
                          key#_1 key112

                          key_save key1073741882 joy0_6 joy0_5
                          key_restore key1073741883 joy0_6 joy0_4
                          key_exit key1073741939 joy0_6 joy0_7
                          key_pause key1073741884
                          key_reset key8
                          key_screenshot key1073741891

                          https://sites.google.com/site/gregsqna/gaming/handhelds/retroflaggpi/emu/colecovision

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.