Greg Kellum | 4 Nov 2007 20:59
Picon

includes

Hi,

I've been working on a Max/MSP plugin that accesses CLAM by binding against the CLAM library.  I've been working in XCode which of course just calls g++ to compile and build things, and one problem that I've been having is dealing with the CLAM include statements which are in the form <CLAM/ClassName.hxx>.  Did you have to add any options in scons to get g++ to handle these correctly?  I'm wondering what flag I would have to give g++ to get it to deal with these in the same way that it does when called from scons.

Best,
Greg

P.S.  By the way Pau, you can throw away all of the classes in the plugins/continuousExcitationSynthesizer/toreview folder.
_______________________________________________
Clam-devel mailing list
Clam-devel@...
https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
Pau Arumí | 4 Nov 2007 22:34
Favicon
Gravatar

Re: includes


On dg, 2007-11-04 at 20:59 +0100, Greg Kellum wrote:
> Hi,
> 
> 
> I've been working on a Max/MSP plugin that accesses CLAM by binding
> against the CLAM library.  I've been working in XCode which of course
> just calls g++ to compile and build things, and one problem that I've
> been having is dealing with the CLAM include statements which are in
> the form <CLAM/ClassName.hxx>.  Did you have to add any options in
> scons to get g++ to handle these correctly?  I'm wondering what flag I
> would have to give g++ to get it to deal with these in the same way
> that it does when called from scons.
> 

This should be simple. Say, you installed clam in the default dirn
(/usr), the all headers have been copied into /usr/include/CLAM/, and
the compilation command should be something like
g++ -I/usr/include/ file.cxx

and for any install_prefix:
g++ -Iinstall_prefix/include/ file.cxx
Another tip: clam and networkeditor scons allow the verbose=1 parameter.
Then it shows the g++ command being issued.

> P.S.  By the way Pau, you can throw away all of the classes in the
> plugins/continuousExcitationSynthesizer/toreview folder.

Ok thanks. 
And tell us if you fix the xml needed for the streaming (networkeditor)
synthesizer. 

Pau
Greg Kellum | 5 Nov 2007 00:09
Picon

Re: includes

Hi Pau,

Well, I did use a command like g++ -I/usr/include/ file.cxx, except  
my files were in /usr/local/include.  And it worked fine for headers  
whose include statements looked like this:

#include "XMLStorage.hxx"

But the compiler threw errors everytime it encountered an includes  
statement in one of those headers that looks like this:

#include <CLAM/XMLStorage.hxx>

When I replaced these includes with includes like the one above, then  
everything worked fine.  BUT there are a LOT of those <CLAM/ 
ClassName.hxx> include statements.  You don't much like those anyway  
if I remember correctly.  What do you think about me writing a python  
script to convert them to the first format?

By the way I did correct all the XML config files in the test  
directory.  Everything should work fine now once you update to the  
newest data.  Let me know if it doesn't.

Best,
Greg

On Nov 4, 2007, at 10:34 PM, Pau Arumí wrote:

>
> On dg, 2007-11-04 at 20:59 +0100, Greg Kellum wrote:
>> Hi,
>>
>>
>> I've been working on a Max/MSP plugin that accesses CLAM by binding
>> against the CLAM library.  I've been working in XCode which of course
>> just calls g++ to compile and build things, and one problem that I've
>> been having is dealing with the CLAM include statements which are in
>> the form <CLAM/ClassName.hxx>.  Did you have to add any options in
>> scons to get g++ to handle these correctly?  I'm wondering what  
>> flag I
>> would have to give g++ to get it to deal with these in the same way
>> that it does when called from scons.
>>
>
> This should be simple. Say, you installed clam in the default dirn
> (/usr), the all headers have been copied into /usr/include/CLAM/, and
> the compilation command should be something like
> g++ -I/usr/include/ file.cxx
>
> and for any install_prefix:
> g++ -Iinstall_prefix/include/ file.cxx
> Another tip: clam and networkeditor scons allow the verbose=1  
> parameter.
> Then it shows the g++ command being issued.
>
>> P.S.  By the way Pau, you can throw away all of the classes in the
>> plugins/continuousExcitationSynthesizer/toreview folder.
>
> Ok thanks.
> And tell us if you fix the xml needed for the streaming  
> (networkeditor)
> synthesizer.
>
> Pau
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel@...
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam- 
> devel
Pau Arumi | 5 Nov 2007 12:43
Favicon
Gravatar

[Fwd: [iua] network maintenance at 16h]

Hi all,

Subversion and mailinglist will be down at 16h (Spain time) for 
maintenance during a while.

Pau - crossing fingers

-------- Missatge original --------
Assumpte: 	[iua] network maintenance at 16h
Data: 	Mon, 5 Nov 2007 12:40:17 +0100
De: 	Jordi Funollet <jordi.f@...>
A: 	iua@...

As all of you know, some IUA groups will move to Ca l'Aranyó in few weeks. 
Some changes must be done to our network before migrating.

Today at 16h00 we will do some reconfiguration in all the IUA servers. This 
will stop all the services: mail, webs, file servers, etc. The minimum 
duration of the changes will be 30 minutes, and the maximum duration will be 2 
hours.

Thanks for your patience,
--

-- 
Jordi Funollet                Systems Administration
  Institute of Audio-Visual Studies (IUA)
  Universitat Pompeu Fabra    http://www.iua.upf.es
  jordi.f@...          Tel: +34 93.542.22.98
Pau Arumí | 5 Nov 2007 18:51
Favicon
Gravatar

Re: includes


El dl 05 de 11 del 2007 a les 00:09 +0100, en/na Greg Kellum va
escriure: 
> Hi Pau,
> 
> Well, I did use a command like g++ -I/usr/include/ file.cxx, except  
> my files were in /usr/local/include.  And it worked fine for headers  
> whose include statements looked like this:
> 
> #include "XMLStorage.hxx"
> 
> But the compiler threw errors everytime it encountered an includes  
> statement in one of those headers that looks like this:
> 
> #include <CLAM/XMLStorage.hxx>

This is very strange. <CLAM/XMLStorage.hxx> should work and and
"XMLStorage.hxx" should not.
Could you check that you have the file /usr/include/CLAM/SMLStorage.hxx?

If so, try with a minimal such 
foo.cxx:
#include <CLAM/XMLStorage.hxx>
int main() { return 0; }

and compiling it with only one -I parameter: g++ -I/usr/include/ foo.cxx
(and while you're on it try also without any -I parameter)

I hope we can solve this mistery

Pau

> When I replaced these includes with includes like the one above, then  
> everything worked fine.  BUT there are a LOT of those <CLAM/ 
> ClassName.hxx> include statements.  You don't much like those anyway  
> if I remember correctly.  What do you think about me writing a python  
> script to convert them to the first format?
> 
> By the way I did correct all the XML config files in the test  
> directory.  Everything should work fine now once you update to the  
> newest data.  Let me know if it doesn't.
> 
> Best,
> Greg
> 
> 
> On Nov 4, 2007, at 10:34 PM, Pau Arumí wrote:
> 
> >
> > On dg, 2007-11-04 at 20:59 +0100, Greg Kellum wrote:
> >> Hi,
> >>
> >>
> >> I've been working on a Max/MSP plugin that accesses CLAM by binding
> >> against the CLAM library.  I've been working in XCode which of course
> >> just calls g++ to compile and build things, and one problem that I've
> >> been having is dealing with the CLAM include statements which are in
> >> the form <CLAM/ClassName.hxx>.  Did you have to add any options in
> >> scons to get g++ to handle these correctly?  I'm wondering what  
> >> flag I
> >> would have to give g++ to get it to deal with these in the same way
> >> that it does when called from scons.
> >>
> >
> > This should be simple. Say, you installed clam in the default dirn
> > (/usr), the all headers have been copied into /usr/include/CLAM/, and
> > the compilation command should be something like
> > g++ -I/usr/include/ file.cxx
> >
> > and for any install_prefix:
> > g++ -Iinstall_prefix/include/ file.cxx
> > Another tip: clam and networkeditor scons allow the verbose=1  
> > parameter.
> > Then it shows the g++ command being issued.
> >
> >> P.S.  By the way Pau, you can throw away all of the classes in the
> >> plugins/continuousExcitationSynthesizer/toreview folder.
> >
> > Ok thanks.
> > And tell us if you fix the xml needed for the streaming  
> > (networkeditor)
> > synthesizer.
> >
> > Pau
> >
> >
> > _______________________________________________
> > Clam-devel mailing list
> > Clam-devel@...
> > https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam- 
> > devel
> 
> 
> _______________________________________________
> Clam-devel mailing list
> Clam-devel@...
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
globot | 12 Nov 2007 07:20
Picon

question about ladspa latence advancement

hi Pau Arumi,

I am a little overloaded with my project since 3 weeks (i must finish a 
first release candidate for december) i will soon restart working on 
sound processing and i would like to know where you are with ladspa 
latency problems ?
can i hope to be able to use it soon ? or should i relay on a fortune 
solution ?

after i finish the main part of my project (auto adaptative multi-agents 
system, maintain db consitency in a highly unstable environnement, easy 
to use interface for stupid users, never crashing sound processing), I 
hope i can finish the time seeking for Mpeg and Ogg files...
Pau Arumí | 12 Nov 2007 13:04
Favicon
Gravatar

Re: question about ladspa latence advancement


El dl 12 de 11 del 2007 a les 14:20 +0800, en/na globot va escriure:
> hi Pau Arumi,
> 
> I am a little overloaded with my project since 3 weeks (i must finish a 
> first release candidate for december) i will soon restart working on 
> sound processing and i would like to know where you are with ladspa 
> latency problems ?
> can i hope to be able to use it soon ? or should i relay on a fortune 
> solution ?
> 
> after i finish the main part of my project (auto adaptative multi-agents 
> system, maintain db consitency in a highly unstable environnement, easy 
> to use interface for stupid users, never crashing sound processing), I 
> hope i can finish the time seeking for Mpeg and Ogg files...

Hi Globot,

I said I was about to implement it but then it fell down in my personal
todo list - I'm finishing a project with clam, on audio spacialization,
for december where (very) low latency is not a must.

However, it's an important fix and I appreciate that you push for it.
Give me till Friday before looking for a "fortune solution" (didn't know
the expression and like it :) )

Best,
Pau
globot | 16 Nov 2007 11:32
Picon

how to Ladspa Plugin ?

hi,

i have a stupid question today,
I made a network using NE, there is ladspa plugin inside. But when i 
load this network with my sotware have an error message :
"Error creating a processing object of type 'hpf1' which is not available."

'hpf1' should be a "Simple High Pass Filter" (id: 1042 or 1052)

So is there something special to do to automaticly scan ladspa plugin ? 
like NE do... Because i don't have any messages telling me . "[LADSPA 
Plugins] looking at path '/path' "
Pau Arumí | 16 Nov 2007 12:21
Favicon
Gravatar

Re: how to Ladspa Plugin ?


On dv, 2007-11-16 at 18:32 +0800, globot wrote:
> hi,
> 
> i have a stupid question today,
> I made a network using NE, there is ladspa plugin inside. But when i 
> load this network with my sotware have an error message :
> "Error creating a processing object of type 'hpf1' which is not available."
> 
> 'hpf1' should be a "Simple High Pass Filter" (id: 1042 or 1052)
> 
> So is there something special to do to automaticly scan ladspa plugin ? 
> like NE do... Because i don't have any messages telling me . "[LADSPA 
> Plugins] looking at path '/path' "
> 

this seems easy.
look at NetworkEditor/src/ProcessingTree.cxx line 187
#ifdef USE_LADSPA
	RunTimeLadspaLibraryLoader ladspaLoader;
	ladspaLoader.Load();
#endif

so this is all you need to do to load ladspas in the processing factory.

pau
globot | 16 Nov 2007 15:08
Picon

Re: Clam-devel Digest, Vol 12, Issue 5


>On dv, 2007-11-16 at 18:32 +0800, globot wrote:
>  
>
>>hi,
>>
>>i have a stupid question today,
>>I made a network using NE, there is ladspa plugin inside. But when i 
>>load this network with my sotware have an error message :
>>"Error creating a processing object of type 'hpf1' which is not available."
>>
>>'hpf1' should be a "Simple High Pass Filter" (id: 1042 or 1052)
>>
>>So is there something special to do to automaticly scan ladspa plugin ? 
>>like NE do... Because i don't have any messages telling me . "[LADSPA 
>>Plugins] looking at path '/path' "
>>
>>    
>>
>
>this seems easy.
>look at NetworkEditor/src/ProcessingTree.cxx line 187
>#ifdef USE_LADSPA
>	RunTimeLadspaLibraryLoader ladspaLoader;
>	ladspaLoader.Load();
>#endif
>
>so this is all you need to do to load ladspas in the processing factory.
>
>pau
>
>
>  
>
thank you, i was just to tired tonight to search for it :)
it work well now

Gmane