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

Some "compiling from source" emulators crashing



  • Hi

    Some of the emulators crash when i try to compile them from source.
    Is some one who know to repair this can help me and UPDATE Retropi Setup script ?

    • RETROARCH : I can't update the engine from one month ago ... with all the news versions i can see on GIT, there are many improvements we can't use ...
      .
      I also have a question for RETROARCH i can't understand myself ... RETROARCH is the MENU to launch all the emulators CORE we use on PI. It is always the same because we only have one RETROARCH installed on the PI.
      How is it possible i have the NEW BLUE menu on FB and the OLD GREEN on NES and others ???
      I wish the MENU has not been include in the FB CORE ? ...
      .
      Video : https://goo.gl/photos/7UUoBDejHmA1FWi47

    • PPSSPP : We are blocked on the old 033676c version, the last v1.4+ correct many bugs an maybe the PAD configuration one. I love this emulator and it is working really fine on PI3 with many games ...
      https://github.com/hrydgard/ppsspp/issues/7847#issuecomment-324211604

    • Drastic (NDS) : There is only the BINARY installation, no source code possible to update ... why ?

    • NP2PI (PC9801) : Impossible to install from source, it crash, and no binary.

    • lr-hatari : Impossible to install from source, it crash, and no binary.

    Thanks


  • Global Moderator

    @darknior said in Some "compiling from source" emulators crashing:

    Hi

    Some of the emulators crash when i try to compile them from source.
    Is some one who know to repair this can help me and UPDATE Retropi Setup script ?

    • RETROARCH : I can't update the engine from one month ago ... with all the news versions i can see on GIT, there are many improvements we can't use ...

    what's the crash? you can find build logs in /home/pi/RetroPie-Setup/logs/. are you running an overclock? what power supply? please fill out https://retropie.org.uk/forum/topic/3/read-this-first

    I also have a question for RETROARCH i can't understand myself ... RETROARCH is the MENU to launch all the emulators CORE we use on PI. It is always the same because we only have one RETROARCH installed on the PI.
    How is it possible i have the NEW BLUE menu on FB and the OLD GREEN on NES and others ???
    I wish the MENU has not been include in the FB CORE ? ...

    i guess you have edited or deleted /opt/retropie/configs/fba/retroarch.cfg, and it's using retroarch defaults rather than retropie. reinstall lr-fbalpha (by binary) and then delete /opt/retropie/configs/fba/retroarch.cfg, and then rename /opt/retropie/configs/fba/retroarch.cfg.rp-dist to /opt/retropie/configs/fba/retroarch.cfg

    reinstall from source to get latest version.

    • Drastic (NDS) : There is only the BINARY installation, no source code possible to update ... why ?

    because there is no source. it's closed-source.

    • NP2PI (PC9801) : Impossible to install from source, it crash, and no binary.
    • lr-hatari : Impossible to install from source, it crash, and no binary.

    same questions as at the top :)



  • @darknior Usually the blue menu happens when you delete the cfg file of the emulator. If you reinstall the emulator, the old green one will come back. Update the retropie setup script. Then updated all installed packages. Works fine here.

    Drastic is closed source. So all we get are binaries.



  • Yes i have update my CFG this night and try again FBA this morning and the GREEN MENU come back alone lol

    0_1503486293610_20170823_125613.jpg

    Why are you using the green OLD MENU and not the NEW BLUE ? It is more beautiful :p
    But i think i have some bugs to save some settings with it ...
    To change and test it it's only a line to change in my retroarch.cfg file ?

    So bad for Drastic, i wish it will evolve on PI ... because it is an fantastic emu, and the LR version is so slow :(


  • Global Moderator

    @darknior
    the xmb menu is pretty but maybe performs worse with pi1/0. plus all the documentation is full of screenshots for the old menu. maybe we could switch at some point...

    To change and test it it's only a line to change in my retroarch.cfg file ?

    to change menu_driver is only a one line change, but if you're not using the default retropie-generated retroarch.cfgs you may get other problems. i would do as i instructed above.



  • @dankcushions I always use Retropie generated CFG files.
    I edit some in SSH but no many, and only to copy or update a setting already tested from my PI on TV, but some time it is faster to do by hand in SSH when working on many systems at same time.
    And now i have finally good understand how working CFG files and the order to respect for the include system :)

    What is the option i must activate for the blue menu if i want to try it on my PI3 and make a feedback on the forum please ?



  • @dankcushions That would be nice to finally switch to the blue menu someday. 1.6.7 seems to have some menu performance optimizations but I don't have a pi1/0 to test.


  • Global Moderator

    @darknior said in Some "compiling from source" emulators crashing:

    What is the option i must activate for the blue menu if i want to try it on my PI3 and make a feedback on the forum please ?

    menu_driver = "xmb"
    to use the 'green menu', it's
    menu_driver = "rgui"



  • @dankcushions : I'm using the last official image of Retropie DL on the site.
    I'm not overclock my PI3 and use à 3A supply, with it i never see again the voltage icon on my TV :)
    All other source compile fine, ES and many emulators ...
    I only have a crash for these 3 entry ...

    Logs in /home/pi/RetroPie-Setup/logs/ when updating RETROARCH

    Log started at: mercredi 23 août 2017, 13:08:41 (UTC+0200)
    
    RetroPie-Setup version: 4.2.18 (ce4bf43)
    System: Linux retropie 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux
    
    = = = = = = = = = = = = = = = = = = = = =
    Installing dependencies for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =
    
    /home/pi/RetroPie-Setup/tmp/build/retroarch /home/pi
    
    = = = = = = = = = = = = = = = = = = = = =
    Getting sources for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =
    
    git clone --recursive --depth 1 --branch v1.6.7 "https://github.com/libretro/RetroArch.git" "/home/pi/RetroPie-Setup/tmp/build/retroarch"
    Clonage dans '/home/pi/RetroPie-Setup/tmp/build/retroarch'...
    Note: checking out '8e8bdaaab3dc4686ce39e59da922f79a76ba4496'.
    
    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.
    
    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:
    
      git checkout -b new_branch_name
    
    patching file input/input_driver.c
    Hunk #1 succeeded at 239 with fuzz 2 (offset 120 lines).
    Hunk #2 succeeded at 927 (offset 11 lines).
    patching file menu/widgets/menu_entry.c
    Hunk #1 succeeded at 540 (offset -3 lines).
    /home/pi
    /home/pi/RetroPie-Setup/tmp/build/retroarch /home/pi
    
    = = = = = = = = = = = = = = = = = = = = =
    Building 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =
    
    Checking operating system ... Linux 
    Checking for suitable working C compiler ... /usr/bin/gcc works
    Checking for suitable working C++ compiler ... /usr/bin/g++ works
    Checking for pkg-config ... /usr/bin/pkg-config
    Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes
    Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes
    Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes
    Checking function bcm_host_init in -lbcm_host ... yes
    Checking function sd_get_machine_names in -lsystemd ... no
    Checking presence of package egl ... no
    Checking existence of -lEGL -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm ... yes
    Checking function ass_library_init in -lass ... no
    Checking function pthread_create in -lpthread ... yes
    Checking function pthread_key_create in -lpthread ... yes
    Checking function dlopen in -ldl ... yes
    Checking function socket in -lc ... yes
    Checking function getaddrinfo in -lc ... yes
    Checking existence of -lminiupnpc ... no
    Checking function fcntl in -lc ... yes
    Checking function getopt_long in -lc ... yes
    Checking presence of package alsa ... 1.0.28
    Checking presence of header file soundcard.h ... no
    Checking existence of -lossaudio ... no
    Checking presence of package rsound >= 1.1 ... no
    Checking presence of package libroar ... no
    Checking presence of package sdl2 >= 2.0.0 ... 2.0.5
    Checking presence of package libusb-1.0 >= 1.0.16 ... 1.0.19
    Checking presence of header file GL/gl.h ... yes
    Checking existence of -lGL ... yes
    Checking function cgCreateContext in -lCg ... no
    Checking presence of package zlib ... 1.2.8
    Checking function dlopen in -ldl ... yes
    Checking presence of package gbm >= 9.0 ... no
    Checking presence of package libdrm ... 2.4.71
    Checking presence of package libxml-2.0 ... 2.9.1
    Checking presence of package glesv2 ... no
    Checking existence of -lGLESv2 -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm ... yes
    Checking presence of package vg ... no
    Checking existence of -lOpenVG -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm ... yes
    Checking presence of package libv4l2 ... no
    Checking presence of package freetype2 ... 18.0.12
    Checking presence of package xcb ... 1.10
    Checking presence of package wayland-egl ... no
    Checking presence of package wayland-cursor ... no
    Checking presence of package xkbcommon >= 0.3.2 ... 0.4.3
    Checking presence of package dbus-1 ... 1.8.22
    Notice: X11, Xext or xf86vm not present. Skipping X11 code paths.
    Checking presence of package libudev ... 215
    Checking presence of header file linux/parport.h ... yes
    Checking presence of header file linux/ppdev.h ... yes
    Checking function strlcpy in -lc ... no
    Checking function strcasestr in -lc ... yes
    Checking function mmap in -lc ... yes
    Checking function vkCreateInstance in -lvulkan ... no
    Checking presence of predefined macro __ARM_NEON__ ... yes
    Creating make config: config.mk
    Creating config header: config.h
    rm -rf obj-unix
    rm -f retroarch
    rm -f *.d
    CC input/drivers/linuxraw_input.c
    CC input/common/linux_common.c
    CC input/drivers_joypad/linuxraw_joypad.c
    CC frontend/drivers/platform_unix.c
    CC version_git.c
    CC frontend/frontend.c
    CC frontend/frontend_driver.c
    CC frontend/drivers/platform_null.c
    CC ui/ui_companion_driver.c
    CC ui/drivers/ui_null.c
    CC ui/drivers/null/ui_null_window.c
    CC ui/drivers/null/ui_null_browser_window.c
    CC ui/drivers/null/ui_null_msg_window.c
    CC ui/drivers/null/ui_null_application.c
    CC core_impl.c
    CC retroarch.c
    CC dirs.c
    CC paths.c
    CC command.c
    CC msg_hash.c
    CC intl/msg_hash_us.c
    CC libretro-common/queues/task_queue.c
    CC tasks/task_content.c
    CC tasks/task_save.c
    CC tasks/task_file_transfer.c
    CC tasks/task_image.c
    CC tasks/task_audio_mixer.c
    CC libretro-common/encodings/encoding_utf.c
    CC libretro-common/encodings/encoding_crc32.c
    CC libretro-common/lists/file_list.c
    CC libretro-common/lists/dir_list.c
    CC libretro-common/file/retro_dirent.c
    CC libretro-common/streams/stdin_stream.c
    CC libretro-common/streams/file_stream.c
    CC libretro-common/streams/file_stream_transforms.c
    CC libretro-common/streams/interface_stream.c
    CC libretro-common/streams/memory_stream.c
    CC libretro-common/lists/string_list.c
    CC libretro-common/string/stdstring.c
    CC libretro-common/memmap/memalign.c
    CC setting_list.c
    CC list_special.c
    CC libretro-common/file/nbio/nbio_stdio.c
    CC libretro-common/file/file_path.c
    CC file_path_special.c
    CC file_path_str.c
    CC libretro-common/hash/rhash.c
    CC audio/audio_driver.c
    CC libretro-common/audio/audio_mixer.c
    CC input/input_driver.c
    CC gfx/video_coord_array.c
    CC gfx/video_driver.c
    CC camera/camera_driver.c
    CC wifi/wifi_driver.c
    CC location/location_driver.c
    CC driver.c
    CC configuration.c
    CC libretro-common/dynamic/dylib.c
    CC dynamic.c
    CC cores/dynamic_dummy.c
    CC libretro-common/queues/message_queue.c
    CC managers/core_manager.c
    CC managers/state_manager.c
    CC gfx/drivers_font_renderer/bitmapfont.c
    CC tasks/task_autodetect.c
    CC input/input_autodetect_builtin.c
    CC input/input_config.c
    CC input/input_keymaps.c
    CC input/input_remapping.c
    CC tasks/task_overlay.c
    CC input/input_overlay.c
    CC libretro-common/queues/fifo_queue.c
    CC managers/core_option_manager.c
    CC libretro-common/compat/compat_fnmatch.c
    CC libretro-common/compat/compat_posix_string.c
    CC managers/cheat_manager.c
    CC core_info.c
    CC libretro-common/file/config_file.c
    CC libretro-common/file/config_file_userdata.c
    CC tasks/task_screenshot.c
    CC tasks/task_powerstate.c
    CC libretro-common/gfx/scaler/scaler.c
    CC gfx/drivers_shader/shader_null.c
    CC gfx/video_shader_parse.c
    CC libretro-common/gfx/scaler/pixconv.c
    CC libretro-common/gfx/scaler/scaler_int.c
    CC libretro-common/gfx/scaler/scaler_filter.c
    CC gfx/font_driver.c
    CC gfx/video_filter.c
    CC libretro-common/audio/resampler/audio_resampler.c
    CC libretro-common/audio/dsp_filter.c
    CC libretro-common/audio/resampler/drivers/sinc_resampler.c
    CC libretro-common/audio/resampler/drivers/nearest_resampler.c
    CC libretro-common/audio/resampler/drivers/null_resampler.c
    CC location/drivers/nulllocation.c
    CC camera/drivers/nullcamera.c
    CC wifi/drivers/nullwifi.c
    CC gfx/drivers/nullgfx.c
    CC audio/drivers/nullaudio.c
    CC input/drivers/nullinput.c
    CC input/drivers_hid/null_hid.c
    CC input/drivers_joypad/null_joypad.c
    CC playlist.c
    CC movie.c
    CC record/record_driver.c
    CC record/drivers/record_null.c
    CC libretro-common/features/features_cpu.c
    CC performance_counters.c
    CC verbosity.c
    CC audio/drivers_resampler/cc_resampler.c
    CC intl/msg_hash_de.c
    CC intl/msg_hash_eo.c
    CC intl/msg_hash_es.c
    CC intl/msg_hash_fr.c
    CC intl/msg_hash_it.c
    CC intl/msg_hash_ja.c
    CC intl/msg_hash_ko.c
    CC intl/msg_hash_nl.c
    CC intl/msg_hash_pl.c
    CC intl/msg_hash_pt_br.c
    CC intl/msg_hash_pt_pt.c
    CC intl/msg_hash_ru.c
    CC intl/msg_hash_vn.c
    CC intl/msg_hash_chs.c
    CC intl/msg_hash_cht.c
    CC libretro-common/compat/compat_strl.c
    CC libretro-common/formats/image_texture.c
    CC cores/libretro-imageviewer/image_core.c
    CC libretro-db/bintree.c
    CC libretro-db/libretrodb.c
    CC libretro-db/query.c
    CC libretro-db/rmsgpack.c
    CC libretro-db/rmsgpack_dom.c
    CC database_info.c
    CC tasks/task_database.c
    CC tasks/task_database_cue.c
    CC audio/drivers/alsa.c
    CC audio/drivers/alsathread.c
    CC audio/drivers/tinyalsa.c
    AS libretro-common/audio/resampler/drivers/sinc_resampler_neon.S
    AS audio/drivers_resampler/cc_resampler_neon.S
    AS memory/neon/memcpy-neon.S
    CC libretro-common/audio/conversion/s16_to_float.c
    CC libretro-common/audio/conversion/float_to_s16.c
    CC libretro-common/audio/audio_mix.c
    CC libretro-common/formats/wav/rwav.c
    CC libretro-common/audio/conversion/s16_to_float_neon.c
    CC libretro-common/audio/conversion/float_to_s16_neon.c
    CC menu/drivers/rgui.c
    CC menu/drivers/materialui.c
    CC menu/drivers/xmb.c
    CC menu/menu_driver.c
    CC menu/menu_content.c
    CC menu/menu_input.c
    CC menu/menu_event.c
    CC menu/menu_entries.c
    CC menu/menu_setting.c
    CC menu/menu_shader.c
    CC menu/widgets/menu_filebrowser.c
    CC menu/widgets/menu_dialog.c
    CC menu/widgets/menu_input_dialog.c
    CC menu/widgets/menu_input_bind_dialog.c
    CC menu/widgets/menu_entry.c
    CC menu/widgets/menu_list.c
    CC menu/widgets/menu_osk.c
    CC menu/menu_cbs.c
    CC menu/cbs/menu_cbs_ok.c
    CC menu/cbs/menu_cbs_cancel.c
    CC menu/cbs/menu_cbs_select.c
    CC menu/cbs/menu_cbs_start.c
    CC menu/cbs/menu_cbs_info.c
    CC menu/cbs/menu_cbs_refresh.c
    CC menu/cbs/menu_cbs_left.c
    CC menu/cbs/menu_cbs_right.c
    CC menu/cbs/menu_cbs_deferred_push.c
    CC menu/cbs/menu_cbs_scan.c
    CC menu/cbs/menu_cbs_get_value.c
    CC menu/cbs/menu_cbs_label.c
    CC menu/cbs/menu_cbs_sublabel.c
    CC menu/cbs/menu_cbs_title.c
    CC menu/cbs/menu_cbs_up.c
    CC menu/cbs/menu_cbs_down.c
    CC menu/cbs/menu_cbs_contentlist_switch.c
    CC menu/menu_displaylist.c
    CC menu/menu_animation.c
    CC menu/drivers_display/menu_display_null.c
    CC menu/drivers/menu_generic.c
    CC menu/drivers/null.c
    CC gfx/drivers_font_renderer/stb.c
    CC gfx/drivers_font_renderer/stb_unicode.c
    CC gfx/drivers_font_renderer/freetype.c
    CC libretro-common/rthreads/rthreads.c
    CC gfx/video_thread_wrapper.c
    CC audio/audio_thread_wrapper.c
    CC input/drivers_keyboard/keyboard_event_xkb.c
    CC input/drivers/udev_input.c
    CC input/drivers_joypad/udev_joypad.c
    CC input/drivers_hid/libusb_hid.c
    CC input/drivers_joypad/hid_joypad.c
    CC input/connect/joypad_connection.c
    CC input/connect/connect_ps2adapter.c
    CC input/connect/connect_psxadapter.c
    CC input/connect/connect_ps3.c
    CC input/connect/connect_ps4.c
    CC input/connect/connect_wii.c
    CC input/connect/connect_nesusb.c
    CC input/connect/connect_snesusb.c
    CC input/connect/connect_wiiupro.c
    CC input/connect/connect_wiiugca.c
    CC input/drivers_joypad/parport_joypad.c
    CC gfx/drivers_context/gfx_null_ctx.c
    CC gfx/video_state_tracker.c
    CC gfx/drivers_renderchain/null_renderchain.c
    CC gfx/drivers/gl.c
    CC gfx/drivers_renderchain/gl_legacy_renderchain.c
    CC libretro-common/gfx/gl_capabilities.c
    CC gfx/common/gl_common.c
    CC gfx/drivers_font/gl_raster_font.c
    CC libretro-common/glsym/rglgen.c
    CC menu/drivers_display/menu_display_gl.c
    CC gfx/drivers_context/vc_egl_ctx.c
    CC libretro-common/glsym/glsym_es2.c
    CC gfx/drivers_shader/shader_glsl.c
    CC gfx/common/egl_common.c
    CC gfx/drivers/sdl2_gfx.c
    CC input/drivers/sdl_input.c
    CC input/drivers_joypad/sdl_joypad.c
    CC audio/drivers/sdl_audio.c
    CC gfx/drivers_context/sdl_gl_ctx.c
    CC gfx/drivers/dispmanx_gfx.c
    CC gfx/drivers/vg.c
    CC libretro-common/file/archive_file.c
    CC libretro-common/streams/trans_stream.c
    CC libretro-common/streams/trans_stream_pipe.c
    CC libretro-common/file/archive_file_7z.c
    CC deps/7zip/7zIn.c
    CC deps/7zip/Bra86.c
    CC deps/7zip/7zFile.c
    CC deps/7zip/7zStream.c
    CC deps/7zip/LzmaDec.c
    CC deps/7zip/7zCrcOpt.c
    CC deps/7zip/Bra.c
    CC deps/7zip/7zDec.c
    CC deps/7zip/Bcj2.c
    CC deps/7zip/7zCrc.c
    CC deps/7zip/Lzma2Dec.c
    CC deps/7zip/7zBuf.c
    CC libretro-common/file/archive_file_zlib.c
    CC libretro-common/streams/trans_stream_zlib.c
    CC libretro-common/formats/tga/rtga.c
    CC libretro-common/formats/png/rpng.c
    CC libretro-common/formats/png/rpng_encode.c
    CC libretro-common/formats/jpeg/rjpeg.c
    CC libretro-common/formats/bmp/rbmp.c
    CC deps/ibxm/ibxm.c
    CC libretro-common/formats/bmp/rbmp_encode.c
    CC libretro-common/formats/json/jsonsax.c
    CC libretro-common/formats/json/jsonsax_full.c
    deps/ibxm/ibxm.c: In function ‘module_load’:
    deps/ibxm/ibxm.c:95:4: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
      if( offset + length > data->length ) {
        ^
    deps/ibxm/ibxm.c:95:4: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
      if( offset + length > data->length ) {
        ^
    CC libretro-common/formats/image_transfer.c
    CC libretro-common/net/net_compat.c
    CC libretro-common/net/net_http.c
    CC libretro-common/net/net_http_parse.c
    CC libretro-common/net/net_socket.c
    CC libretro-common/net/net_natt.c
    CC network/net_http_special.c
    CC tasks/task_http.c
    CC tasks/task_netplay_lan_scan.c
    CC tasks/task_netplay_nat_traversal.c
    CC tasks/task_wifi.c
    CC tasks/task_netplay_find_content.c
    CC libretro-common/net/net_ifinfo.c
    CC network/netplay/netplay_delta.c
    CC network/netplay/netplay_frontend.c
    CC network/netplay/netplay_handshake.c
    CC network/netplay/netplay_init.c
    CC network/netplay/netplay_io.c
    CC network/netplay/netplay_sync.c
    CC network/netplay/netplay_discovery.c
    CC network/netplay/netplay_buf.c
    CC network/netplay/netplay_room_parse.c
    CC cheevos/cheevos.c
    CC libretro-common/utils/md5.c
    CC input/input_remote.c
    CC cores/libretro-net-retropad/net_retropad_core.c
    CC deps/miniupnpc/igd_desc_parse.c
    CC deps/miniupnpc/upnpreplyparse.c
    CC deps/miniupnpc/upnpcommands.c
    CC deps/miniupnpc/upnperrors.c
    CC deps/miniupnpc/connecthostport.c
    CC deps/miniupnpc/portlistingparse.c
    CC deps/miniupnpc/receivedata.c
    CC deps/miniupnpc/upnpdev.c
    CC deps/miniupnpc/minissdpc.c
    CC deps/miniupnpc/miniwget.c
    CC deps/miniupnpc/miniupnpc.c
    CC deps/miniupnpc/minixml.c
    CC deps/miniupnpc/minisoap.c
    CC tasks/task_decompress.c
    LD retroarch
    /home/pi
    /home/pi/RetroPie-Setup/tmp/build/retroarch /home/pi
    
    = = = = = = = = = = = = = = = = = = = = =
    Installing 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =
    
    rm -f obj-unix/git_version.o
    mkdir -p /opt/retropie/emulators/retroarch/bin 2>/dev/null || /bin/true
    mkdir -p /etc 2>/dev/null || /bin/true
    mkdir -p /opt/retropie/emulators/retroarch/share/applications 2>/dev/null || /bin/true
    mkdir -p /opt/retropie/emulators/retroarch/share/man/man6 2>/dev/null || /bin/true
    mkdir -p /opt/retropie/emulators/retroarch/share/pixmaps 2>/dev/null || /bin/true
    install -m755 retroarch /opt/retropie/emulators/retroarch/bin
    install -m755 tools/cg2glsl.py /opt/retropie/emulators/retroarch/bin/retroarch-cg2glsl
    install -m644 retroarch.cfg /etc/retroarch.cfg
    install -m644 retroarch.desktop /opt/retropie/emulators/retroarch/share/applications
    install -m644 docs/retroarch.6 /opt/retropie/emulators/retroarch/share/man/man6
    install -m644 docs/retroarch-cg2glsl.6 /opt/retropie/emulators/retroarch/share/man/man6
    install -m644 media/retroarch.svg /opt/retropie/emulators/retroarch/share/pixmaps
    « /home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch.cfg » -> « /opt/retropie/emulators/retroarch/retroarch.cfg »
    /home/pi
    /opt/retropie/emulators/retroarch /home/pi
    
    = = = = = = = = = = = = = = = = = = = = =
    Configuring 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =
    
    error: bad index file sha1 signature
    fatal: index file corrupt
    fatal: Reference has invalid format: 'refs/remotes/origin/rpi
    '
    error: bad index file sha1 signature
    fatal: index file corrupt
    error: bad index file sha1 signature
    fatal: index file corrupt
    Copying new default configuration to /opt/retropie/configs/all/retroarch.cfg.rp-dist
    /home/pi
    Error running 'git pull' - returned 1
    Error running 'git submodule update --init --recursive' - returned 1
    
    Log ended at: mercredi 23 août 2017, 13:15:56 (UTC+0200)
    Total running time: 0 hours, 7 mins, 15 secs
    


  • @dankcushions said in Some "compiling from source" emulators crashing:

    @darknior said in Some "compiling from source" emulators crashing:

    What is the option i must activate for the blue menu if i want to try it on my PI3 and make a feedback on the forum please ?

    menu_driver = "xmb"
    to use the 'green menu', it's
    menu_driver = "rgui"

    WOW thanks a lot, i see this option but not understand it lol


  • Global Moderator

    @darknior there are some strange errors at the end of that log, but i don't know if they're a problem.

    retropie is hard-coded to build version v1.6.7 of retroarch (we don't get the latest nightly because it can break the various patches that we apply, but this does get updated regularly). is that's what you see when you open the menu? in which case, it's working as intended.



  • @dankcushions Ok fine, if it is normal i understand the reason.
    Why not hide the RETROARCH source code update ? Because like we must respect the Team choice, the BINARY update is enough.


  • Global Moderator

    @darknior said in Some "compiling from source" emulators crashing:

    @dankcushions Ok fine, if it is normal i understand the reason.
    Why not hide the RETROARCH source code update ? Because like we must respect the Team choice, the BINARY update is enough.

    i don't know that the binary is ALWAYS updated at the same time as the script. plus it is one binary for all pi models (or maybe two, one for rpi1/0, one for rpi2/3, i forget), so you miss out on the unique compiler flags for the pi3, which may give a (probably unmeasurable) performance boost.

    plus for me, it is easier to edit the retorach.sh file to make it build the latest nightly, which is useful for testing things. i don't want that to be hidden away.



  • For NP2PI

    It crash at the end when it not found a directory

    https://gist.github.com/Darknior/eb3af61fb461366a9a41f52c290043fe



  • @dankcushions Why my RETROARCH install crash ? Maybe i don't have the last one :(



  • For LR-Hatari

    Log started at: mercredi 23 août 2017, 14:01:44 (UTC+0200)
    
    RetroPie-Setup version: 4.2.18 (ce4bf43)
    System: Linux retropie 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux
    
    = = = = = = = = = = = = = = = = = = = = =
    Installing dependencies for 'lr-hatari' : Atari emulator - Hatari port for libretro
    = = = = = = = = = = = = = = = = = = = = =
    
    /home/pi/RetroPie-Setup/tmp/build/lr-hatari /home/pi
    
    = = = = = = = = = = = = = = = = = = = = =
    Getting sources for 'lr-hatari' : Atari emulator - Hatari port for libretro
    = = = = = = = = = = = = = = = = = = = = =
    
    git clone --recursive --depth 1 "https://github.com/libretro/hatari.git" "/home/pi/RetroPie-Setup/tmp/build/lr-hatari"
    Clonage dans '/home/pi/RetroPie-Setup/tmp/build/lr-hatari'...
    patching file Makefile.libretro
    Hunk #1 FAILED at 132.
    1 out of 1 hunk FAILED -- saving rejects to file Makefile.libretro.rej
    patching file src/floppy_ipf.c
    Archive:  /tmp/tmp.WMTevcaTlg/spsdeclib_5.1_source.zip
      inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/capsimg_source_linux_macosx.zip  
      inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/capsimg_source_windows.zip  
      inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/DONATIONS.txt  
      inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/HISTORY.txt  
      inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/LICENCE.txt  
      inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/RELEASE.txt  
    Archive:  capsimg_source_linux_macosx.zip
       creating: capsimg_source_linux_macosx/
       creating: capsimg_source_linux_macosx/CAPSImg/
      inflating: capsimg_source_linux_macosx/CAPSImg/bootstrap.sh  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsAPI.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsCore.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsFDCEmulator.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsFDCEmulator.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsFile.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsFile.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsFormatMFM.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsFormatMFM.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsImage.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsImage.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsImageStd.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsImageStd.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.aps  
      inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.rc  
      inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj  
      inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj.filters  
      inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj.user  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsLoader.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/CapsLoader.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/config.guess  
      inflating: capsimg_source_linux_macosx/CAPSImg/config.h.in  
      inflating: capsimg_source_linux_macosx/CAPSImg/config.sub  
      inflating: capsimg_source_linux_macosx/CAPSImg/configure  
      inflating: capsimg_source_linux_macosx/CAPSImg/configure.in  
       creating: capsimg_source_linux_macosx/CAPSImg/Debug/
      inflating: capsimg_source_linux_macosx/CAPSImg/Debug/CAPSImg.log  
       creating: capsimg_source_linux_macosx/CAPSImg/Debug/CAPSImg.tlog/
      inflating: capsimg_source_linux_macosx/CAPSImg/DiskImage.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/DiskImage.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/DiskImageFactory.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/DiskImageFactory.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/dllmain.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/install-sh  
      inflating: capsimg_source_linux_macosx/CAPSImg/libcapsimage.map  
      inflating: capsimg_source_linux_macosx/CAPSImg/LICENSE  
      inflating: capsimg_source_linux_macosx/CAPSImg/Makefile.in  
       creating: capsimg_source_linux_macosx/CAPSImg/Release/
      inflating: capsimg_source_linux_macosx/CAPSImg/Release/CAPSImg.log  
       creating: capsimg_source_linux_macosx/CAPSImg/Release/CAPSImg.tlog/
      inflating: capsimg_source_linux_macosx/CAPSImg/resource.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/stdafx.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/stdafx.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/StreamCueImage.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/StreamCueImage.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/StreamImage.cpp  
      inflating: capsimg_source_linux_macosx/CAPSImg/StreamImage.h  
      inflating: capsimg_source_linux_macosx/CAPSImg/targetver.h  
       creating: capsimg_source_linux_macosx/CAPSImg/x64/
       creating: capsimg_source_linux_macosx/CAPSImg/x64/Debug/
      inflating: capsimg_source_linux_macosx/CAPSImg/x64/Debug/CAPSImg.log  
       creating: capsimg_source_linux_macosx/CAPSImg/x64/Debug/CAPSImg.tlog/
       creating: capsimg_source_linux_macosx/CAPSImg/x64/Release/
      inflating: capsimg_source_linux_macosx/CAPSImg/x64/Release/CAPSImg.log  
       creating: capsimg_source_linux_macosx/CAPSImg/x64/Release/CAPSImg.tlog/
       creating: capsimg_source_linux_macosx/Codec/
      inflating: capsimg_source_linux_macosx/Codec/CapsDefinitions.h  
      inflating: capsimg_source_linux_macosx/Codec/CTRawCodec.cpp  
      inflating: capsimg_source_linux_macosx/Codec/CTRawCodec.h  
      inflating: capsimg_source_linux_macosx/Codec/CTRawCodecDecompressor.cpp  
      inflating: capsimg_source_linux_macosx/Codec/DiskEncoding.cpp  
      inflating: capsimg_source_linux_macosx/Codec/DiskEncoding.h  
       creating: capsimg_source_linux_macosx/Compatibility/
      inflating: capsimg_source_linux_macosx/Compatibility/dirent.h  
       creating: capsimg_source_linux_macosx/Core/
      inflating: capsimg_source_linux_macosx/Core/BaseFile.cpp  
      inflating: capsimg_source_linux_macosx/Core/BaseFile.h  
      inflating: capsimg_source_linux_macosx/Core/BitBuffer.cpp  
      inflating: capsimg_source_linux_macosx/Core/BitBuffer.h  
      inflating: capsimg_source_linux_macosx/Core/CommonTypes.h  
      inflating: capsimg_source_linux_macosx/Core/CRC.cpp  
      inflating: capsimg_source_linux_macosx/Core/CRC.h  
      inflating: capsimg_source_linux_macosx/Core/DiskFile.cpp  
      inflating: capsimg_source_linux_macosx/Core/DiskFile.h  
      inflating: capsimg_source_linux_macosx/Core/MemoryFile.cpp  
      inflating: capsimg_source_linux_macosx/Core/MemoryFile.h  
       creating: capsimg_source_linux_macosx/Debug/
       creating: capsimg_source_linux_macosx/Device/
      inflating: capsimg_source_linux_macosx/Device/C2Comm.h  
       creating: capsimg_source_linux_macosx/LibIPF/
      inflating: capsimg_source_linux_macosx/LibIPF/CapsAPI.h  
      inflating: capsimg_source_linux_macosx/LibIPF/CapsFDC.h  
      inflating: capsimg_source_linux_macosx/LibIPF/CapsForm.h  
      inflating: capsimg_source_linux_macosx/LibIPF/CapsLib.h  
      inflating: capsimg_source_linux_macosx/LibIPF/CapsLibAll.h  
      inflating: capsimg_source_linux_macosx/LibIPF/CapsLibVersion.h  
      inflating: capsimg_source_linux_macosx/LibIPF/ComLib.h  
       creating: capsimg_source_linux_macosx/Release/
       creating: capsimg_source_linux_macosx/x64/
       creating: capsimg_source_linux_macosx/x64/Debug/
       creating: capsimg_source_linux_macosx/x64/Release/
      inflating: capsimg_source_linux_macosx/SPStudio_Dev.sln  
    /home/pi
    lr-hatari patch /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-hatari/01_libcapsimage.diff failed to apply
    
    Log ended at: mercredi 23 août 2017, 14:01:49 (UTC+0200)
    Total running time: 0 hours, 0 mins, 5 secs
    

  • Global Moderator

    @darknior said in Some "compiling from source" emulators crashing:

    For NP2PI

    It crash at the end when it not found a directory

    https://gist.github.com/Darknior/eb3af61fb461366a9a41f52c290043fe

    i think there's an error with the script here - i have a fix in mind and will look into this


  • Global Moderator

    @darknior for lr-hatari, i guess the retropie patch isn't working on the latest source code. paging @BuZz!


  • administrators

    @dankcushions I'll sort both issues. np2pi broke after I changed a build path the other day. the other is due to makefile changes upstream. But don't recommend lr-hatari emulator really.


  • administrators

    @darknior regarding the retroarch errors - Looks like you have a corrupt git checkout of the shaders - you should remove /opt/retropie/configs/all/retroarch/shaders and re-install retro-arch. Corruption could point to sdcard problems.



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.