Comments (13)
This is due to an issue with Genesis-Plus-Gx ekeeke/Genesis-Plus-GX/issues/125 .
If it will take too long to fix, I'll write a workaround.
from retro-learning-environment.
@timgriffin, My last commit should fix this issue.
Let me know if the problem persists.
from retro-learning-environment.
Still having trouble compiling on Ubuntu on AWS.
from retro-learning-environment.
Please copy the make log so I can have a look.
from retro-learning-environment.
ubuntu@ip-171-39-66-4:/Retro-Learning-Environment/build$ cmake -DUSE_SDL=ON -DBUILD_EXAMPLES=ON ../Retro-Learning-Environment/build$ make -j 4
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15")
sdl_library:/usr/lib/x86_64-linux-gnu/libSDLmain.a/usr/lib/x86_64-linux-gnu/libSDL.so-lpthread
-- INCLUDE_DIR /usr/local/include/rle
-- LIBRARY_DIR /usr/local/lib
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/Retro-Learning-Environment/build
ubuntu@ip-171-39-66-4:
Scanning dependencies of target genesis_plus_gx_libretro
Scanning dependencies of target rle-c-lib
Scanning dependencies of target snes9x2010_libretro
Scanning dependencies of target rle-lib
[ 1%] [ 1%] Creating directories for 'genesis_plus_gx_libretro'
Creating directories for 'snes9x2010_libretro'
[ 2%] Building CXX object CMakeFiles/rle-c-lib.dir/rle_python_interface/rle_c_wrapper.cpp.o
[ 3%] Building CXX object CMakeFiles/rle-lib.dir/src/rle_interface.cpp.o
[ 4%] Performing download step (git clone) for 'genesis_plus_gx_libretro'
[ 5%] Performing download step (git clone) for 'snes9x2010_libretro'
Cloning into 'Genesis-Plus-GX'...
Cloning into 'snes9x2010'...
remote: Counting objects: 9257, done.
remote: Counting objects: 7096, done.
remote: Total 7096 (delta 0), reused 0 (delta 0), pack-reused 7096
Receiving objects: 100% (7096/7096), 31.21 MiB | 16.76 MiB/s, done.
Resolving deltas: 100% (4959/4959), done.5 MiB | 16.94 MiB/s
remote: Total 9257 (delta 0), reused 0 (delta 0), pack-reused 9256
Receiving objects: 100% (9257/9257), 53.84 MiB | 17.60 MiB/s, done.
Resolving deltas: 100% (6671/6671), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Checking connectivity... done.
[ 6%] No patch step for 'snes9x2010_libretro'
[ 7%] No update step for 'snes9x2010_libretro'
[ 8%] No configure step for 'snes9x2010_libretro'
[ 9%] Performing build step for 'snes9x2010_libretro'
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[ 10%] No patch step for 'genesis_plus_gx_libretro'
[ 11%] No update step for 'genesis_plus_gx_libretro'
[ 11%] No configure step for 'genesis_plus_gx_libretro'
[ 12%] Performing build step for 'genesis_plus_gx_libretro'
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
src/apu.c: In function ‘spc_copier_copy_int’:
src/apu.c:1240:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
SET_LE16( s, state );
^
src/apu.c:1242:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return GET_LE16( s );
^
[ 13%] Building CXX object CMakeFiles/rle-c-lib.dir/src/rle_interface.cpp.o
[ 14%] Building CXX object CMakeFiles/rle-lib.dir/src/common/Constants.cpp.o
[ 15%] Building CXX object CMakeFiles/rle-lib.dir/src/common/SoundExporter.cpp.o
[ 16%] Building CXX object CMakeFiles/rle-c-lib.dir/src/common/Constants.cpp.o
[ 17%] Building CXX object CMakeFiles/rle-lib.dir/src/common/display_screen.cpp.o
[ 18%] Building CXX object CMakeFiles/rle-c-lib.dir/src/common/SoundExporter.cpp.o
[ 19%] Building CXX object CMakeFiles/rle-c-lib.dir/src/common/display_screen.cpp.o
[ 19%] Building CXX object CMakeFiles/rle-lib.dir/src/common/ScreenExporter.cpp.o
[ 19%] Building CXX object CMakeFiles/rle-c-lib.dir/src/common/ScreenExporter.cpp.o
[ 20%] Building CXX object CMakeFiles/rle-lib.dir/src/common/Log.cpp.o
[ 21%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/phosphor_blend.cpp.o
[ 22%] Building CXX object CMakeFiles/rle-c-lib.dir/src/common/Log.cpp.o
[ 23%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/FSNode.cxx.o
[ 24%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/phosphor_blend.cpp.o
[ 25%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/RetroAgent.cpp.o
[ 26%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/FSNode.cxx.o
[ 27%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/RleSystem.cxx.o
[ 28%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/RetroAgent.cpp.o
[ 28%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/retro_environment.cpp.o
[ 29%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/RleSystem.cxx.o
src/dsp.c: In function ‘DSP4_READ_WORD’:
src/dsp.c:3307:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
out = READ_WORD(DSP4.parameters + DSP4.in_index);
^
src/dsp.c: In function ‘DSP4_READ_DWORD’:
src/dsp.c:3317:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
out = READ_DWORD(DSP4.parameters + DSP4.in_index);
^
src/dsp.c: In function ‘DSP4_OP01’:
src/dsp.c:3416:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((DSP4.world_x + DSP4.world_xenv) >> 16);
^
src/dsp.c:3417:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_x2);
^
src/dsp.c:3418:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.world_y >> 16);
^
src/dsp.c:3419:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_y2);
^
src/dsp.c:3444:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.segments);
^
src/dsp.c:3470:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.poly_ptr[0][0]);
^
src/dsp.c:3471:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((y_scroll + 0x8000) >> 16);
^
src/dsp.c:3472:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((x_scroll + 0x8000) >> 16);
^
src/dsp.c: In function ‘DSP4_OP07’:
src/dsp.c:3634:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_x2);
^
src/dsp.c:3635:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_y2);
^
src/dsp.c:3660:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.segments);
^
src/dsp.c:3686:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.poly_ptr[0][0]);
^
src/dsp.c:3687:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((y_scroll + 0x8000) >> 16);
^
src/dsp.c:3688:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((x_scroll + 0x8000) >> 16);
^
src/dsp.c: In function ‘DSP4_OP08’:
src/dsp.c:3861:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_BYTE(win_left & 0xff);
^
src/dsp.c:3862:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_BYTE(win_right & 0xff);
^
src/dsp.c:3941:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.segments);
^
src/dsp.c:4022:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.poly_ptr[polygon][0]);
^
src/dsp.c:4023:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_BYTE(x_left & 0xff);
^
src/dsp.c:4024:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_BYTE(x_right & 0xff);
^
src/dsp.c:4042:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(0);
^
src/dsp.c: In function ‘DSP4_OP0B’:
src/dsp.c:4092:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(1);
^
src/dsp.c:4095:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_BYTE(sp_x & 0xff);
^
src/dsp.c:4096:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_BYTE(sp_y & 0xff);
^
src/dsp.c:4097:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(sp_attr);
^
src/dsp.c:4119:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(0);
^
src/dsp.c: In function ‘DSP4_OP09’:
src/dsp.c:4233:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(world_spx);
^
src/dsp.c: In function ‘DSP4_OP0D’:
src/dsp.c:4444:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((DSP4.world_x + DSP4.world_xenv) >> 16);
^
src/dsp.c:4445:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_x2);
^
src/dsp.c:4446:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.world_y >> 16);
^
src/dsp.c:4447:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_y2);
^
src/dsp.c:4473:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.segments);
^
src/dsp.c:4500:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.poly_ptr[0][0]);
^
src/dsp.c:4501:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((y_scroll + 0x8000) >> 16);
^
src/dsp.c:4502:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((x_scroll + 0x8000) >> 16);
^
src/dsp.c: In function ‘DSP4_OP0F’:
src/dsp.c:4636:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((DSP4.world_x + DSP4.world_xenv) >> 16);
^
src/dsp.c:4637:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_x2);
^
src/dsp.c:4638:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.world_y >> 16);
^
src/dsp.c:4639:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_y2);
^
src/dsp.c:4665:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.segments);
^
src/dsp.c:4701:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(color);
^
src/dsp.c:4725:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.poly_ptr[0][0]);
^
src/dsp.c:4726:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((y_scroll + 0x8000) >> 16);
^
src/dsp.c:4727:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((x_scroll + 0x8000) >> 16);
^
src/dsp.c: In function ‘DSP4_OP10’:
src/dsp.c:4872:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_x2);
^
src/dsp.c:4873:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.view_y2);
^
src/dsp.c:4898:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.segments);
^
src/dsp.c:4931:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(color);
^
src/dsp.c:4962:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(DSP4.poly_ptr[0][0]);
^
src/dsp.c:4963:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((y_scroll + 0x8000) >> 16);
^
src/dsp.c:4964:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD((x_scroll + 0x8000) >> 16);
^
src/dsp.c: In function ‘DSP4_SetByte’:
src/dsp.c:5096:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(product);
^
src/dsp.c:5097:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(product >> 16);
^
src/dsp.c:5149:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(out1a);
^
src/dsp.c:5150:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(out2a);
^
src/dsp.c:5151:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(out3a);
^
src/dsp.c:5152:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(out4a);
^
src/dsp.c:5204:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
DSP4_WRITE_WORD(m);
^
[ 30%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/rle_screen.cpp.o
[ 30%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/retro_environment.cpp.o
[ 31%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/Deserializer.cxx.o
[ 32%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/rle_screen.cpp.o
/home/ubuntu/Retro-Learning-Environment/src/environment/Deserializer.cxx: In member function ‘void Deserializer::getIntArray(int*, size_t&)’:
/home/ubuntu/Retro-Learning-Environment/src/environment/Deserializer.cxx:100:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < size ; i++){
^
[ 33%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/Settings.cxx.o
[ 34%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/Deserializer.cxx.o
/home/ubuntu/Retro-Learning-Environment/src/environment/Deserializer.cxx: In member function ‘void Deserializer::getIntArray(int*, size_t&)’:
/home/ubuntu/Retro-Learning-Environment/src/environment/Deserializer.cxx:100:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < size ; i++){
^
[ 35%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/Settings.cxx.o
[ 36%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/Serializer.cxx.o
[ 37%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/rle_ram.cpp.o
[ 38%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/rle_state.cpp.o
[ 39%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/Serializer.cxx.o
src/memmap.c: In function ‘HeaderRemove’:
src/memmap.c:747:3: warning: value computed is not used [-Wunused-value]
(headerCount)++;
^
[ 40%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/rle_ram.cpp.o
[ 40%] Building CXX object CMakeFiles/rle-lib.dir/src/environment/Random.cxx.o
[ 41%] Building CXX object CMakeFiles/rle-lib.dir/src/games/SnesSettings.cpp.o
[ 42%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/rle_state.cpp.o
[ 43%] Building CXX object CMakeFiles/rle-lib.dir/src/games/AtariSettings.cpp.o
[ 43%] Building CXX object CMakeFiles/rle-c-lib.dir/src/environment/Random.cxx.o
[ 44%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/SnesSettings.cpp.o
[ 45%] Building CXX object CMakeFiles/rle-lib.dir/src/games/RomUtils.cpp.o
[ 46%] Building CXX object CMakeFiles/rle-lib.dir/src/games/GenesisSettings.cpp.o
[ 47%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/AtariSettings.cpp.o
[ 48%] Building CXX object CMakeFiles/rle-lib.dir/src/games/RomSettings.cpp.o
[ 49%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/RomUtils.cpp.o
[ 50%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/GenesisSettings.cpp.o
[ 50%] Building CXX object CMakeFiles/rle-lib.dir/src/games/Roms.cpp.o
[ 51%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/RomSettings.cpp.o
[ 51%] [ 52%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/ClassicKong.cpp.o
Building CXX object CMakeFiles/rle-c-lib.dir/src/games/Roms.cpp.o
[ 53%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/ClassicKong.cpp.o
[ 54%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/FZero.cpp.o
[ 55%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/FZero.cpp.o
[ 56%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/StreetFighterII.cpp.o
[ 57%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/StreetFighterII.cpp.o
[ 58%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/MortalKombat.cpp.o
[ 59%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/Wolfenstein.cpp.o
[ 60%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/MortalKombat.cpp.o
[ 61%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/Wolfenstein.cpp.o
[ 62%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/AtariCollection.cpp.o
[ 63%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/AtariCollection.cpp.o
[ 63%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/Seaquest.cpp.o
[ 63%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/Seaquest.cpp.o
[ 64%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/TetrisAndDrMario.cpp.o
[ 65%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/TetrisAndDrMario.cpp.o
core/cd_hw/cdd.c: In function ‘cdd_load’:
core/cd_hw/cdd.c:313:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(header, 0x10, 1, fd);
^
core/cd_hw/cdd.c:324:12: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(header, 0x10, 1, fd);
^
core/cd_hw/cdd.c:338:12: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(header + 0x10, 0x200, 1, fd);
^
core/cd_hw/cdd.c:453:16: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(head, 28, 1, cdd.toc.tracks[cdd.toc.last].fd);
^
core/cd_hw/cdd.c:550:18: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(header, 0x210, 1, cdd.toc.tracks[0].fd);
^
core/cd_hw/cdd.c:726:12: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(head, 28, 1, fd);
^
core/cd_hw/cdd.c:771:14: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(head, 4, 1, fd);
^
core/cd_hw/cdd.c: In function ‘cdd_read_data’:
core/cd_hw/cdd.c:1054:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(dst, 2048, 1, cdd.toc.tracks[0].fd);
^
core/cd_hw/cdd.c: In function ‘cdd_read_audio’:
core/cd_hw/cdd.c:1142:12: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(cdc.ram, 1, samples * 4, cdd.toc.tracks[cdd.index].fd);
^
core/cd_hw/cdd.c: In function ‘cdd_read_subcode’:
core/cd_hw/cdd.c:1220:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(subc, 1, 96, cdd.toc.sub);
^
[ 66%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/NBAGiveNGo.cpp.o
[ 67%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/NBAGiveNGo.cpp.o
[ 68%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/Boxing.cpp.o
[ 69%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/Boxing.cpp.o
[ 70%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/Aladdin.cpp.o
[ 71%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/Aladdin.cpp.o
[ 72%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/FinalFight.cpp.o
core/cart_hw/svp/ssp16.c: In function ‘read_PM0’:
core/cart_hw/svp/ssp16.c:222:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GET_PPC_OFFS() ((unsigned int)PC - (unsigned int)svp->iram_rom - 2)
^
core/cart_hw/svp/ssp16.c:602:20: note: in expansion of macro ‘GET_PPC_OFFS’
if (!(d & 2) && (GET_PPC_OFFS() == 0x800 || GET_PPC_OFFS() == 0x1851E)) {
^
core/cart_hw/svp/ssp16.c:222:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GET_PPC_OFFS() ((unsigned int)PC - (unsigned int)svp->iram_rom - 2)
^
core/cart_hw/svp/ssp16.c:602:20: note: in expansion of macro ‘GET_PPC_OFFS’
if (!(d & 2) && (GET_PPC_OFFS() == 0x800 || GET_PPC_OFFS() == 0x1851E)) {
^
core/cart_hw/svp/ssp16.c:222:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GET_PPC_OFFS() ((unsigned int)PC - (unsigned int)svp->iram_rom - 2)
^
core/cart_hw/svp/ssp16.c:602:47: note: in expansion of macro ‘GET_PPC_OFFS’
if (!(d & 2) && (GET_PPC_OFFS() == 0x800 || GET_PPC_OFFS() == 0x1851E)) {
^
core/cart_hw/svp/ssp16.c:222:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GET_PPC_OFFS() ((unsigned int)PC - (unsigned int)svp->iram_rom - 2)
^
core/cart_hw/svp/ssp16.c:602:47: note: in expansion of macro ‘GET_PPC_OFFS’
if (!(d & 2) && (GET_PPC_OFFS() == 0x800 || GET_PPC_OFFS() == 0x1851E)) {
^
core/cart_hw/svp/ssp16.c: In function ‘read_PM4’:
core/cart_hw/svp/ssp16.c:222:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GET_PPC_OFFS() ((unsigned int)PC - (unsigned int)svp->iram_rom - 2)
^
core/cart_hw/svp/ssp16.c:697:13: note: in expansion of macro ‘GET_PPC_OFFS’
switch (GET_PPC_OFFS()) {
^
core/cart_hw/svp/ssp16.c:222:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GET_PPC_OFFS() ((unsigned int)PC - (unsigned int)svp->iram_rom - 2)
^
core/cart_hw/svp/ssp16.c:697:13: note: in expansion of macro ‘GET_PPC_OFFS’
switch (GET_PPC_OFFS()) {
^
[ 73%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/FinalFight.cpp.o
[ 73%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/SonicTheHedgehog.cpp.o
[ 73%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/SonicTheHedgehog.cpp.o
[ 74%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/SuperMarioAllStarsNoRight.cpp.o
[ 75%] [ 76%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/SuperMarioAllStarsNoRight.cpp.o
Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/MortalKombat2Players.cpp.o
[ 77%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/MortalKombat2Players.cpp.o
[ 78%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/SuperMarioAllStars.cpp.o
[ 79%] [ 80%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/GradiusIII.cpp.o
Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/SuperMarioAllStars.cpp.o
libretro/libretro.c: In function ‘load_archive’:
libretro/libretro.c:227:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, CHUNKSIZE, 1, fd);
^
libretro/libretro.c:233:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, left, 1, fd);
^
libretro/libretro.c: In function ‘bram_load’:
libretro/libretro.c:561:12: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(scd.bram, 0x2000, 1, fp);
^
libretro/libretro.c:602:16: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(scd.cartridge.area + done, CHUNKSIZE, 1, fp);
^
libretro/libretro.c:610:16: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(scd.cartridge.area + done, filesize, 1, fp);
^
[ 81%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/BustAMove.cpp.o
[ 82%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/GradiusIII.cpp.o
[ 83%] No install step for 'genesis_plus_gx_libretro'
[ 83%] Completed 'genesis_plus_gx_libretro'
[ 83%] Built target genesis_plus_gx_libretro
Scanning dependencies of target stella_libretro
[ 84%] Creating directories for 'stella_libretro'
[ 85%] [ 86%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/BustAMove.cpp.o
Performing download step (git clone) for 'stella_libretro'
Cloning into 'stella-libretro'...
[ 87%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/SuperMarioWorld.cpp.o
remote: Counting objects: 1985, done.
[ 88%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/SuperMarioWorld.cpp.o
remote: Total 1985 (delta 0), reused 0 (delta 0), pack-reused 1985
Receiving objects: 100% (1985/1985), 3.89 MiB | 7.36 MiB/s, done.
Resolving deltas: 100% (981/981), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[ 88%] [ 89%] Building CXX object CMakeFiles/rle-lib.dir/src/games/supported/FZeroNoSpeed.cpp.o
No patch step for 'stella_libretro'
[ 90%] No update step for 'stella_libretro'
[ 91%] No configure step for 'stella_libretro'
[ 92%] Performing build step for 'stella_libretro'
[ 92%] Building CXX object CMakeFiles/rle-c-lib.dir/src/games/supported/FZeroNoSpeed.cpp.o
[ 93%] Building C object CMakeFiles/rle-lib.dir/src/external/TinyMT/tinymt32.c.o
[ 94%] Building CXX object CMakeFiles/rle-lib.dir/src/os_dependent/FSNodePOSIX.cxx.o
[ 95%] Building C object CMakeFiles/rle-c-lib.dir/src/external/TinyMT/tinymt32.c.o
[ 96%] Building CXX object CMakeFiles/rle-c-lib.dir/src/os_dependent/FSNodePOSIX.cxx.o
Linking CXX shared library ../librle.so
Linking CXX shared library ../rle_python_interface/librle_c.so
[ 96%] Built target rle-lib
Scanning dependencies of target sharedLibraryInterfaceExample
[ 97%] Building CXX object CMakeFiles/sharedLibraryInterfaceExample.dir/doc/examples/sharedLibraryInterfaceExample.cpp.o
[ 97%] Built target rle-c-lib
Linking CXX executable ../doc/examples/sharedLibraryInterfaceExample
[ 97%] Built target sharedLibraryInterfaceExample
libretro/libretro.c: In function ‘snes_init’:
libretro/libretro.c:619:18: warning: ignoring return value of ‘posix_memalign’, declared with attribute warn_unused_result [-Wunused-result]
posix_memalign((void*)&GFX.Screen, 16, GFX.Pitch * 512 * sizeof(uint16));
^
[ 98%] No install step for 'snes9x2010_libretro'
[ 99%] Completed 'snes9x2010_libretro'
[ 99%] Built target snes9x2010_libretro
[ 99%] No install step for 'stella_libretro'
[100%] Completed 'stella_libretro'
[100%] Built target stella_libretro
from retro-learning-environment.
Well it looks like you compiled everything.
Am I missing something?
from retro-learning-environment.
Sorry. I was confused by all of the warnings. I installed the Python interface instead using pip install --user . command. The install seemed successful. However, I got the following error when I tried to import RLEInterface
In [1]: from rle_python_interface import RLEInterface
OSError Traceback (most recent call last)
in ()
----> 1 from rle_python_interface import RLEInterface
/home/ubuntu/Retro-Learning-Environment/rle_python_interface/rle_python_interface.py in ()
11
12 rle_lib = cdll.LoadLibrary(os.path.join(os.path.dirname(file),
---> 13 'librle_c.so'))
14
15 rle_lib.RLE_new.argtypes = None
/home/ubuntu/anaconda3/lib/python3.5/ctypes/init.py in LoadLibrary(self, name)
423
424 def LoadLibrary(self, name):
--> 425 return self._dlltype(name)
426
427 cdll = LibraryLoader(CDLL)
/home/ubuntu/anaconda3/lib/python3.5/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error)
345
346 if handle is None:
--> 347 self._handle = _dlopen(self._name, mode)
348 else:
349 self._handle = handle
OSError: /home/ubuntu/Retro-Learning-Environment/rle_python_interface/librle_c.so: cannot open shared object file: No such file or directory
Note I think I have found librle_c.so here: /home/ubuntu/.local/lib/python3.5/site-packages/rle_python_interface/librle_c.so
from retro-learning-environment.
Looks like while you've installed the library in /home/ubuntu/.local/lib/python3.5/site-packages/rle_python_interface/
the imported python file rle_python_interface
is located in /home/ubuntu/Retro-Learning-Environment/rle_python_interface
.
This is why he can't find the shared library (so) file.
You should open Python from a different dir such that the imported rle_python_interface.py file is the installed on.
By the way, you can also install RLE using `pip install rle-python-interface'. I'll add that to the doc...
from retro-learning-environment.
Thanks, I tried from a different directory and I got this error:
In [1]: from rle_python_interface import RLEInterface
ImportError Traceback (most recent call last)
in ()
----> 1 from rle_python_interface import RLEInterface
ImportError: cannot import name 'RLEInterface'
from retro-learning-environment.
These errors are usually caused due to circular dependencies or PYTHONPATH issues.
I'd recommend to uninstall and the reinstall the package. If that doesn't work.
Look into your setup or google to see what may be causing this. I don't think it is related to the package.
from retro-learning-environment.
@jmichaux - is everything working now?
Regarding the seed issue, check this out.
from retro-learning-environment.
Yes, I think everything is working now. Thanks a lot!
from retro-learning-environment.
Great.
from retro-learning-environment.
Related Issues (20)
- deep_q_rl error HOT 5
- Problem with python installer HOT 2
- Test with DQN tensorflow version HOT 1
- Illegal instruction (core dumped) when loading the ROM HOT 19
- Trouble installing on mac osx (Yosemite, 10.10.5) HOT 1
- python_interface gives wrong game screen dimensions HOT 1
- Trouble installing on AWS HOT 1
- SDL interface not displaying game screen with display_screen set to True HOT 3
- Install RLE on CentOS Linux release 7.2.1511 HOT 4
- ImportError: cannot import name 'RLEInterface' HOT 6
- In Street Fighter II, rle.game_over() automatically set to true in the middle of the game HOT 3
- fix setup.py HOT 1
- Snes9X HOT 1
- Python quick start HOT 4
- game_over() set to True when Mario gets a Mushroom in Super Mario World HOT 6
- [Question] What is the core_file in the python example? HOT 1
- Can not get SDL display to work with python example. HOT 1
- Python3 compatability HOT 1
- Compile error HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retro-learning-environment.