Coder Social home page Coder Social logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Issue 40 has been merged into this issue.

Original comment by [email protected] on 27 Nov 2008 at 11:14

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Issue 41 has been merged into this issue.

Original comment by [email protected] on 27 Nov 2008 at 11:15

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Sound support under Linux now depends on SDL_sound, and specifically SDL_sound 
1.0.3.
 Earlier versions of SDL_sound clash with SDL_mixer when both are initialized,
causing Gargoyle to hang.

I don't think this is an OSS issue, but for now I'm grouping all Linux sound 
issues
together.  A fix is forthcoming; I plan to compile and statically link 
SDL_sound into
the Gargoyle library, to ensure that a working copy comes with the game.  (Many
distros, including Ubuntu 8.04, ship a much earlier version of SDL_sound.)

Original comment by [email protected] on 27 Nov 2008 at 11:21

  • Changed title: Garglk: sound hangs under Linux
  • Changed state: Accepted
  • Added labels: Priority-Critical, Milestone-20081122, OpSys-Linux
  • Removed labels: Priority-Medium

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024

Original comment by [email protected] on 1 Dec 2008 at 4:43

  • Added labels: Usability

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Patch + related files for static link SDL_sound build.

Original comment by [email protected] on 3 Dec 2008 at 3:44

Attachments:

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Added fix to r108.  Checking out the latest SVN code and building it should 
work now.

Original comment by [email protected] on 3 Dec 2008 at 5:57

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
[deleted comment]

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
I checked out r=108, tried jam-ing it, but
it fails for seemingly SMPEG-related errors on every terp (tadsr, frotz etc...):

build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_loop'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_clear'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_status'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_info'
build/linux.release/garglk/libgarglk.so: undefined reference to 
`SMPEG_actualSpec'
build/linux.release/garglk/libgarglk.so: undefined reference to 
`SMPEG_wantedSpec'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_play'
build/linux.release/garglk/libgarglk.so: undefined reference to 
`SMPEG_enablevideo'
build/linux.release/garglk/libgarglk.so: undefined reference to 
`ov_open_callbacks'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_raw_seek'
build/linux.release/garglk/libgarglk.so: undefined reference to 
`SMPEG_enableaudio'
build/linux.release/garglk/libgarglk.so: undefined reference to 
`SMPEG_new_rwops'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_error'
build/linux.release/garglk/libgarglk.so: undefined reference to 
`SMPEG_playAudio'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_time_seek'
build/linux.release/garglk/libgarglk.so: undefined reference to `ov_read'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_delete'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_skip'
build/linux.release/garglk/libgarglk.so: undefined reference to `SMPEG_rewind'
collect2: ld returned 1 exit status

I'm running Arch Linux, sdl, sdl_sound 1.0.3 and smpeg are installed. What is 
missing?

This is even stranger, as sdl_sound is bundled with garglk (as I just found out,
after removing arch linux's sdl_sound package (v.1.0.1-7) and compiling the 
newest
version from source and it still doesn't compile). I could have found this out 
by
reading comment 3, but that would have been too easy. :)

After running 'jam' there is a binary file
'build/linux.release/SDL_sound_static/SDL_sound_static.a' that contains the 
functions
ld is complaining about (SMPEG_error, ov_read etc.). Maybe there is just an 
include
path set wrongly or something like that? Any hints are appreciated.

Original comment by [email protected] on 4 Dec 2008 at 6:30

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
The latest round of commits should fix this (svn up).  I needed to link smpeg &
vorbisfile to garglk as well; this wasn't necessary on Ubuntu 8.10, for some 
reason
(newer gcc?).

If you delete your build directory (or at least build/linux.release/garglk) and 
try
again, things should link properly.

Original comment by [email protected] on 5 Dec 2008 at 8:05

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Yeah, now it compiles fine and the sound issue is gone. Thanks! :)

Original comment by [email protected] on 5 Dec 2008 at 9:42

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Should be corrected in the latest RC sources.

Original comment by [email protected] on 7 Dec 2008 at 5:41

  • Changed state: Fixed
  • Added labels: Milestone-20081225
  • Removed labels: Milestone-20081122

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
The latest RC sources (2008-12-25 rc2) work fine with audio.  The previous 
release I
tried would hang if I enabled audio.

Original comment by [email protected] on 11 Dec 2008 at 6:39

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 31, 2024
Excellent, thanks for your testing & feedback.

Original comment by [email protected] on 11 Dec 2008 at 3:01

from garglk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.