Ubuntu rules; LTris sucks; Gnometris blows.

Thread in 'Discussion' started by tepples, 7 Nov 2008.

  1. You have to "make clean" before trying to build again, as your old .o's are still there. New .o's need to be remade before the executable can be linked.
     
  2. jujube

    jujube Unregistered

    thanks again, it worked this time. well, it compiled without errors except for this:
    Code:
    src/ljpath.c:61: warning: makeFolder defined but not used
    and the only file created was the lj x-executable. i then downloaded the windows binary, extracted it into its own folder, and put the x-exe in that folder. the game runs but there's no sound.
     
  3. tepples

    tepples Lockjaw developer

    Thanks. Noted system requirements: GCC 3.4 through 4.2.

    If I ever make a version 0.47, I'll be switching to LJpeg, my wrapper around libjpeg, so that I don't block non-x86 platforms. This should help once Cortex netbooks and the Pandora PDA come out.

    This should have been documented. Thanks. But by "no sound" do you mean no sound effects, no music, or neither? If you install the Allegro demo, does that make a sound? Do you have sound.dat or bgm.s3m handy?
     
  4. jujube

    jujube Unregistered

    i do have sound.dat and bgm.s3m. i installed allegro-demo but i get these errors in the terminal window when i run it:
    Code:
    ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory
    ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory
    as well as this xmessage:
    Code:
    Error initialising sound
    ALSA: snd_pcm_hw_params_set_format(pcm_handle, hwparams, format) : Invalid argument
    i was able to play midi in Totem after downloading the necessary Gstreamer plugin, and i can play s3m in Audacious, but i still don't hear and music or sound effects in Lockjaw. so i guess this is an Allegro problem, but i have liballegro4.2 version 2:4.2.2-2 as well as these libraries:
    Code:
    libaldmb1 version 1:0.9.3-5.1
    libdumb1 version 1:0.9.3-5.1
    libvorbisfile3 version 1.2.0.dfsg-3.1
    libvorbis0a version 1.2.0.dfsg-3.1
    libogg version 1.1.3-4build1
    
    edit: forgot to mention i have libasound2 version 1.0.17a-Oubuntu4 (ALSA library).
     
  5. That may have been the problem when I tried to compile your version of it in Ubuntu. For comparison, 8.04 (which I had managed to compile it with previously) uses GCC 4.2.4-1ubuntu3 (with all of the updates installed, at least).

    Any idea what 4.3 changed/broke?
     
  6. jujube

    jujube Unregistered

  7. tepples

    tepples Lockjaw developer

  8. Muf

    Muf

    Another one bites the dust...
     
  9. Good thing Texmaster works.
     
  10. Anonymous

    Anonymous Unregistered

    GCC 4.3

    I had the same trouble and found that GCC 4.3 is ok: it will compile such code with -fgnu89-inline option.

    look here -> http://gcc.gnu.org/gcc-4.3/porting_to.html
     

Share This Page