Xcode fail, no libprotobuf.dylib framework

388 views
Skip to first unread message

Mimi012

unread,
Jan 29, 2012, 11:40:45 AM1/29/12
to open-lighting
Hi all,


I try since 2 days to create a new Xcode project with OLA, by
following this page: http://www.opendmx.net/index.php/Using_OLA_with_Xcode,
but when I want to import a framework in my project, libprotobuf.dylib
isn't listed!

And when I run an example, error's coming from clock.h, I think it's
normal without libprotobuf.dylib...

I have find the protobuf lib in her google group, instaled this by the
habitual commands ( ./configue, make and check make ), but it not
still appeared on the framework list in Xcode, maybe I have forget a
step?

Thanks in advance!


Jérémy

Mimi012

unread,
Feb 2, 2012, 12:22:46 PM2/2/12
to open-lighting
Finally, after many installation with different way, the
libprotobuf.dylib framework appears in Xcode.

But, when I run the example, I have still 19 errors about the clock.h
file...

Screen-shot: http://www.casimages.com/img.php?i=120202063220175258.png

Thanks in advance for any help!


Jérémy

Simon Newton

unread,
Feb 2, 2012, 12:43:18 PM2/2/12
to open-l...@googlegroups.com
On Thu, Feb 2, 2012 at 11:22 AM, Mimi012 <jeremy...@gmail.com> wrote:
> Finally, after many installation with different way, the
> libprotobuf.dylib framework appears in Xcode.
>
> But, when I run the example, I have still 19 errors about the clock.h
> file...
>
> Screen-shot: http://www.casimages.com/img.php?i=120202063220175258.png
>
> Thanks in advance for any help!

It looks like your libraries are built for a different architecture.
You're trying to build for i386, so I suspect the libraries are only
x86_64.

Try running this:

file /Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libola.dylib

Simon

>
> Jérémy
>
>
> On 29 jan, 17:40, Mimi012 <jeremy.duf...@gmail.com> wrote:
>> Hi all,
>>
>> I try since 2 days to create a new Xcode project with OLA, by
>> following this page:http://www.opendmx.net/index.php/Using_OLA_with_Xcode,
>> but when I want to import a framework in my project, libprotobuf.dylib
>> isn't listed!
>>
>> And when I run an example, error's coming from clock.h, I think it's
>> normal without libprotobuf.dylib...
>>
>> I have find the protobuf lib in her google group, instaled this by the
>> habitual commands ( ./configue, make and check make ), but it not
>> still appeared on the framework list in Xcode, maybe I have forget a
>> step?
>>
>> Thanks in advance!
>>
>> Jérémy
>

> --
> open-l...@googlegroups.com  /  http://groups.google.com/group/open-lighting
> To unsubscribe email open-lightin...@googlegroups.com

Mimi012

unread,
Feb 4, 2012, 9:28:18 AM2/4/12
to open-lighting
Yes it was that the problem, thank.

But in OLA page for Xcode, it say: "Under 'Architectures', set
"Architectures" to 32-bit Universal"
Perhaps it must be updated...

Now I've still many problem,
(maybe I will can receive Arnet with OLA one day...)

So, when I try the first example code of "Using OLA with Xcode" page,
to send the value 255 on all channels in the universe 0.
It's build successful, but I've 2 warning:
http://www.casimages.com/img.php?i=120204025333318247.png
I've lot of error in my output Debuger Output:
http://www.casimages.com/img.php?i=120204033611875202.png
And finally, no value are send on universe 0, I've look with 2 Artnet
monitors.

If I try the ola-dmxmonitor.cpp example in example package, it's my
most interest in OLA, it don't find the ola/Closure.h header...

Sorry to take your time...

Thanks

Jérémy.


On 2 fév, 18:43, Simon Newton <nomi...@gmail.com> wrote:

Simon Newton

unread,
Feb 4, 2012, 12:28:29 PM2/4/12
to open-l...@googlegroups.com
On Sat, Feb 4, 2012 at 6:28 AM, Mimi012 <jeremy...@gmail.com> wrote:
> Yes it was that the problem, thank.
>
> But in OLA page for Xcode, it say: "Under 'Architectures', set
> "Architectures" to 32-bit Universal"
> Perhaps it must be updated...

Yes, that page covers building universal binaries using the mac
universal binary packages we used to release. As you can see it's
quite out of date, maybe you can update it :).


>
> Now I've still many problem,
> (maybe I will can receive Arnet with OLA one day...)
>
> So, when I try the first example code of "Using OLA with Xcode" page,
> to send the value 255 on all channels in the universe 0.
> It's build successful, but I've 2 warning:
> http://www.casimages.com/img.php?i=120204025333318247.png
> I've lot of error in my output Debuger Output:
> http://www.casimages.com/img.php?i=120204033611875202.png
> And finally, no value are send on universe 0, I've look with 2 Artnet
> monitors.

Those compiler warnings aren't a big deal, neither are the debugger
warnings about missing object files.

Let's start from the beginning. Does olad run? Can you connect to the
web interface on port 9090?

Simon

Mimi012

unread,
Feb 4, 2012, 2:44:44 PM2/4/12
to open-lighting
Edit done!

Yes olad is running, started by this command: olad -l 3
I can connect to web server and I can send artnet data,



On 4 fév, 18:28, Simon Newton <nomi...@gmail.com> wrote:

Mimi012

unread,
Feb 4, 2012, 3:25:35 PM2/4/12
to open-lighting
[UPDATE]

I've re-try the first example to send data, i't work, but only on
ola_dmxmonitor,
I can't receive data in Luminet monitor or VVVV patch on another
computer,

