Jump to content

256a-fall-2009/iFAQ: Difference between revisions

From CCRMA Wiki
Line 12: Line 12:


g++ -D__MACOSX_CORE__ -c HelloSine.cpp
g++ -D__MACOSX_CORE__ -c HelloSine.cpp
In file included from HelloSine.cpp:1:
In file included from HelloSine.cpp:1:
RtAudio.h:626:37: error: CoreAudio/AudioHardware.h: No such file or directory
RtAudio.h:626:37: error: CoreAudio/AudioHardware.h: No such file or directory
In file included from HelloSine.cpp:1:
In file included from HelloSine.cpp:1:
RtAudio.h:648: error: ‘AudioDeviceID’ has not been declared
RtAudio.h:648: error: ‘AudioDeviceID’ has not been declared
make: *** [HelloSine.o] Error 1
make: *** [HelloSine.o] Error 1


-Jesse
-Jesse

Revision as of 18:42, 30 September 2009

Music 256a | Fall 2009 | (in)Frequently Asked Questions

  • please post any 256a-related questions here (we are watching this page), we will answer either in email or on this page


Questions

  • (example) should I post potentially infrequently asked questions here? (ge)
    • reply: yes (ge)


  • I am unable to compile the example "hellosine" from the web page on the computers in the ccrma computer lab. I get the errors:

g++ -D__MACOSX_CORE__ -c HelloSine.cpp

In file included from HelloSine.cpp:1:

RtAudio.h:626:37: error: CoreAudio/AudioHardware.h: No such file or directory

In file included from HelloSine.cpp:1:

RtAudio.h:648: error: ‘AudioDeviceID’ has not been declared

make: *** [HelloSine.o] Error 1

-Jesse