Good C++ libraries ?

View: New views
15 Messages — Rating Filter:   Alert me  

Good C++ libraries ?

by Xavier Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I tried OSCpack, which is the recommended C++ library by
opensoundcontrol.org

But, the code of the version 1.0.2 doesn't compile and I needed to add
necessary #include in the source.
And I also needed to write a makefile, split the source and the headers
in order to have something more "professional".

Are there other OSC C/C++ libraries in the OSC world, that run "out of
the box"?

Kind regards,
Xavier Miller.
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Gaspard Bucher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have no issue with OSCpack. It's a mature library.

Maybe you should just send a mail to the author so you can fix the
issue you are facing ?

Gaspard

On Mon, Mar 2, 2009 at 9:07 AM, Xavier Miller <xavier.miller@...> wrote:

> Hello,
>
> I tried OSCpack, which is the recommended C++ library by
> opensoundcontrol.org
>
> But, the code of the version 1.0.2 doesn't compile and I needed to add
> necessary #include in the source.
> And I also needed to write a makefile, split the source and the headers
> in order to have something more "professional".
>
> Are there other OSC C/C++ libraries in the OSC world, that run "out of
> the box"?
>
> Kind regards,
> Xavier Miller.
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Xavier Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Which version do you use ?

Xavier.

Gaspard Bucher a écrit :

> I have no issue with OSCpack. It's a mature library.
>
> Maybe you should just send a mail to the author so you can fix the
> issue you are facing ?
>
> Gaspard
>
> On Mon, Mar 2, 2009 at 9:07 AM, Xavier Miller <xavier.miller@...> wrote:
>> Hello,
>>
>> I tried OSCpack, which is the recommended C++ library by
>> opensoundcontrol.org
>>
>> But, the code of the version 1.0.2 doesn't compile and I needed to add
>> necessary #include in the source.
>> And I also needed to write a makefile, split the source and the headers
>> in order to have something more "professional".
>>
>> Are there other OSC C/C++ libraries in the OSC world, that run "out of
>> the box"?
>>
>> Kind regards,
>> Xavier Miller.
>> _______________________________________________
>> OSC_dev mailing list
>> OSC_dev@...
>> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>>
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Xavier Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I checked the SVN version, which is OK. I will take it.

Xavier.

Xavier Miller a écrit :

> Hello,
>
> Which version do you use ?
>
> Xavier.
>
> Gaspard Bucher a écrit :
>> I have no issue with OSCpack. It's a mature library.
>>
>> Maybe you should just send a mail to the author so you can fix the
>> issue you are facing ?
>>
>> Gaspard
>>
>> On Mon, Mar 2, 2009 at 9:07 AM, Xavier Miller <xavier.miller@...> wrote:
>>> Hello,
>>>
>>> I tried OSCpack, which is the recommended C++ library by
>>> opensoundcontrol.org
>>>
>>> But, the code of the version 1.0.2 doesn't compile and I needed to add
>>> necessary #include in the source.
>>> And I also needed to write a makefile, split the source and the headers
>>> in order to have something more "professional".
>>>
>>> Are there other OSC C/C++ libraries in the OSC world, that run "out of
>>> the box"?
>>>
>>> Kind regards,
>>> Xavier Miller.
>>> _______________________________________________
>>> OSC_dev mailing list
>>> OSC_dev@...
>>> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>>>
>> _______________________________________________
>> OSC_dev mailing list
>> OSC_dev@...
>> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Gaspard Bucher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using 1.0.2.

The only thing that annoys me with OSCpack is that it extensively uses
the Implementation pattern which I find a stupid choice for a fast
library that is not meant to change that much.

Gaspard

On Mon, Mar 2, 2009 at 9:35 AM, Xavier Miller <xavier.miller@...> wrote:

> I checked the SVN version, which is OK. I will take it.
>
> Xavier.
>
> Xavier Miller a écrit :
>> Hello,
>>
>> Which version do you use ?
>>
>> Xavier.
>>
>> Gaspard Bucher a écrit :
>>> I have no issue with OSCpack. It's a mature library.
>>>
>>> Maybe you should just send a mail to the author so you can fix the
>>> issue you are facing ?
>>>
>>> Gaspard
>>>
>>> On Mon, Mar 2, 2009 at 9:07 AM, Xavier Miller <xavier.miller@...> wrote:
>>>> Hello,
>>>>
>>>> I tried OSCpack, which is the recommended C++ library by
>>>> opensoundcontrol.org
>>>>
>>>> But, the code of the version 1.0.2 doesn't compile and I needed to add
>>>> necessary #include in the source.
>>>> And I also needed to write a makefile, split the source and the headers
>>>> in order to have something more "professional".
>>>>
>>>> Are there other OSC C/C++ libraries in the OSC world, that run "out of
>>>> the box"?
>>>>
>>>> Kind regards,
>>>> Xavier Miller.
>>>> _______________________________________________
>>>> OSC_dev mailing list
>>>> OSC_dev@...
>>>> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>>>>
>>> _______________________________________________
>>> OSC_dev mailing list
>>> OSC_dev@...
>>> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>> _______________________________________________
>> OSC_dev mailing list
>> OSC_dev@...
>> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Jamie Bullock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi Xavier,


On 2 Mar 2009, at 08:07, Xavier Miller wrote:

> Hello,
>
> I tried OSCpack, which is the recommended C++ library by
> opensoundcontrol.org
>
> But, the code of the version 1.0.2 doesn't compile and I needed to add
> necessary #include in the source.
> And I also needed to write a makefile, split the source and the  
> headers
> in order to have something more "professional".
>
> Are there other OSC C/C++ libraries in the OSC world, that run "out of
> the box"?
>
> Kind regards,
> Xavier Miller.