After, I've try all examples I've found but only the first work...

Simon Newton

unread,
Feb 4, 2012, 3:36:18 PM2/4/12
to open-l...@googlegroups.com
On Sat, Feb 4, 2012 at 11:44 AM, Mimi012 <jeremy...@gmail.com> wrote:
> Edit done!
>
> Yes olad is running, started by this command: olad -l 3
> I can connect to web server and I can send artnet data

Just to confirm, when you send data with the web interface you're able
to receive data on the other ArtNet devices on your network correct?

Mimi012

unread,
Feb 4, 2012, 4:21:16 PM2/4/12
to open-lighting
With web interface the data are only read by my VVVV patch, who is a
Artnet monitor.
DMX Workshop and Luminet monitor doesn't receive data, the two
software don't discover Ola device.
I've try to edit ola-artnet.conf to modify always_broadcast and
use_limited_broadcast fields, without success.

I think it's not normal...?


On 4 fév, 21:36, Simon Newton <nomi...@gmail.com> wrote:

Simon Newton

unread,
Feb 5, 2012, 11:39:45 AM2/5/12
to open-l...@googlegroups.com
On Sat, Feb 4, 2012 at 1:21 PM, Mimi012 <jeremy...@gmail.com> wrote:
> With web interface the data are only read by my VVVV patch, who is a
> Artnet monitor.
> DMX Workshop and Luminet monitor doesn't receive data, the two
> software don't discover Ola device.
> I've try to edit ola-artnet.conf to modify always_broadcast and
> use_limited_broadcast fields, without success.

DMX Workshop *should* discover the olad node. If that isn't working
you probably need to look at your network configuration.

What interfaces do you have on each machine and what are the addresses
/ netmasks?

Simon

Mimi012

unread,
Feb 13, 2012, 4:27:44 AM2/13/12
to open-lighting
OLA machine: ip: 2.0.0.131 / netmask:
0.0.0.255
DMX Workshop machine: ip: 2.0.0.122 / netmask: 0.0.0.255
They are good.

I can now show the OLA node in DMX Workshop, but it don't receive
ArtNet value from OLA...


On Feb 5, 5:39 pm, Simon Newton <nomi...@gmail.com> wrote:

Simon Newton

unread,
Feb 13, 2012, 11:16:19 AM2/13/12
to open-l...@googlegroups.com
On Mon, Feb 13, 2012 at 1:27 AM, Mimi012 <jeremy...@gmail.com> wrote:
> OLA machine:                           ip: 2.0.0.131 / netmask:
> 0.0.0.255
> DMX Workshop machine:           ip: 2.0.0.122 / netmask: 0.0.0.255
> They are good.
>
> I can now show the OLA node in DMX Workshop, but it don't receive
> ArtNet value from OLA...

That's fine, from what I remember DMXWorkshop isn't great at receiving ArtNet.

Make sure you have the latest version of ola from the git repo. The
start olad, confirm that an ArtNet port is patched to the correct
universe and run in a separate terminal:

ola_artnet -d <artnet_device_number> -u <universe_number>

That will show you the IP addresses of the discovered ArtNet nodes on
your network. Make sure this matches what you expect.

Simon

Mimi012

unread,
Mar 6, 2012, 1:20:38 PM3/6/12
to open-lighting
So, after a long time away of OLA, I'm come back,

I've updated OLA and change Xcode 4 for Xcode 3, the first exemple for
send artnet value work great on my node,
But the exemple called ola-dmxmonitor.cpp is my most interest and it
don't work when I copy the content in my main.mm file, it's the good
way?

This is the screenshot of errors: http://www.casimages.com/img.php?i=120306072224136442.png

Thanks

Jérémy



On Feb 13, 5:16 pm, Simon Newton <nomi...@gmail.com> wrote:
> >> >> >> >> > -->> >> >> >> >open-l...@googlegroups.com /  http://groups.google.com/group/open-lighting>> >> >> >> > To unsubscribe emailopen-light...@googlegroups.com
>
> >> >> >> > -->> >> >> >open-l...@googlegroups.com /  http://groups.google.com/group/open-lighting>> >> >> > To unsubscribe emailopen-light...@googlegroups.com
>
> >> >> > -->> >> >open-l...@googlegroups.com /  http://groups.google.com/group/open-lighting>> >> > To unsubscribe emailopen-light...@googlegroups.com
>
> >> > -->> >open-l...@googlegroups.com /  http://groups.google.com/group/open-lighting>> > To unsubscribe emailopen-light...@googlegroups.com
>
> > -->open-l...@googlegroups.com /  http://groups.google.com/group/open-lighting> To unsubscribe emailopen-light...@googlegroups.com

Simon Newton

unread,
Mar 6, 2012, 8:39:19 PM3/6/12
to open-l...@googlegroups.com
On Wed, Mar 7, 2012 at 2:20 AM, Mimi012 <jeremy...@gmail.com> wrote:
> So, after a long time away of OLA, I'm come back,
>
> I've updated OLA and change Xcode 4 for Xcode 3, the first exemple for
> send artnet value work great on my node,
> But the exemple called ola-dmxmonitor.cpp is my most interest and it
> don't work when I copy the content in my main.mm file, it's the good
> way?
>
> This is the screenshot of errors: http://www.casimages.com/img.php?i=120306072224136442.png

You'll need to add the location where you installed OLA to the include
and libs path. I'm not sure how to do that in xcode 4 but I'm sure
there are examples online.

Simon

> To unsubscribe email open-lightin...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages