Page 13 of 25 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 243

Thread: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

  1. #121
    Join Date
    Apr 2008
    Location
    In front of my iMac...
    Beans
    364
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Quote Originally Posted by Snille View Post
    Hi all,
    I've been playing with the WII mote a bit, but I can't seam to be able to compile the whiteboard (Ubuntu 8.10, 64bit system). Has anyone got it to work?

    I can download the source from SVN, but the it is not possible to run the ./autogen.sh in the "linux-whiteboard-read-only".
    How ever, there is a folder called build and in there there is a "make-deb.sh", that one is possible to run but ends with an error...

    Here is the full "log". I think I may have forgotten something, but I don't know what...
    Let me know if anyone have any ideas...

    Code:
    snille@edge:~/linux-whiteboard-read-only/build$ sudo ./make-deb.sh 
    [sudo] password for snille: 
    Merging translations into ../src/whiteboard.desktop.
    dpkg-buildpackage: warning: using a gain-root-command while being root
    dpkg-buildpackage: set CFLAGS to default value: -g -O2
    dpkg-buildpackage: set CPPFLAGS to default value: 
    dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
    dpkg-buildpackage: set FFLAGS to default value: -g -O2
    dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
    dpkg-buildpackage: source package whiteboard
    dpkg-buildpackage: source version 0.3.4.2-0ubuntu1
    dpkg-buildpackage: source changed by VAnhTu1987 <VAnhTu1987@gmail.com>
    dpkg-buildpackage: host architecture amd64
     fakeroot debian/rules clean
    dh_testdir
    dh_testroot
    rm -f build-stamp 
    # Add here commands to clean up after the build process.
    #/usr/bin/make clean
    dh_clean 
     debian/rules build
    dh_testdir
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- 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
    -- checking for module 'gtkmm-2.4'
    --   found gtkmm-2.4, version 2.14.1
    -- checking for module 'libglademm-2.4'
    --   found libglademm-2.4, version 2.6.6
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/snille/linux-whiteboard-read-only/build
    dh_testdir
    # Add here commands to compile the package.
    /usr/bin/make -j2
    make[1]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
    make[2]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
    make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
    make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
    Scanning dependencies of target translations
    make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
    Scanning dependencies of target whiteboard
    make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
    make[3]: *** No rule to make target `../ALL', needed by `ALL.gmo'.  Stop.
    make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
    make[2]: *** [CMakeFiles/translations.dir/all] Error 2
    make[2]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
    make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
    [ 10%] [ 10%] Building CXX object src/CMakeFiles/whiteboard.dir/common.cpp.o
    Building CXX object src/CMakeFiles/whiteboard.dir/main.cpp.o
    [ 15%] Building CXX object src/CMakeFiles/whiteboard.dir/auxiliary.cpp.o
    [ 21%] Building CXX object src/CMakeFiles/whiteboard.dir/events.cpp.o
    [ 26%] Building CXX object src/CMakeFiles/whiteboard.dir/ConfigFileParser.cpp.o
    [ 31%] Building CXX object src/CMakeFiles/whiteboard.dir/configurator.cpp.o
    [ 36%] Building CXX object src/CMakeFiles/whiteboard.dir/irfilter.cpp.o
    [ 42%] Building CXX object src/CMakeFiles/whiteboard.dir/calibration.cpp.o
    [ 47%] Building CXX object src/CMakeFiles/whiteboard.dir/wiicontrol.cpp.o
    /home/snille/linux-whiteboard-read-only/src/wiicontrol.cpp: In function ‘cwiid_wiimote_t* wii_connect(char*)’:
    /home/snille/linux-whiteboard-read-only/src/wiicontrol.cpp:45: warning: taking address of temporary
    [ 52%] Building CXX object src/CMakeFiles/whiteboard.dir/wiicursor.cpp.o
    [ 57%] Building CXX object src/CMakeFiles/whiteboard.dir/gtk-gui.cpp.o
    [ 63%] Building CXX object src/CMakeFiles/whiteboard.dir/wiicursormanager.cpp.o
    Linking CXX executable ../bin/whiteboard
    make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
    [ 63%] Built target whiteboard
    make[2]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
    make: *** [build-stamp] Error 2
    dpkg-buildpackage: failure: debian/rules build gave error exit status 2
    snille@edge:~/linux-whiteboard-read-only/build$
    Any ideas?
    As I stated before, I'm not familiar with the whiteboard, but looking at your log.....Have you installed the package called: build-essential ?...

    Code:
    sudo apt-get install build-essential
    I'm really not sure if the whiteboard is working on Intrepid 64...I'm sorry. But you might want to check if you have that package installed. Report back if it worked !
    7$]-[!8@\|//\Rr!0|2!!!
    =D>
    My Little Ubuntu Blog!

  2. #122
    Join Date
    Feb 2007
    Location
    Sweden
    Beans
    11
    Distro
    Hardy Heron (Ubuntu Development)

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Hi again,
    I read in the thread that you where not "in" to the whiteboard things...
    Thank you for your replay anyway, and yes I had/have the essentials packet installed and also the "cmake" packet that is needed for the "make-deb.sh" to get as far as it gets. How ever I noticed that I get the same error on my 32bit machine. So maybe it's something else that's broke?

    On the 32bit machine however the .deb worked without problems anyway. So the software works.

    Just wanted to check if someone knew some trix...
    //Snille - If you can't find it, make it!

  3. #123
    Join Date
    Feb 2007
    Location
    New Jersey, USA
    Beans
    318

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Does anyone know if a configuration file can specify multiple buttons, like KEY_CTRL+KEY_UP or KEY_CTRL,KEY_UP
    Disclaimer: All of my advice is guaranteed without exception to work. If you find my advice unsatisfactory, you didn't do it right.

  4. #124
    Join Date
    Apr 2008
    Location
    In front of my iMac...
    Beans
    364
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Quote Originally Posted by Meson View Post
    Does anyone know if a configuration file can specify multiple buttons, like KEY_CTRL+KEY_UP or KEY_CTRL,KEY_UP
    As far as I've tested no...Only XWii does that...I haven't been able to test XWii because it gives me a 1,000 errors...ugh! I need to go deeper into the process of compiling it...

    Anyways, it is the only way to sync multiple buttons to a single wiimote button. As I said, it also let's you launch programs and scripts...Check it out! !
    7$]-[!8@\|//\Rr!0|2!!!
    =D>
    My Little Ubuntu Blog!

  5. #125
    Join Date
    Sep 2006
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Thanks for this howto.

    I have the WiiMote up and working, and the Classic Controller working also. Is there a way to map the analog joysticks on the classic controller? Even digitally?

    Thanks.

  6. #126
    Join Date
    Aug 2006
    Location
    Australia
    Beans
    1,438

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Quote Originally Posted by vulcanfk View Post
    Thanks for this howto.

    I have the WiiMote up and working, and the Classic Controller working also. Is there a way to map the analog joysticks on the classic controller? Even digitally?

    Thanks.
    I'm really sleepy at the moment, so I won't say much, as it may just be wrong or misleading.

    But from memory it is possible to map one of the analog joysticks to be a mouse / standard joystick.
    It may be possible to map the other to be similar to a D pad I think.

    I'll add this to the list of things to try out with my wiimote + classic controller this weekend (I'm trying out XWii in 8.10 too).

    Keep your eyes on this thread vulcanfk
    Work smart, not hard.

  7. #127
    Join Date
    Jul 2006
    Location
    Calgary, Alberta
    Beans
    1,123
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    2 more questions from me:

    1. Will this work with programs running in WINE? More specifically, Day Of Defeat from Steam which runs on the Halflife 2 engine.
    2. Can I map the joystick on the nunchuck to work like the left, right, up, down keys on the keyboard?

  8. #128
    Join Date
    Sep 2006
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Quote Originally Posted by Rhubarb View Post
    I'm really sleepy at the moment, so I won't say much, as it may just be wrong or misleading.

    But from memory it is possible to map one of the analog joysticks to be a mouse / standard joystick.
    It may be possible to map the other to be similar to a D pad I think.

    I'll add this to the list of things to try out with my wiimote + classic controller this weekend (I'm trying out XWii in 8.10 too).

    Keep your eyes on this thread vulcanfk
    Thanks Rhubarb. I'll also poke around some more and see if I can find anything. I'm subscribed to this thread so I don't miss any updates

  9. #129
    Join Date
    Jul 2006
    Location
    Calgary, Alberta
    Beans
    1,123
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    I just installed 64 bit 8.1 on a new hard drive and had to set this up again....with a problem. I type the infrared command into the Terminal and it connects, then my Wiimote works as an infrared mouse perfectly. Then it exits for some reason 5 seconds later and I have to do it again. It won't stay connected for more than 5 seconds. Here's the Terminal output:

    deemar@Chugger:~$ sudo wminput -c ir_ptr 00:17:AB:23:A3:49
    Put Wiimote in discoverable mode now (press 1+2)...
    Ready.
    Exiting.
    deemar@Chugger:~$

  10. #130
    Join Date
    Jul 2006
    Location
    Calgary, Alberta
    Beans
    1,123
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Quote Originally Posted by Maheriano View Post
    I just installed 64 bit 8.1 on a new hard drive and had to set this up again....with a problem. I type the infrared command into the Terminal and it connects, then my Wiimote works as an infrared mouse perfectly. Then it exits for some reason 5 seconds later and I have to do it again. It won't stay connected for more than 5 seconds. Here's the Terminal output:
    Nevermind, the batteries got weak from not turning the Wiimote off between uses. Should add that to the troubleshooting guide.

Page 13 of 25 FirstFirst ... 3111213141523 ... LastLast

Tags for this Thread

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
  •