Are you specifically looking for something with C++ style semantics?  
Otherwise liblo should do. I think it's perfectly possible to use  
liblo from a C++ app.

        http://liblo.sourceforge.net/

Jamie

--
http://www.jamiebullock.com

_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Xavier Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jamie,

C is also fine, I'll take a look :)

Xavier.

Jamie Bullock a écrit :
>
> Are you specifically looking for something with C++ style semantics?  
> Otherwise liblo should do. I think it's perfectly possible to use  
> liblo from a C++ app.
>
> http://liblo.sourceforge.net/
>
> Jamie

_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Parent Message unknown Re: Good C++ libraries ?

by Jeff Glatt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If C is fine, and if you need it to compile cleanly on both
Windows and Linux, try EasyOSC:

http://home.roadrunner.com/~jgglatt/tech/easyosc.zip
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Xavier Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

GPL. I cannot use it.

Xavier Miller a écrit :

> Hi Jamie,
>
> C is also fine, I'll take a look :)
>
> Xavier.
>
> Jamie Bullock a écrit :
>> Are you specifically looking for something with C++ style semantics?  
>> Otherwise liblo should do. I think it's perfectly possible to use  
>> liblo from a C++ app.
>>
>> http://liblo.sourceforge.net/
>>
>> Jamie
>
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Xavier Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I will keep OSCpack, which is really easy to implement and use, and its
licence permit its use in commercial applications.

Kind regards,
Xavier.

Jeff Glatt a écrit :
> If C is fine, and if you need it to compile cleanly on both
> Windows and Linux, try EasyOSC:
>
> http://home.roadrunner.com/~jgglatt/tech/easyosc.zip
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Parent Message unknown Re: Good C++ libraries ?

by Jeff Glatt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

EasyOSC is what we call in the Windows world a "dynamic link
library" ("shared lib" in Linux parlance). Unlike some other
implementations, it's not statically linked, and therefore does not
become part of your application.

You can link to GPL'ed dynamic/shared libraries from commercial
software without needing to release your commercial source, for
example how you typically link to Linux's GNU-based C lib. What
you can't do is modify the library source itself, and re-release it
binary-only.

But I don't see why you'd need to modify EasyOSC itself with
additional proprietary code. OSC is a simple enough protocol, and
EasyOSC already has an architecture that lets the app do all the
practical work.
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Damian Stewart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Xavier Miller wrote:

> Are there other OSC C/C++ libraries in the OSC world, that run "out of
> the box"?

i don't know what your context is, but for graphics-based (GLUT) work try
openFrameworks + the ofxOsc addon. it's built on top of oscpack but
provides all sorts of things nicely for you. openFrameworks is an
OSX/Windows/Linux/(iPhone) toolset for making artistic applications using
C++; basically openFrameworks is to C++ as Processing (Proce55ing) is to Java.

--
damian stewart | skype: damiansnz | damian@...
frey | live art with machines | http://www.frey.co.nz
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Steve Harris-12 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 3 Mar 2009, at 16:49, Jeff Glatt wrote:

> EasyOSC is what we call in the Windows world a "dynamic link
> library" ("shared lib" in Linux parlance). Unlike some other
> implementations, it's not statically linked, and therefore does not
> become part of your application.

Erm, static libraries are rather rare nowadays.

> You can link to GPL'ed dynamic/shared libraries from commercial
> software without needing to release your commercial source, for
> example how you typically link to Linux's GNU-based C lib. What
> you can't do is modify the library source itself, and re-release it
> binary-only.

I think you should check this.

1) It is my understanding that you can only link to GPL'd libraries  
from non-GPL compatible software if you don't distribute the software,  
which somewhat defeats the point.

2) Linux's C library is not under the GPL, but the Lesser GPL[1],  
which is very different.

- Steve

[1] http://en.wikipedia.org/wiki/GNU_C_Library
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Damian Stewart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeff Glatt wrote:
> You can link to GPL'ed dynamic/shared libraries from commercial
> software without needing to release your commercial source, for
> example how you typically link to Linux's GNU-based C lib. What
> you can't do is modify the library source itself, and re-release it
> binary-only.

no - you can do this if the dynamic/shared library is LGPL (Lesser GPL or
'Library' GPL), but if the dynamic/shared library is pure GPL, your
application that links to it needs to be pure GPL as well.

--
damian stewart | skype: damiansnz | damian@...
frey | live art with machines | http://www.frey.co.nz
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev

Re: Good C++ libraries ?

by Xavier Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In fact, the EasyOsc licence is too vague, it is not explicitely GPL,
nor LGPL but "GPL-like" and I cannot use it without legal problem.

And technically, I prefer OSCpack which is easier to use, without
defining a lot of callback functions.

Xavier.

Damian Stewart a écrit :

> Jeff Glatt wrote:
>> You can link to GPL'ed dynamic/shared libraries from commercial
>> software without needing to release your commercial source, for
>> example how you typically link to Linux's GNU-based C lib. What
>> you can't do is modify the library source itself, and re-release it
>> binary-only.
>
> no - you can do this if the dynamic/shared library is LGPL (Lesser GPL or
> 'Library' GPL), but if the dynamic/shared library is pure GPL, your
> application that links to it needs to be pure GPL as well.
>
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://lists.create.ucsb.edu/mailman/listinfo/osc_dev