Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 01-03-2011, 03:44 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 3
vizcayno_arnlee is on a distinguished road
Red face How to embed the SpeakHere sample code to my new App?

I have a problem on using the sample code SpeakHere by Apple sample. the sample is working and i've tested it but when i try to use it for my application, i've got a lot of errors that i don't know how to fix them.

Can somebody help me how to use it?

I am current making an app that records audio and play it afterwards.
vizcayno_arnlee is offline   Reply With Quote
Old 01-03-2011, 04:22 AM   #2 (permalink)
- U haz disappoint -
 
Join Date: Jan 2010
Location: Belgium
Posts: 489
jNoxx is on a distinguished road
Send a message via MSN to jNoxx Send a message via Skype™ to jNoxx
Default

At least post some code then please?
Or errors, what u try to do, where it goes wrong.
We are not wizards harry!
jNoxx is offline   Reply With Quote
Old 01-09-2012, 10:20 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 8
ewpaus@pobox.com is on a distinguished road
Default

Quote:
Originally Posted by jNoxx View Post
At least post some code then please?
Or errors, what u try to do, where it goes wrong.
We are not wizards harry!
Hi,
I'm having the same problem. I added the SpeakHere folder to my project. When I try to compile, I get many, many errors. Here are the first dozen or so...

CompileC /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Objects-normal/i386/AQLevelMeter.o SpeakHere/AudioViews/AQLevelMeter.mm normal i386 objective-c++ com.apple.compilers.llvmgcc42
cd /Users/epaus/iPhone/StanfordFall10/Projects/Timers
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -DDEBUG -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -fvisibility-inlines-hidden -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -iquote /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-generated-files.hmap -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-own-target-headers.hmap -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-all-target-headers.hmap -iquote /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-project-headers.hmap -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Products/Debug-iphonesimulator/include -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/DerivedSources/i386 -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/DerivedSources -F/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Products/Debug-iphonesimulator -include /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/PrecompiledHeaders/Timers-Prefix-aujvzwpmxddowebiawegribwlgbv/Timers-Prefix.pch -c /Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm -o /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Objects-normal/i386/AQLevelMeter.o

In file included from /Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAXException.h:60,
from /Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.h:56,
from /Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm:51:
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CADebugMacros.h:95:29: error: CADebugPrintf.h: No such file or directory
In file included from /Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm:56:
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h: In member function 'bool CAStreamBasicDescription::PackednessIsSignificant( ) const':
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h:129: error: 'DebugPrintfFileComma' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h:129: error: 'DebugPrintfRtn' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h: In member function 'UInt32 CAStreamBasicDescription::BytesToFrames(UInt32) const':
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h:153: error: 'DebugPrintfFileComma' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h:153: error: 'DebugPrintfRtn' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h: In member function 'void CAStreamBasicDescription::ChangeNumberChannels(UIn t32, bool)':
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h:236: error: 'DebugPrintfFileComma' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/iPublicUtility/CAStreamBasicDescription.h:236: error: 'DebugPrintfRtn' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm: In function 'void -[AQLevelMeter setAq:](AQLevelMeter*, objc_selector*, OpaqueAudioQueue*)':
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm:309: error: 'DebugPrintfFileComma' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm:309: error: 'DebugPrintfRtn' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm:314: error: 'DebugPrintfFileComma' was not declared in this scope
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/AQLevelMeter.mm:314: error: 'DebugPrintfRtn' was not declared in this scope


CompileC /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Objects-normal/i386/LevelView.o SpeakHere/AudioViews/LevelView.m normal i386 objective-c com.apple.compilers.llvmgcc42
cd /Users/epaus/iPhone/StanfordFall10/Projects/Timers
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -DDEBUG -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -iquote /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-generated-files.hmap -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-own-target-headers.hmap -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-all-target-headers.hmap -iquote /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Timers-project-headers.hmap -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Products/Debug-iphonesimulator/include -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/DerivedSources/i386 -I/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/DerivedSources -F/Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Products/Debug-iphonesimulator -include /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/PrecompiledHeaders/Timers-Prefix-btdiyptdroxeypftumzltklmquww/Timers-Prefix.pch -c /Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/LevelView.m -o /Users/epaus/Library/Developer/Xcode/DerivedData/Timers-bkkyughkpmzypcagdcxjwpifkwkw/Build/Intermediates/Timers.build/Debug-iphonesimulator/Timers.build/Objects-normal/i386/LevelView.o

In file included from /Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/LevelView.m:9:
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/LevelView.h:13: error: expected specifier-qualifier-list before 'AQLevelMeter'
/Users/epaus/iPhone/StanfordFall10/Projects/Timers/SpeakHere/AudioViews/LevelView.h:14: error: expected specifier-qualifier-list before 'AQLevelMeter'


Is there a defined procedure for how you add one project to another project? I have tried to google the problem, but I can find nothing. I'm sure I'm not using the correct terminology. I would appreciate any guidance you have to offer.

Thank you for your help.
-Estelle
ewpaus@pobox.com is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 398
17 members and 381 guests
Brandt, coolman, fredidf, Free App Monster, givensur, iAppDeveloper, jbro, Kryckter, locombiano89, Mah6447, Meoz, simplymuzik3, SLIC, stanny, stevenkik, Tomsky, WeaselPig
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,646
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, locombiano89
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:50 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0