gnuspeech-contact
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnuspeech-contact] undefined reference to GSCurrentContext


From: fmiller
Subject: Re: [gnuspeech-contact] undefined reference to GSCurrentContext
Date: Mon, 09 Jul 2012 15:18:03 -0600


here's a better fix for GnuSpeechCLI in the file ...Frameworks/GnuSpeech/Tube/TRMSynthesizer.m
comment out the line that says
|---
#import <AppKit/NSGraphics.h>
---|
a double slash will do it:
|---
//#import <AppKit/NSGraphics.h>
---| then find the line that calls NSBeep and change it to something that doesn't require Appkit.
here's what I found:
|---
  if (sampleRateConverter->maximumSampleValue == 0)
NSBeep(); ---|

and here's what I changed it to:
|---
  if (sampleRateConverter->maximumSampleValue == 0)
NSLog(@"++++++ NSBeep is declared in Appkit/NSGraphics.h +++++++++++"); // NSBeep(); ---| I don't know what else to do in this context...I presume there's some way to send a beep to the terminal. could be better, but this worked.


Ubuntu 12.04
libgdbm3            version 1.8.3-10
libgdbm-dev         version 1.8.3-10
portaudio19-dev     version 19+svn20111121-1
libportaudio2       version 19+svn20111121-1
jackd1              version 1:0.121.0+svn4538-3ubuntu1
libjack-dev         version 1:0.121.0+svn4538-3ubuntu1
gnustep             version 7.6 (according to dpkg -s)
gnustep-back-common version 0.20.1-2ubuntu2
gnustep-base-common version 1.22.1-2ubuntu2
gnustep-gui-common  version 0.20.0-2
gnustep-make version 2.6.1-1 HTH fred_m address@hidden writes:
There's an earlier posting about an error on gentoo I just encountered the same error building gnuspeech on Ubuntu 12.04





reply via email to

[Prev in Thread] Current Thread [Next in Thread]