<b><span style="font-family: arial,helvetica,sans-serif;">Hi, everyone<br>I just downloaded the Clam library, followed all the instructions to install it into my Ubuntu 8.04. </span><br style="font-family: arial,helvetica,sans-serif;">
<br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">When I pasted the code on the web <a href="http://www.clam.iua.upf.edu/wikis/clam/index.php/Constructing_and_playing_a_simple_network">http://www.clam.iua.upf.edu/wikis/clam/index.php/Constructing_and_playing_a_simple_network</a>, to make sure that everything set. </span></b><br style="font-family: arial,helvetica,sans-serif;">
<pre style="font-family: arial,helvetica,sans-serif;">#include <CLAM/Network.hxx><br>#include <CLAM/PANetworkPlayer.hxx><br>#include <CLAM/MonoAudioFileReader.hxx><br><br>int error(const std::string & msg)<br>
{<br> std::cerr << msg << std::endl;<br> return -1;<br>}<br><br>int main(int argc, char ** argv)<br>{<br> if (argc!=2) return error ("needs a filename.");<br><br> CLAM::Network network;<br> <br> std::string reader = network.AddProcessing("MonoAudioFileReader");<br>
// Configure the reader<br> CLAM::MonoAudioFileReaderConfig cfg;<br> cfg.SetSourceFile(argv[1]);<br> if (!network.ConfigureProcessing(reader, cfg))<br> return error("Could not open the file");<br> int length = ((CLAM::MonoAudioFileReader &) network.GetProcessing(reader)).GetHeader().GetLength()/1000;<br>
<br> // Add an audio sink and connect its input to the reader's output<br> std::string sink = network.AddProcessing("AudioSink");<br> network.ConnectPorts(reader+".Samples Read", sink+".AudioIn");<br>
<br> // Set the audio backend to PortAudio<br> network.SetPlayer(new CLAM::PANetworkPlayer);<br> network.Start();<br> sleep(length);<br> network.Stop();<br>}<br></pre><br style="font-family: arial,helvetica,sans-serif;"><b><span style="font-family: arial,helvetica,sans-serif;">but it gave me a error like below, when i compiled it.</span></b><br style="font-family: arial,helvetica,sans-serif;">
<pre style="font-family: arial,helvetica,sans-serif;">/usr/local/include/CLAM/AudioFileFormats.hxx:26:2: error: #error<br>USE_SNDFILE was not set to 1 in your settings.cfg file, but you are<br>including files that require this. Please fix your settings.cfg<br>
<b><br>then I modified the audiofileformats.hxx , comment the those lines.<br><br>then I compiled myfirstclam.cpp again, it return those errors below:<br></b><br>/tmp/cc0JIYqu.o: In function `main':<br>first_clam.cpp:(.text+0x2be): undefined reference to `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
first_clam.cpp:(.text+0x3a1): undefined reference to `CLAM::FlattenedNetwork::ConfigureProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CLAM::ProcessingConfig const&)'<br>
first_clam.cpp:(.text+0x45f): undefined reference to `CLAM::FlattenedNetwork::GetProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>first_clam.cpp:(.text+0x4df): undefined reference to `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
first_clam.cpp:(.text+0x593): undefined reference to `CLAM::FlattenedNetwork::ConnectPorts(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
first_clam.cpp:(.text+0x60e): undefined reference to `CLAM::PANetworkPlayer::PANetworkPlayer()'<br>first_clam.cpp:(.text+0x626): undefined reference to `CLAM::FlattenedNetwork::SetPlayer(CLAM::NetworkPlayer*)'<br>
first_clam.cpp:(.text+0x658): undefined reference to `CLAM::FlattenedNetwork::Start()'<br>first_clam.cpp:(.text+0x671): undefined reference to `CLAM::FlattenedNetwork::Stop()'<br>/tmp/cc0JIYqu.o: In function `CLAM::Network::Network()':<br>
first_clam.cpp:(.text._ZN4CLAM7NetworkC1Ev[CLAM::Network::Network()]+0xd): undefined reference to `CLAM::FlattenedNetwork::FlattenedNetwork()'<br>/tmp/cc0JIYqu.o: In function `CLAM::Network::~Network()':<br>first_clam.cpp:(.text._ZN4CLAM7NetworkD0Ev[CLAM::Network::~Network()]+0x17): undefined reference to `CLAM::FlattenedNetwork::~FlattenedNetwork()'<br>
/tmp/cc0JIYqu.o: In function `CLAM::Network::~Network()':<br>first_clam.cpp:(.text._ZN4CLAM7NetworkD1Ev[CLAM::Network::~Network()]+0x17): undefined reference to `CLAM::FlattenedNetwork::~FlattenedNetwork()'<br>/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::AddSourceFile()':<br>
first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig13AddSourceFileEv[CLAM::MonoAudioFileReaderConfig::AddSourceFile()]+0x1d): undefined reference to `CLAM::DynamicType::AddAttr_(unsigned int, unsigned int)'<br>/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::AddSelectedChannel()':<br>
first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig18AddSelectedChannelEv[CLAM::MonoAudioFileReaderConfig::AddSelectedChannel()]+0x1d): undefined reference to `CLAM::DynamicType::AddAttr_(unsigned int, unsigned int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::AddLoop()':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig7AddLoopEv[CLAM::MonoAudioFileReaderConfig::AddLoop()]+0x1d): undefined reference to `CLAM::DynamicType::AddAttr_(unsigned int, unsigned int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLAdapter(CLAM::AudioInFilename&, char const*, bool)':<br>first_clam.cpp:(.text._ZN4CLAM10XMLAdapterINS_15AudioInFilenameEEC1ERS1_PKcb[CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLAdapter(CLAM::AudioInFilename&, char const*, bool)]+0x22): undefined reference to `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::XMLAdapter<int>::XMLAdapter(int&, char const*, bool)':<br>first_clam.cpp:(.text._ZN4CLAM10XMLAdapterIiEC1ERiPKcb[CLAM::XMLAdapter<int>::XMLAdapter(int&, char const*, bool)]+0x22): undefined reference to `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::XMLAdapter<bool>::XMLAdapter(bool&, char const*, bool)':<br>first_clam.cpp:(.text._ZN4CLAM10XMLAdapterIbEC1ERbPKcb[CLAM::XMLAdapter<bool>::XMLAdapter(bool&, char const*, bool)]+0x22): undefined reference to `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLContent(std::basic_istream<char, std::char_traits<char> >&)':<br>first_clam.cpp:(.text._ZN4CLAM10XMLAdapterINS_15AudioInFilenameEE10XMLContentERSi[CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLContent(std::basic_istream<char, std::char_traits<char> >&)]+0x1a): undefined reference to `CLAM::operator>>(std::basic_istream<char, std::char_traits<char> >&, CLAM::Text&)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::RemoveSourceFile()':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig16RemoveSourceFileEv[CLAM::MonoAudioFileReaderConfig::RemoveSourceFile()]+0x15): undefined reference to `CLAM::DynamicType::RemoveAttr_(unsigned int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::RemoveSelectedChannel()':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig21RemoveSelectedChannelEv[CLAM::MonoAudioFileReaderConfig::RemoveSelectedChannel()]+0x15): undefined reference to `CLAM::DynamicType::RemoveAttr_(unsigned int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::RemoveLoop()':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig10RemoveLoopEv[CLAM::MonoAudioFileReaderConfig::RemoveLoop()]+0x15): undefined reference to `CLAM::DynamicType::RemoveAttr_(unsigned int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::SetSelectedChannel(int const&)':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig18SetSelectedChannelERKi[CLAM::MonoAudioFileReaderConfig::SetSelectedChannel(int const&)]+0x4f): undefined reference to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char const*, int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::SetLoop(bool const&)':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig7SetLoopERKb[CLAM::MonoAudioFileReaderConfig::SetLoop(bool const&)]+0x4f): undefined reference to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char const*, int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::GetSourceFile() const':<br>first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig13GetSourceFileEv[CLAM::MonoAudioFileReaderConfig::GetSourceFile() const]+0x4f): undefined reference to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char const*, int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::GetSelectedChannel() const':<br>first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig18GetSelectedChannelEv[CLAM::MonoAudioFileReaderConfig::GetSelectedChannel() const]+0x4f): undefined reference to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char const*, int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::GetLoop() const':<br>first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig7GetLoopEv[CLAM::MonoAudioFileReaderConfig::GetLoop() const]+0x4f): undefined reference to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char const*, int)'<br>
/tmp/cc0JIYqu.o:first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig13SetSourceFileERKNS_15AudioInFilenameE[CLAM::MonoAudioFileReaderConfig::SetSourceFile(CLAM::AudioInFilename const&)]+0x4f): more undefined references to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char const*, int)' follow<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM::Storage&)':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig17LoadDynAttributesERNS_7StorageE[CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM::Storage&)]+0x18): undefined reference to `CLAM::DynamicType::UpdateData()'<br>
first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig17LoadDynAttributesERNS_7StorageE[CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM::Storage&)]+0x3d): undefined reference to `CLAM::DynamicType::UpdateData()'<br>
/tmp/cc0JIYqu.o: In function `CLAM::AudioFileHeader::GetLength() const':<br>first_clam.cpp:(.text._ZNK4CLAM15AudioFileHeader9GetLengthEv[CLAM::AudioFileHeader::GetLength() const]+0x4f): undefined reference to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char const*, int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::ErrAssertionFailed::~ErrAssertionFailed()':<br>first_clam.cpp:(.text._ZN4CLAM18ErrAssertionFailedD1Ev[CLAM::ErrAssertionFailed::~ErrAssertionFailed()]+0x17): undefined reference to `CLAM::Err::~Err()'<br>
/tmp/cc0JIYqu.o: In function `CLAM::ErrAssertionFailed::~ErrAssertionFailed()':<br>first_clam.cpp:(.text._ZN4CLAM18ErrAssertionFailedD0Ev[CLAM::ErrAssertionFailed::~ErrAssertionFailed()]+0x17): undefined reference to `CLAM::Err::~Err()'<br>
/tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::ProcessingConfig(CLAM::ProcessingConfig const&, bool, bool)':<br>first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigC2ERKS0_bb[CLAM::ProcessingConfig::ProcessingConfig(CLAM::ProcessingConfig const&, bool, bool)]+0x31): undefined reference to `CLAM::DynamicType::DynamicType(CLAM::DynamicType const&, bool, bool)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::~ProcessingConfig()':<br>first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD0Ev[CLAM::ProcessingConfig::~ProcessingConfig()]+0x17): undefined reference to `CLAM::DynamicType::~DynamicType()'<br>
/tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::~ProcessingConfig()':<br>first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD1Ev[CLAM::ProcessingConfig::~ProcessingConfig()]+0x17): undefined reference to `CLAM::DynamicType::~DynamicType()'<br>
/tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::~ProcessingConfig()':<br>first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD2Ev[CLAM::ProcessingConfig::~ProcessingConfig()]+0x17): undefined reference to `CLAM::DynamicType::~DynamicType()'<br>
/tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::ProcessingConfig(int)':<br>first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigC2Ei[CLAM::ProcessingConfig::ProcessingConfig(int)]+0x14): undefined reference to `CLAM::DynamicType::DynamicType(int)'<br>
/tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::MonoAudioFileReaderConfig()':<br>first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfigC1Ev[CLAM::MonoAudioFileReaderConfig::MonoAudioFileReaderConfig()]+0x36): undefined reference to `CLAM::MonoAudioFileReaderConfig::DefaultInit()'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x10): undefined reference to `CLAM::FlattenedNetwork::StoreOn(CLAM::Storage&) const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x14): undefined reference to `CLAM::FlattenedNetwork::LoadFrom(CLAM::Storage&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x24): undefined reference to `CLAM::FlattenedNetwork::Clear()'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x30): undefined reference to `CLAM::FlattenedNetwork::GetNetworkId(CLAM::Processing const*) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x34): undefined reference to `CLAM::FlattenedNetwork::BeginProcessings()'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x38): undefined reference to `CLAM::FlattenedNetwork::EndProcessings()'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x3c): undefined reference to `CLAM::FlattenedNetwork::BeginProcessings() const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x40): undefined reference to `CLAM::FlattenedNetwork::EndProcessings() const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x44): undefined reference to `CLAM::FlattenedNetwork::GetInPortsConnectedTo(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x48): undefined reference to `CLAM::FlattenedNetwork::GetInControlsConnectedTo(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x4c): undefined reference to `CLAM::FlattenedNetwork::GetInPortsConnectedTo(CLAM::OutPortBase&) const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x50): undefined reference to `CLAM::FlattenedNetwork::GetConnectorIdentifier(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x54): undefined reference to `CLAM::FlattenedNetwork::GetProcessingIdentifier(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x58): undefined reference to `CLAM::FlattenedNetwork::GetInPortByCompleteName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x5c): undefined reference to `CLAM::FlattenedNetwork::GetOutPortByCompleteName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x60): undefined reference to `CLAM::FlattenedNetwork::GetInControlByCompleteName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x64): undefined reference to `CLAM::FlattenedNetwork::GetOutControlByCompleteName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x68): undefined reference to `CLAM::FlattenedNetwork::ConnectPorts(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x6c): undefined reference to `CLAM::FlattenedNetwork::ConnectControls(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x70): undefined reference to `CLAM::FlattenedNetwork::DisconnectPorts(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x74): undefined reference to `CLAM::FlattenedNetwork::DisconnectControls(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x78): undefined reference to `CLAM::FlattenedNetwork::GetUnconnectedInPorts() const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x7c): undefined reference to `CLAM::FlattenedNetwork::HasProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x80): undefined reference to `CLAM::FlattenedNetwork::GetProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x84): undefined reference to `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CLAM::Processing*)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x88): undefined reference to `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x8c): undefined reference to `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x90): undefined reference to `CLAM::FlattenedNetwork::GetUnusedName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x94): undefined reference to `CLAM::FlattenedNetwork::RenameProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x98): undefined reference to `CLAM::FlattenedNetwork::RemoveProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0x9c): undefined reference to `CLAM::FlattenedNetwork::IsReady() const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xa0): undefined reference to `CLAM::FlattenedNetwork::IsEmpty() const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xa4): undefined reference to `CLAM::FlattenedNetwork::HasMisconfiguredProcessings() const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xa8): undefined reference to `CLAM::FlattenedNetwork::HasUnconnectedInPorts() const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xac): undefined reference to `CLAM::FlattenedNetwork::HasSyncSource() const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xb0): undefined reference to `CLAM::FlattenedNetwork::ConfigureProcessing(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CLAM::ProcessingConfig const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xb4): undefined reference to `CLAM::FlattenedNetwork::ReconfigureAllProcessings()'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xb8): undefined reference to `CLAM::FlattenedNetwork::GetConfigurationErrors() const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xbc): undefined reference to `CLAM::FlattenedNetwork::UpdateSelections(std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xc4): undefined reference to `CLAM::FlattenedNetwork::SetProcessingsGeometries(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, CLAM::BaseNetwork::Geometry, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, CLAM::BaseNetwork::Geometry> > > const&)'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xc8): undefined reference to `CLAM::FlattenedNetwork::GetAndClearGeometries()'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xcc): undefined reference to `CLAM::FlattenedNetwork::BackendBufferSize()'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xd0): undefined reference to `CLAM::FlattenedNetwork::BackendSampleRate()'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for CLAM::Network]+0xd4): undefined reference to `CLAM::FlattenedNetwork::HasSelectionAndContains(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM7NetworkE[typeinfo for CLAM::Network]+0x8): undefined reference to `typeinfo for CLAM::FlattenedNetwork'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable for CLAM::MonoAudioFileReaderConfig]+0x18): undefined reference to `CLAM::DynamicType::ShallowCopy() const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable for CLAM::MonoAudioFileReaderConfig]+0x1c): undefined reference to `CLAM::DynamicType::DeepCopy() const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable for CLAM::MonoAudioFileReaderConfig]+0x28): undefined reference to `CLAM::DynamicType::InformAttr_(unsigned int, char const*, unsigned int, char const*, bool, void* (*)(void*), void* (*)(void*, void*), void (*)(void*))'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM16ProcessingConfigE[typeinfo for CLAM::ProcessingConfig]+0x8): undefined reference to `typeinfo for CLAM::DynamicType'<br>/tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM18ErrAssertionFailedE[typeinfo for CLAM::ErrAssertionFailed]+0x8): undefined reference to `typeinfo for CLAM::Err'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for CLAM::ProcessingConfig]+0x18): undefined reference to `CLAM::DynamicType::ShallowCopy() const'<br>/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for CLAM::ProcessingConfig]+0x1c): undefined reference to `CLAM::DynamicType::DeepCopy() const'<br>
/tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for CLAM::ProcessingConfig]+0x28): undefined reference to `CLAM::DynamicType::InformAttr_(unsigned int, char const*, unsigned int, char const*, bool, void* (*)(void*), void* (*)(void*, void*), void (*)(void*))'<br>
collect2: ld returned 1 exit status<br><b><br>What should i do this time. I am totally lost. <br><br>Can you kindly lend me a hand? <br><br>Great Thanks!<br><br>Best wishes!</b><br></pre><span style="font-family: arial,helvetica,sans-serif;">-- </span><br style="font-family: arial,helvetica,sans-serif;">
<span style="font-family: arial,helvetica,sans-serif;">Vincent SHAO</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Beihang Univ.(aka. Beijing Univ. of Aeronautics and Astronautics)</span><br style="font-family: arial,helvetica,sans-serif;">