Hi, I just want to install the clam library and program with it. I downloaded the Sconstruct file and disabled all of the Qt4 modules by commenting them. I use scons clam_prefix=/usr/local to build my main.cxx, but still it gave me a error like:<br>
<br>AttributeError: SConsEnvironment instance has no attribute 'Uic4':<br>  File "/home/vincent/SConstruct", line 66:<br>    if uifiles: uiheaders = env.Uic4(source=uifiles)<br><br>Have no idea how to proceed. Need help. :-)<br>
<br>Thank you very much.<br><br>Merry Chirstmas.<br><br><br><div class="gmail_quote">On Mon, Dec 15, 2008 at 11:33 AM, David García Garzón <span dir="ltr"><<a href="mailto:dgarcia@iua.upf.edu">dgarcia@iua.upf.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I thought you were compiling your own application using clam and I was giving<br>
instructions on how to build the application example code on the wiki. If you<br>
just want to try the existing apps (mostly NetworkEditor) consider to install<br>
the already built packages for ubuntu (see the download page).<br>
<a href="http://clam.iua.upf.edu/download-linux.html" target="_blank">http://clam.iua.upf.edu/download-linux.html</a><br>
<br>
So i am not sure what are you looking for. There is a nice wiki page<br>
explaining the entry points for all roads (using the applications, compiling<br>
from sources, developing apps...).<br>
<a href="http://iua-share.upf.edu/wikis/clam/index.php/Approaching_CLAM" target="_blank">http://iua-share.upf.edu/wikis/clam/index.php/Approaching_CLAM</a><br>
<br>
Anyway if still you need help, feel free to ask.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
On Monday 15 December 2008 16:30:08 Vincent SHAO wrote:<br>
> Thanks for your kindly answer, but, sorry,  I don't really follow. I just<br>
> want to install the clam library and could be able to run some amazing demo<br>
> given on the website.<br>
><br>
> I have instralled all the CLAM dependencies, including:<br>
><br>
> build-essential scons ladspa-sdk libxerces27-dev libfftw3-dev libjack-dev<br>
> libmad0-dev libogg-dev libsndfile1-dev libvorbis-dev libid3-3.8.3-dev<br>
> libasound2-dev portaudio19-dev<br>
><br>
> and installed the clam without any reported error:<br>
> $ scons configure<br>
> $ scons<br>
> $ sudo scons install<br>
><br>
> sorry, i still don't know the problem here.<br>
><br>
> On Mon, Dec 15, 2008 at 6:46 AM, David García Garzón<br>
<<a href="mailto:dgarcia@iua.upf.edu">dgarcia@iua.upf.edu</a>>wrote:<br>
> > It looks like there is a lot of clam needed compilation options missing<br>
> > in there. Are you using the provided SCons file in the wiki?<br>
> ><br>
> ><br>
> > <a href="http://iua-share.upf.edu/wikis/clam/index.php/Minimal_SConstruct_to_build" target="_blank">http://iua-share.upf.edu/wikis/clam/index.php/Minimal_SConstruct_to_build</a><br>
> >_with_CLAM_and_Qt4<br>
> ><br>
> > If you prefer not to use scons, you should at least use pkg-config to get<br>
> > those compiler options. Anyway SCons path is strongly recommended.<br>
> ><br>
> ><br>
> > <a href="http://iua-share.upf.edu/wikis/clam/index.php/Compiling_with_CLAM_without" target="_blank">http://iua-share.upf.edu/wikis/clam/index.php/Compiling_with_CLAM_without</a><br>
> >_SCons<br>
> ><br>
> > On Monday 15 December 2008 12:13:33 Vincent SHAO wrote:<br>
> > > *Hi, everyone<br>
> > > I just downloaded the Clam library, followed all the instructions to<br>
> > > install it into my Ubuntu 8.04.<br>
> > ><br>
> > > When I pasted the code on the web<br>
> ><br>
> > <a href="http://www.clam.iua.upf.edu/wikis/clam/index.php/Constructing_and_playing" target="_blank">http://www.clam.iua.upf.edu/wikis/clam/index.php/Constructing_and_playing</a><br>
> >_a<br>
> ><br>
> > >_simple_network, to make sure that everything set. *<br>
> > ><br>
> > > #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 =<br>
> > > network.AddProcessing("MonoAudioFileReader"); // 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 &)<br>
> > > 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>
> > ><br>
> > ><br>
> > > *but it gave me a error like below, when i compiled it.*<br>
> > ><br>
> > > /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>
> > > *<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>
> > > *<br>
> > > /tmp/cc0JIYqu.o: In function `main':<br>
> > > first_clam.cpp:(.text+0x2be): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&)'<br>
> > > first_clam.cpp:(.text+0x3a1): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::ConfigureProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > CLAM::ProcessingConfig const&)'<br>
> > > first_clam.cpp:(.text+0x45f): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > first_clam.cpp:(.text+0x4df): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&)'<br>
> > > first_clam.cpp:(.text+0x593): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::ConnectPorts(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
> > > const&)'<br>
> > > first_clam.cpp:(.text+0x60e): undefined reference to<br>
> > > `CLAM::PANetworkPlayer::PANetworkPlayer()'<br>
> > > first_clam.cpp:(.text+0x626): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::SetPlayer(CLAM::NetworkPlayer*)'<br>
> > > first_clam.cpp:(.text+0x658): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::Start()'<br>
> > > first_clam.cpp:(.text+0x671): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::Stop()'<br>
> > > /tmp/cc0JIYqu.o: In function `CLAM::Network::Network()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM7NetworkC1Ev[CLAM::Network::Network()]+0xd):<br>
> > > undefined reference to `CLAM::FlattenedNetwork::FlattenedNetwork()'<br>
> > > /tmp/cc0JIYqu.o: In function `CLAM::Network::~Network()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM7NetworkD0Ev[CLAM::Network::~Network()]+0x1<br>
> >7)<br>
> ><br>
> > >: undefined reference to `CLAM::FlattenedNetwork::~FlattenedNetwork()'<br>
> > ><br>
> > > /tmp/cc0JIYqu.o: In function `CLAM::Network::~Network()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM7NetworkD1Ev[CLAM::Network::~Network()]+0x1<br>
> >7)<br>
> ><br>
> > >: undefined reference to `CLAM::FlattenedNetwork::~FlattenedNetwork()'<br>
> > ><br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::AddSourceFile()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig13AddSourceFileE<br>
> >v[<br>
> ><br>
> > >CLAM::MonoAudioFileReaderConfig::AddSourceFile()]+0x1d): undefined<br>
> ><br>
> > reference<br>
> ><br>
> > > to `CLAM::DynamicType::AddAttr_(unsigned int,<br>
> > > unsigned int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::AddSelectedChannel()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig18AddSelectedCha<br>
> >nn<br>
> ><br>
> > >elEv[CLAM::MonoAudioFileReaderConfig::AddSelectedChannel()]+0x1d):<br>
> ><br>
> > undefined<br>
> ><br>
> > > reference to `CLAM::DynamicType::AddAttr_(unsigned int,<br>
> > > unsigned int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> ><br>
> > `CLAM::MonoAudioFileReaderConfig::AddLoop()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig7AddLoopEv[CLAM:<br>
> >:M<br>
> ><br>
> > >onoAudioFileReaderConfig::AddLoop()]+0x1d): undefined reference to<br>
> > > `CLAM::DynamicType::AddAttr_(unsigned int,<br>
> > > unsigned int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> ><br>
> > `CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLAdapter(CLAM::AudioInFilenam<br>
> >e&<br>
> ><br>
> > >, char const*, bool)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM10XMLAdapterINS_15AudioInFilenameEEC1ERS1_P<br>
> >Kc<br>
> ><br>
> > >b[CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLAdapter(CLAM::AudioInFilen<br>
</div></div>> > >ame& , char const*, bool)]+0x22): undefined reference to<br>
<div class="Ih2E3d">> > > `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'<br>
> > > /tmp/cc0JIYqu.o: In function `CLAM::XMLAdapter<int>::XMLAdapter(int&,<br>
> > > char const*, bool)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM10XMLAdapterIiEC1ERiPKcb[CLAM::XMLAdapter<i<br>
> >nt<br>
> ><br>
> > >>::XMLAdapter(int&, char const*, bool)]+0x22): undefined reference to<br>
> > ><br>
> > > `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::XMLAdapter<bool>::XMLAdapter(bool&, char const*, bool)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM10XMLAdapterIbEC1ERbPKcb[CLAM::XMLAdapter<b<br>
> >oo<br>
> ><br>
> > >l>::XMLAdapter(bool&, char const*, bool)]+0x22): undefined reference to<br>
> > > `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> ><br>
> > `CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLContent(std::basic_istream<c<br>
> >ha<br>
> ><br>
> > >r, std::char_traits<char> >&)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM10XMLAdapterINS_15AudioInFilenameEE10XMLCon<br>
> >te<br>
> ><br>
> > >ntERSi[CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLContent(std::basic_is<br>
</div>> > >trea m<char, std::char_traits<char> >&)]+0x1a): undefined reference to<br>
<div><div></div><div class="Wj3C7c">> > > `CLAM::operator>>(std::basic_istream<char, std::char_traits<char> >&,<br>
> > > CLAM::Text&)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::RemoveSourceFile()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig16RemoveSourceFi<br>
> >le<br>
> ><br>
> > >Ev[CLAM::MonoAudioFileReaderConfig::RemoveSourceFile()]+0x15): undefined<br>
> > > reference to `CLAM::DynamicType::RemoveAttr_(unsigned int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::RemoveSelectedChannel()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig21RemoveSelected<br>
> >Ch<br>
> ><br>
> > >annelEv[CLAM::MonoAudioFileReaderConfig::RemoveSelectedChannel()]+0x15):<br>
> > > undefined reference to `CLAM::DynamicType::RemoveAttr_(unsigned int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::RemoveLoop()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig10RemoveLoopEv[C<br>
> >LA<br>
> ><br>
> > >M::MonoAudioFileReaderConfig::RemoveLoop()]+0x15): undefined reference<br>
> > > to `CLAM::DynamicType::RemoveAttr_(unsigned int)' /tmp/cc0JIYqu.o: In<br>
> ><br>
> > function<br>
> ><br>
> > > `CLAM::MonoAudioFileReaderConfig::SetSelectedChannel(int const&)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig18SetSelectedCha<br>
> >nn<br>
> ><br>
> > >elERKi[CLAM::MonoAudioFileReaderConfig::SetSelectedChannel(int<br>
> > > const&)]+0x4f): undefined reference to<br>
> > > `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char<br>
> > > const*, int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::SetLoop(bool const&)':<br>
> ><br>
> > first_clam.cpp:<br>
(.text._ZN4CLAM25MonoAudioFileReaderConfig7SetLoopERKb[CLAM:<br>
> > >:MonoAudioFileReaderConfig::SetLoop(bool const&)]+0x4f): undefined<br>
> ><br>
> > reference<br>
> ><br>
> > > to<br>
> > > `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char<br>
> > > const*, int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::GetSourceFile() const':<br>
> ><br>
> > first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig13GetSourceFile<br>
> >Ev<br>
> ><br>
> > >[CLAM::MonoAudioFileReaderConfig::GetSourceFile() const]+0x4f):<br>
> > > undefined reference to<br>
> > > `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char<br>
> > > const*, int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::GetSelectedChannel() const':<br>
> ><br>
> > first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig18GetSelectedCh<br>
> >an<br>
> ><br>
> > >nelEv[CLAM::MonoAudioFileReaderConfig::GetSelectedChannel()<br>
> > > const]+0x4f): undefined reference to<br>
> > > `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char<br>
> > > const*, int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::GetLoop() const':<br>
> ><br>
> > first_clam.cpp:<br>
(.text._ZNK4CLAM25MonoAudioFileReaderConfig7GetLoopEv[CLAM::<br>
> > >MonoAudioFileReaderConfig::GetLoop() const]+0x4f): undefined reference<br>
> > > to `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char<br>
> > > const*, int)'<br>
> ><br>
> > /tmp/cc0JIYqu.o:first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig<br>
> >13<br>
> ><br>
> > >SetSourceFileERKNS_15AudioInFilenameE[CLAM::MonoAudioFileReaderConfig::S<br>
</div></div>> > >etSo urceFile(CLAM::AudioInFilename const&)]+0x4f): more undefined<br>
<div><div></div><div class="Wj3C7c">> > > references<br>
> ><br>
> > to<br>
> ><br>
> > > `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char<br>
> > > const*, int)' follow<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM::Storage&)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig17LoadDynAttribu<br>
> >te<br>
> ><br>
> > >sERNS_7StorageE[CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM:<br>
> > >:Sto rage&)]+0x18): undefined reference to<br>
> > > `CLAM::DynamicType::UpdateData()'<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig17LoadDynAttribu<br>
> >te<br>
> ><br>
> > >sERNS_7StorageE[CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM:<br>
> > >:Sto rage&)]+0x3d): undefined reference to<br>
> > > `CLAM::DynamicType::UpdateData()' /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::AudioFileHeader::GetLength() const':<br>
> ><br>
> > first_clam.cpp:(.text._ZNK4CLAM15AudioFileHeader9GetLengthEv[CLAM::AudioF<br>
> >il<br>
> ><br>
> > >eHeader::GetLength() const]+0x4f): undefined reference to<br>
> > > `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char<br>
> > > const*, int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::ErrAssertionFailed::~ErrAssertionFailed()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM18ErrAssertionFailedD1Ev[CLAM::ErrAssertion<br>
> >Fa<br>
> ><br>
> > >iled::~ErrAssertionFailed()]+0x17): undefined reference to<br>
> > > `CLAM::Err::~Err()'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::ErrAssertionFailed::~ErrAssertionFailed()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM18ErrAssertionFailedD0Ev[CLAM::ErrAssertion<br>
> >Fa<br>
> ><br>
> > >iled::~ErrAssertionFailed()]+0x17): undefined reference to<br>
> > > `CLAM::Err::~Err()'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::ProcessingConfig::ProcessingConfig(CLAM::ProcessingConfig<br>
> > > const&, bool, bool)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigC2ERKS0_bb[CLAM::Processi<br>
> >ng<br>
> ><br>
> > >Config::ProcessingConfig(CLAM::ProcessingConfig const&, bool,<br>
> ><br>
> > bool)]+0x31):<br>
> > > undefined reference to<br>
> > > `CLAM::DynamicType::DynamicType(CLAM::DynamicType const&, bool, bool)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> ><br>
> > `CLAM::ProcessingConfig::~ProcessingConfig()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD0Ev[CLAM::ProcessingConf<br>
> >ig<br>
> ><br>
> > >::~ProcessingConfig()]+0x17): undefined reference to<br>
> > ><br>
> > > `CLAM::DynamicType::~DynamicType()'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> ><br>
> > `CLAM::ProcessingConfig::~ProcessingConfig()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD1Ev[CLAM::ProcessingConf<br>
> >ig<br>
> ><br>
> > >::~ProcessingConfig()]+0x17): undefined reference to<br>
> > ><br>
> > > `CLAM::DynamicType::~DynamicType()'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> ><br>
> > `CLAM::ProcessingConfig::~ProcessingConfig()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD2Ev[CLAM::ProcessingConf<br>
> >ig<br>
> ><br>
> > >::~ProcessingConfig()]+0x17): undefined reference to<br>
> > ><br>
> > > `CLAM::DynamicType::~DynamicType()'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::ProcessingConfig::ProcessingConfig(int)':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigC2Ei[CLAM::ProcessingConf<br>
> >ig<br>
> ><br>
> > >::ProcessingConfig(int)]+0x14): undefined reference to<br>
> > ><br>
> > > `CLAM::DynamicType::DynamicType(int)'<br>
> > > /tmp/cc0JIYqu.o: In function<br>
> > > `CLAM::MonoAudioFileReaderConfig::MonoAudioFileReaderConfig()':<br>
> ><br>
> > first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfigC1Ev[CLAM::MonoA<br>
> >ud<br>
> ><br>
> > >ioFileReaderConfig::MonoAudioFileReaderConfig()]+0x36): undefined<br>
> ><br>
> > reference<br>
> ><br>
> > > to<br>
> > > `CLAM::MonoAudioFileReaderConfig::DefaultInit()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x10): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::StoreOn(CLAM::Storage&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x14): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::LoadFrom(CLAM::Storage&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x24): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::Clear()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x30): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetNetworkId(CLAM::Processing const*) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x34): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::BeginProcessings()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x38): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::EndProcessings()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x3c): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::BeginProcessings() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x40): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::EndProcessings() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x44): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetInPortsConnectedTo(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x48): undefined reference to<br>
</div></div>> > > `CLAM::FlattenedNetwork::GetInControlsConnectedTo(std::basic_string<cha<br>
> > >r, std::char_traits<char>, std::allocator<char> > const&) const'<br>
<div class="Ih2E3d">> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x4c): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetInPortsConnectedTo(CLAM::OutPortBase&)<br>
> > > const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x50): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetConnectorIdentifier(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x54): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetProcessingIdentifier(std::basic_string<char<br>
> > >, std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x58): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetInPortByCompleteName(std::basic_string<char<br>
> > >, std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x5c): undefined reference to<br>
</div>> > > `CLAM::FlattenedNetwork::GetOutPortByCompleteName(std::basic_string<cha<br>
> > >r, std::char_traits<char>, std::allocator<char> > const&) const'<br>
<div class="Ih2E3d">> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x60): undefined reference to<br>
> ><br>
</div>> > `CLAM::FlattenedNetwork::GetInControlByCompleteName(std::basic_string<cha<br>
> >r,<br>
> ><br>
<div class="Ih2E3d">> > > std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x64): undefined reference to<br>
> ><br>
</div>> > `CLAM::FlattenedNetwork::GetOutControlByCompleteName(std::basic_string<ch<br>
> >ar<br>
> ><br>
<div><div></div><div class="Wj3C7c">> > >, std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x68): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::ConnectPorts(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
> > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x6c): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::ConnectControls(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
> > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x70): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::DisconnectPorts(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
> > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x74): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::DisconnectControls(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
> > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x78): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetUnconnectedInPorts() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x7c): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::HasProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x80): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x84): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > CLAM::Processing*)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x88): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
> > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x8c): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x90): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetUnusedName(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x94): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::RenameProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> ><br>
> > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x98): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::RemoveProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0x9c): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::IsReady() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xa0): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::IsEmpty() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xa4): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::HasMisconfiguredProcessings() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xa8): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::HasUnconnectedInPorts() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xac): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::HasSyncSource() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xb0): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::ConfigureProcessing(std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const&,<br>
> > > CLAM::ProcessingConfig const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xb4): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::ReconfigureAllProcessings()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xb8): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetConfigurationErrors() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xbc): undefined reference to<br>
> ><br>
</div></div>> > `CLAM::FlattenedNetwork::UpdateSelections(std::list<std::basic_string<cha<br>
> >r,<br>
> ><br>
<div><div></div><div class="Wj3C7c">> > > std::char_traits<char>, std::allocator<char> >,<br>
> > > std::allocator<std::basic_string<char, std::char_traits<char>,<br>
> > > std::allocator<char> > > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xc4): undefined reference to<br>
> ><br>
> > `CLAM::FlattenedNetwork::SetProcessingsGeometries(std::map<std::basic_str<br>
> >in<br>
> ><br>
> > >g<char, std::char_traits<char>, std::allocator<char> >,<br>
> > > CLAM::BaseNetwork::Geometry, std::less<std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > >,<br>
> > > std::allocator<std::pair<std::basic_string<char,<br>
> > > std::char_traits<char>, std::allocator<char> > const,<br>
> > > CLAM::BaseNetwork::Geometry> > > const&)'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xc8): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::GetAndClearGeometries()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xcc): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::BackendBufferSize()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xd0): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::BackendSampleRate()'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for<br>
> > > CLAM::Network]+0xd4): undefined reference to<br>
> > > `CLAM::FlattenedNetwork::HasSelectionAndContains(std::basic_string<char<br>
> > >, std::char_traits<char>, std::allocator<char> > const&) const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM7NetworkE[typeinfo for<br>
> > > CLAM::Network]+0x8): undefined reference to `typeinfo for<br>
> > > CLAM::FlattenedNetwork'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable<br>
> > > for CLAM::MonoAudioFileReaderConfig]+0x18): undefined reference to<br>
> > > `CLAM::DynamicType::ShallowCopy() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable<br>
> > > for CLAM::MonoAudioFileReaderConfig]+0x1c): undefined reference to<br>
> > > `CLAM::DynamicType::DeepCopy() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable<br>
> > > for CLAM::MonoAudioFileReaderConfig]+0x28): undefined reference to<br>
> > > `CLAM::DynamicType::InformAttr_(unsigned int, char const*, unsigned<br>
> > > int, char const*, bool, void* (*)(void*), void* (*)(void*, void*),<br>
> > > void (*)(void*))'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM16ProcessingConfigE[typeinfo for<br>
> > > CLAM::ProcessingConfig]+0x8): undefined reference to `typeinfo for<br>
> > > CLAM::DynamicType'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM18ErrAssertionFailedE[typeinfo for<br>
> > > CLAM::ErrAssertionFailed]+0x8): undefined reference to `typeinfo for<br>
> > > CLAM::Err'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for<br>
> > > CLAM::ProcessingConfig]+0x18): undefined reference to<br>
> > > `CLAM::DynamicType::ShallowCopy() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for<br>
> > > CLAM::ProcessingConfig]+0x1c): undefined reference to<br>
> > > `CLAM::DynamicType::DeepCopy() const'<br>
> > > /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for<br>
> > > CLAM::ProcessingConfig]+0x28): undefined reference to<br>
> > > `CLAM::DynamicType::InformAttr_(unsigned int, char const*, unsigned<br>
> > > int, char const*, bool, void* (*)(void*), void* (*)(void*, void*),<br>
> > > void (*)(void*))'<br>
> > > collect2: ld returned 1 exit status<br>
> > > *<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!*<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Vincent SHAO<br>Beihang Univ.(aka. Beijing Univ. of Aeronautics and Astronautics)<br>