|
Post by kinghanco on Jun 28, 2007 4:52:24 GMT -5
I will skip making one. I don't know how I be able to make one on Linux. It will be too hard to do.
Anyway if one of you ever make one then please send it to everyone at this forum.
I'm off to bed. Good night.
|
|
|
Post by Ultima on Jun 28, 2007 8:31:18 GMT -5
|
|
|
Post by patrickp on Jun 28, 2007 13:10:49 GMT -5
@mika: some of us have _honest_ jobs and don't have all day to muck about with computers! 0:)
|
|
|
Post by kinghanco on Aug 5, 2007 1:11:16 GMT -5
I download all the packages and I get some errors.
Oh yea. 0.022 is released!
- x-dev - libgtk2.0-dev - libao-dev - nasm - g++
mitchell@pc-desktop:~$ cd /home/mitchell/Games/BSNES/src mitchell@pc-desktop:~/Games/BSNES/src$ ./cc.sh g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c ui/main.cpp -o main.o In file included from ui/lui/../video/xv.cpp:1, from ui/lui/ui.cpp:20, from ui/lui/main.cpp:18, from ui/main.cpp:26: ui/lui/../video/xv.h:6:31: error: X11/extensions/Xv.h: No such file or directory ui/lui/../video/xv.h:7:34: error: X11/extensions/Xvlib.h: No such file or directory ui/lui/../video/xv.h:10: error: expected constructor, destructor, or type conversion before ‘*’ token ui/lui/../video/xv.h:16: error: ISO C++ forbids declaration of ‘XvImage’ with no type ui/lui/../video/xv.h:16: error: expected ‘;’ before ‘*’ token ui/lui/../video/xv.cpp: In member function ‘virtual void VideoXv::refresh(uint, uint)’: ui/lui/../video/xv.cpp:27: error: ‘xvimage’ was not declared in this scope ui/lui/../video/xv.cpp:46: error: ‘XvShmPutImage’ was not declared in this scope ui/lui/../video/xv.cpp: In constructor ‘VideoXv::VideoXv(long unsigned int)’: ui/lui/../video/xv.cpp:106: error: ‘XvAdaptorInfo’ was not declared in this scope ui/lui/../video/xv.cpp:106: error: ‘adaptor_info’ was not declared in this scope ui/lui/../video/xv.cpp:108: error: ‘XvQueryAdaptors’ was not declared in this scope ui/lui/../video/xv.cpp:111: error: ‘XvInputMask’ was not declared in this scope ui/lui/../video/xv.cpp:111: error: ‘XvImageMask’ was not declared in this scope ui/lui/../video/xv.cpp:116: error: ‘XvFreeAdaptorInfo’ was not declared in this scope ui/lui/../video/xv.cpp:121: error: ‘XvSetPortAttribute’ was not declared in this scope ui/lui/../video/xv.cpp:125: error: ‘xvimage’ was not declared in this scope ui/lui/../video/xv.cpp:125: error: ‘XvShmCreateImage’ was not declared in this scope make: *** [main.o] Error 1 mitchell@pc-desktop:~/Games/BSNES/src$
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 5, 2007 2:31:05 GMT -5
100%, nice.
|
|
|
Post by patrickp on Aug 5, 2007 5:55:52 GMT -5
You should use sudo for compiling and installing, kinghanco.
|
|
|
Post by kinghanco on Aug 5, 2007 8:07:13 GMT -5
Huh?
I install those package from Synaptic Package Manager. I didn't have a problem installing package for FBASDL So I shouldn't have a problem on BSNES as well.
Same errors on sudo ./cc.sh.
==================
Trash it and gone. I will no longer mess with that Linux version.
|
|
|
Post by Ultima on Aug 5, 2007 21:42:52 GMT -5
sudo shouldn't be needed for any kind of compiling, really. As for the other errors... you might need to install libxv-dev... Perhaps x-dev (which is the deprecated version of x11proto-core-dev anyway) doesn't install libxv-dev as I expected? I can't confirm that, as I don't have a copy of Ubuntu installed to mess around with at the moment.
|
|
|
Post by kinghanco on Aug 6, 2007 23:10:47 GMT -5
Yay it works. I download the missing file. >>> libxv-dev
mitchell@pc-desktop:~$ cd /home/mitchell/Games/BSNES/src mitchell@pc-desktop:~/Games/BSNES/src$ ./cc.sh g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c ui/main.cpp -o main.o nasm -f elf lib/libco_x86.asm -o libco_x86.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c lib/libui_gtk.cpp -o libui_gtk.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c lib/libstring.cpp -o libstring.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c reader/reader.cpp -o reader.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c cart/cart.cpp -o cart.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c cheat/cheat.cpp -o cheat.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c memory/memory.cpp -o memory.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c memory/bmemory/bmemory.cpp -o bmemory.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c cpu/cpu.cpp -o cpu.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c cpu/scpu/scpu.cpp -o scpu.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c smp/smp.cpp -o smp.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c smp/ssmp/ssmp.cpp -o ssmp.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c dsp/bdsp/bdsp.cpp -o bdsp.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c ppu/ppu.cpp -o ppu.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c ppu/bppu/bppu.cpp -o bppu.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c snes/snes.cpp -o snes.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c chip/srtc/srtc.cpp -o srtc.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c chip/sdd1/sdd1.cpp -o sdd1.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c chip/c4/c4.cpp -o c4.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c chip/dsp1/dsp1.cpp -o dsp1.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c chip/dsp2/dsp2.cpp -o dsp2.o g++ -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` -c chip/obc1/obc1.cpp -o obc1.o g++ -obsnes -O3 -fomit-frame-pointer -ffast-math -DPLATFORM_X -DCOMPILER_GCC -DPROCESSOR_X86 -DUI_LUI `pkg-config --cflags gtk+-2.0` main.o libco_x86.o libui_gtk.o libstring.o reader.o cart.o cheat.o memory.o bmemory.o cpu.o scpu.o smp.o ssmp.o bdsp.o ppu.o bppu.o snes.o srtc.o sdd1.o c4.o dsp1.o dsp2.o obc1.o `pkg-config --libs gtk+-2.0` -lXv -lao mitchell@pc-desktop:~/Games/BSNES/src$
|
|
|
Post by kinghanco on Aug 7, 2007 1:24:07 GMT -5
Hmmm... All my controllers won't work on this. Only X-Arcade can work on this. Maybe byuu didn't add controllers support yet? Controller port A and B is disabled on the BSNES. Anyone can contact byuu and send him to me?
|
|
|
Post by patrickp on Aug 7, 2007 1:39:42 GMT -5
You could try joy2key (in the repositories), kinghanco. That allows you to map your controller buttons to keyboard keys, which would seem to be already configured.
|
|
|
Post by kinghanco on Aug 7, 2007 2:57:54 GMT -5
Too old I think. mitchell@pc-desktop:~$ joy2key joy2key - reads joystick status and dispatches keyboard events By Peter Amstutz (tetron@interreality.org) This is free software under the GNU General Public License (GPL v2) (see COPYING in the joy2key archive) You are welcome to use/modify this code, and please e-mail me if anything cool comes of it! Version: 1.6.1 Binary built on Jan 26 2007 at 16:32:50
Error opening /dev/js0! Are you sure you have joystick support in your kernel? mitchell@pc-desktop:~$ I found a report. Copy and paste. The url code isn't working. www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg153855.html
|
|
byuu
New Member
Posts: 7
|
Post by byuu on Aug 7, 2007 8:50:54 GMT -5
Controller port A and B at the top will be used in the future. It's basically to switch the controllers the emulated SNES thinks it has connected to it. The idea was to add eight or so joypad mappings, then you can switch between them, or use Multitap to use joypad mappings 1-4 or 5-8. Or just to have fun and switch between your keyboard and gamepad without having to remap everything. But, no go yet on that, so they're disabled.
As for controller support, I only have that under Windows. I don't want to make bsnes dependent on the god-awful SDL just for controllers, which is probably the only thing that library can do right.
|
|
|
Post by patrickp on Aug 7, 2007 12:59:00 GMT -5
Error opening /dev/js0! Are you sure you have joystick support in your kernel? mitchell@pc-desktop:~$ Your first controller is found at /dev/input/js0 kinghanco. This is a common cause of people thinking their controllers don't work in Ubuntu. You need to change the path to where the program looks for it. Edit: and you want to enclose your link in [url] [/url] brackets - you'd have spotted that if you bothered to proofread your posts!
|
|
|
Post by kinghanco on Aug 7, 2007 13:09:24 GMT -5
I do not like joy2key. The only work one button only and quit working. I couldn't get it to come back up or reset. There are many problems with it. There not even a menu. Just a black crappy box.
I will wait on controllers support and then try again.
|
|