Page 4 of 26 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 255

Thread: HOWTO: Install (G)FCEUX 2.0 NES emulator

  1. #31
    Join Date
    Aug 2008
    Beans
    13

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    Has anyone tried and successfully gotten it to compile on PPC? I tried but I don't know how scons works, I'm more of a makefile type of guy. Here is the output of the error:
    Code:
    src/nsf.cpp: In function 'void NSFGI(GI)':
    src/nsf.cpp:128: warning: enumeration value 'GI_RESETSAVE' not handled in switch
    src/nsf.cpp: In function 'void DrawNSF(uint8*)':
    src/nsf.cpp:467: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:468: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:491: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:492: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:510: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:511: warning: converting to 'uint32' from 'double'
    g++ -o src/palette.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/palette.cpp
    src/palette.cpp: In function 'void SetNESDeemph(uint8, int)':
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    g++ -o src/ppu.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/ppu.cpp
    src/ppu.cpp: In member function 'void PPUREGS::install_h_latches()':
    src/ppu.cpp:131: warning: unused variable 'zzz'
    src/ppu.cpp: In function 'void B2006(uint32, uint8)':
    src/ppu.cpp:623: warning: unused variable 'zzz'
    src/ppu.cpp:628: warning: unused variable 'zzz'
    src/ppu.cpp: In function 'void B2007(uint32, uint8)':
    src/ppu.cpp:649: warning: unused variable 'zzz'
    src/ppu.cpp:652: warning: unused variable 'zzz'
    g++ -o src/sound.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/sound.cpp
    src/sound.cpp: In function 'void SetSoundVariables()':
    src/sound.cpp:1149: warning: converting to 'uint32' from 'double'
    src/sound.cpp:1155: warning: converting to 'uint32' from 'double'
    g++ -o src/state.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/state.cpp
    src/state.cpp: In function 'int SubWrite(std::ostream*, SFORMAT*)':
    src/state.cpp:121: error: invalid conversion from 'void*' to 'uint8*'
    src/state.cpp:121: error:   initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
    src/state.cpp:132: error: invalid conversion from 'void*' to 'uint8*'
    src/state.cpp:132: error:   initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
    src/state.cpp: In function 'bool ReadStateChunk(std::istream*, SFORMAT*, int)':
    src/state.cpp:200: error: invalid conversion from 'void*' to 'uint8*'
    src/state.cpp:200: error:   initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
    scons: *** [src/state.o] Error 1
    scons: building terminated because of errors.

  2. #32
    Join Date
    Dec 2004
    Beans
    282

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    Quote Originally Posted by juanmoreno92 View Post
    Has anyone tried and successfully gotten it to compile on PPC? I tried but I don't know how scons works, I'm more of a makefile type of guy. Here is the output of the error:
    Code:
    src/nsf.cpp: In function 'void NSFGI(GI)':
    src/nsf.cpp:128: warning: enumeration value 'GI_RESETSAVE' not handled in switch
    src/nsf.cpp: In function 'void DrawNSF(uint8*)':
    src/nsf.cpp:467: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:468: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:491: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:492: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:510: warning: converting to 'uint32' from 'double'
    src/nsf.cpp:511: warning: converting to 'uint32' from 'double'
    g++ -o src/palette.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/palette.cpp
    src/palette.cpp: In function 'void SetNESDeemph(uint8, int)':
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:99: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:100: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    src/palette.cpp:101: warning: converting to 'uint16' from 'double'
    g++ -o src/ppu.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/ppu.cpp
    src/ppu.cpp: In member function 'void PPUREGS::install_h_latches()':
    src/ppu.cpp:131: warning: unused variable 'zzz'
    src/ppu.cpp: In function 'void B2006(uint32, uint8)':
    src/ppu.cpp:623: warning: unused variable 'zzz'
    src/ppu.cpp:628: warning: unused variable 'zzz'
    src/ppu.cpp: In function 'void B2007(uint32, uint8)':
    src/ppu.cpp:649: warning: unused variable 'zzz'
    src/ppu.cpp:652: warning: unused variable 'zzz'
    g++ -o src/sound.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/sound.cpp
    src/sound.cpp: In function 'void SetSoundVariables()':
    src/sound.cpp:1149: warning: converting to 'uint32' from 'double'
    src/sound.cpp:1155: warning: converting to 'uint32' from 'double'
    g++ -o src/state.o -c -Wall -Wno-write-strings -Wno-sign-compare -O2 -DHAVE_ASPRINTF -DPSS_STYLE=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_S9XLUA_H -DFRAMESKIP -I/usr/include/SDL -I/usr/local/include/lua -I/usr/include/lua src/state.cpp
    src/state.cpp: In function 'int SubWrite(std::ostream*, SFORMAT*)':
    src/state.cpp:121: error: invalid conversion from 'void*' to 'uint8*'
    src/state.cpp:121: error:   initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
    src/state.cpp:132: error: invalid conversion from 'void*' to 'uint8*'
    src/state.cpp:132: error:   initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
    src/state.cpp: In function 'bool ReadStateChunk(std::istream*, SFORMAT*, int)':
    src/state.cpp:200: error: invalid conversion from 'void*' to 'uint8*'
    src/state.cpp:200: error:   initializing argument 1 of 'void FlipByteOrder(uint8*, uint32)'
    scons: *** [src/state.o] Error 1
    scons: building terminated because of errors.
    What version of fceux are you trying to compile?

    What version of gcc are you using ? (output of gcc -v)



    And no, I'm not aware of any recent successful compilations on the PPC architecture so I'm not sure if it will even compile (everyone coding is runnign on x86 or x64)

  3. #33
    Join Date
    Aug 2008
    Beans
    13

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    Quote Originally Posted by punkrockguy318 View Post
    What version of fceux are you trying to compile?

    What version of gcc are you using ? (output of gcc -v)



    And no, I'm not aware of any recent successful compilations on the PPC architecture so I'm not sure if it will even compile (everyone coding is runnign on x86 or x64)
    I am compiling the 2.0.3 version. In the changelog it states that it had issues with compiling on PPC and they have been fixed. The version of GCC I am using is 4.1.2.

  4. #34
    Join Date
    Dec 2004
    Beans
    282

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    Quote Originally Posted by juanmoreno92 View Post
    I am compiling the 2.0.3 version. In the changelog it states that it had issues with compiling on PPC and they have been fixed. The version of GCC I am using is 4.1.2.
    I have no PPC machines to test, so all I can really suggest is try compiling the latest subversion and filing a bug report if it doesn't compile

  5. #35
    Join Date
    Aug 2008
    Beans
    13

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    Ok I was able to get fceux to compile successfully using the subversion. It showed a ton of warnings but it still compiled. I was able to confirm that it worked by launching Super Mario Brothers from the commandline. Now the problem now is that the graphical frontend won't come up. I type gfceux in the terminal and this is what I get:
    Code:
    [Juan@CELL ~]$ gfceux
    Traceback (most recent call last):
      File "/usr/local/bin/gfceux", line 32, in ?
        from config_parse import FceuxConfigParser
    ImportError: No module named config_parse
    [Juan@CELL ~]$ Super Mario Brothers.zip
    NOTE: I am doing the compiling on my PS3 since it's main core is based on the PPC architecture lol. It still acts as a full PPC computer though.
    Last edited by juanmoreno92; December 30th, 2008 at 10:53 PM.

  6. #36
    Join Date
    Dec 2004
    Beans
    282

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    Quote Originally Posted by juanmoreno92 View Post
    Ok I was able to get fceux to compile successfully using the subversion. It showed a ton of warnings but it still compiled. I was able to confirm that it worked by launching Super Mario Brothers from the commandline. Now the problem now is that the graphical frontend won't come up. I type gfceux in the terminal and this is what I get:
    Code:
    [Juan@CELL ~]$ gfceux
    Traceback (most recent call last):
      File "/usr/local/bin/gfceux", line 32, in ?
        from config_parse import FceuxConfigParser
    ImportError: No module named config_parse
    [Juan@CELL ~]$ Super Mario Brothers.zip
    NOTE: I am doing the compiling on my PS3 since it's main core is based on the PPC architecture lol. It still acts as a full PPC computer though.
    yeah there are some issues with the setup.py install script right now. try running directly out of the archive with just ./gfceux in the gfceux directory

    i need to fix that, thanks for bringing that to my attention

  7. #37
    Join Date
    Aug 2008
    Beans
    13

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    No prob. Thank you for the great emulator.

  8. #38
    Join Date
    Dec 2008
    Beans
    50
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    I followed the instructions on the first page but just get this error when i try and run gfceux:

    gfceux error code 4: Could not find the fceux binary.
    Ensure that fceux is installed and in the $PATH.

  9. #39
    Join Date
    Jan 2009
    Beans
    1

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    You forgot to install built-essential

    type
    Code:
     sudo apt-get install build-essential
    and then do the steps on page 1 again.


    But how can I activate hq3x?
    adding -special 3 won't do the trick

  10. #40
    Join Date
    Dec 2004
    Beans
    282

    Re: HOWTO: Install (G)FCEUX 2.0 NES emulator

    Quote Originally Posted by C|Y|R|U|S View Post
    You forgot to install built-essential

    type
    Code:
     sudo apt-get install build-essential
    and then do the steps on page 1 again.


    But how can I activate hq3x?
    adding -special 3 won't do the trick
    all of the fceux options take two dashes so try --special 3

    a little change from fceu but its more consistant

Page 4 of 26 FirstFirst ... 2345614 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •