OscPack

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

OscPack

by Cavan Fyans :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm having a big problem running the C++ examples of the OscPack  
set.  Each one that I try to run (in Xcode) gives the error:

ZeroLink: unknown symbol '__ZTI9UdpSocket'
Test has exited due to signal 6 (SIGABRT).

The libraries are correctly located there in each project and each  
one builds correctly, it just gives me that error when trying to run  
it.  Can anyone point me in the right  direction of getting this  
running?

Thanks.
Cav.
_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://www.create.ucsb.edu/mailman/listinfo/osc_dev

Re: OscPack

by Tim Kreger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cav,

Turn off the zero link flag/option in the build configuration and  
recompile every thing again.

Cheers

Tim



On 25/02/2007, at 12:39 AM, Cavan Fyans wrote:

> Hi,
>
> I'm having a big problem running the C++ examples of the OscPack  
> set.  Each one that I try to run (in Xcode) gives the error:
>
> ZeroLink: unknown symbol '__ZTI9UdpSocket'
> Test has exited due to signal 6 (SIGABRT).
>
> The libraries are correctly located there in each project and each  
> one builds correctly, it just gives me that error when trying to  
> run it.  Can anyone point me in the right  direction of getting  
> this running?
>
> Thanks.
> Cav.
> _______________________________________________
> OSC_dev mailing list
> OSC_dev@...
> http://www.create.ucsb.edu/mailman/listinfo/osc_dev

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

Re: OscPack

by Cavan Fyans :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tim,

I tried that already, but doing that and then 'building' gives errors (partly copied below).  Any ideas whats going on here? It seems the zero link is the problem, but obviously without it there are others!

Thanks.
Cav.

/usr/bin/ld: Undefined symbols:
IpEndpointName::GetHostByName(char const*)
osc::EndMessage
osc::BeginBundleImmediate
osc::OutboundPacketStream::OutboundPacketStream(char*, unsigned long)
osc::OutboundPacketStream::~OutboundPacketStream()
osc::OutboundPacketStream::operator<<(char const*)
osc::OutboundPacketStream::operator<<(osc::BeginMessage const&)
osc::OutboundPacketStream::operator<<(osc::BundleInitiator const&)
osc::OutboundPacketStream::operator<<(osc::BundleTerminator const&)
osc::OutboundPacketStream::operator<<(osc::MessageTerminator const&)
osc::OutboundPacketStream::operator<<(bool)
osc::OutboundPacketStream::operator<<(float)
osc::OutboundPacketStream::operator<<(long)
osc::EndBundle
UdpSocket::Send(char const*, int)
UdpSocket::Connect(IpEndpointName const&)
UdpSocket::UdpSocket()
UdpSocket::~UdpSocket()
osc::OutboundPacketStream::Data() const
osc::OutboundPacketStream::Size() const
typeinfo for UdpSocket

etc..........




On 25 Feb 2007, at 05:31, Tim Kreger wrote:

Hi Cav,

Turn off the zero link flag/option in the build configuration and recompile every thing again.

Cheers

Tim



On 25/02/2007, at 12:39 AM, Cavan Fyans wrote:

Hi,

I'm having a big problem running the C++ examples of the OscPack  set.  Each one that I try to run (in Xcode) gives the error:

ZeroLink: unknown symbol '__ZTI9UdpSocket'
Test has exited due to signal 6 (SIGABRT).

The libraries are correctly located there in each project and each one builds correctly, it just gives me that error when trying to run it.  Can anyone point me in the right  direction of getting this running?

Thanks.
Cav.
_______________________________________________
OSC_dev mailing list

_______________________________________________
OSC_dev mailing list


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

Re: OscPack

by Ross Bencina-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Looks like you need to link with the right symbols Cavan. That would be liboscpack if you've made a static lib, or else just include the source files in your project (what I usually do)..
 
Ross.
 
(I never worked out why people have so much trouble with linker errors.. they just mean you need to find which object files the symbols are defined in and make sure you link them in)
 
----- Original Message -----
From: cfyans@...
Sent: Tuesday, March 06, 2007 9:45 AM
Subject: Re: [OSC_dev] OscPack

Tim,

I tried that already, but doing that and then 'building' gives errors (partly copied below).  Any ideas whats going on here? It seems the zero link is the problem, but obviously without it there are others!

Thanks.
Cav.

/usr/bin/ld: Undefined symbols:
IpEndpointName::GetHostByName(char const*)
osc::EndMessage
osc::BeginBundleImmediate
osc::OutboundPacketStream::OutboundPacketStream(char*, unsigned long)
osc::OutboundPacketStream::~OutboundPacketStream()
osc::OutboundPacketStream::operator<<(char const*)
osc::OutboundPacketStream::operator<<(osc::BeginMessage const&)
osc::OutboundPacketStream::operator<<(osc::BundleInitiator const&)
osc::OutboundPacketStream::operator<<(osc::BundleTerminator const&)
osc::OutboundPacketStream::operator<<(osc::MessageTerminator const&)
osc::OutboundPacketStream::operator<<(bool)
osc::OutboundPacketStream::operator<<(float)
osc::OutboundPacketStream::operator<<(long)
osc::EndBundle
UdpSocket::Send(char const*, int)
UdpSocket::Connect(IpEndpointName const&)
UdpSocket::UdpSocket()
UdpSocket::~UdpSocket()
osc::OutboundPacketStream::Data() const
osc::OutboundPacketStream::Size() const
typeinfo for UdpSocket

etc..........




On 25 Feb 2007, at 05:31, Tim Kreger wrote:

Hi Cav,

Turn off the zero link flag/option in the build configuration and recompile every thing again.

Cheers

Tim



On 25/02/2007, at 12:39 AM, Cavan Fyans wrote:

Hi,

I'm having a big problem running the C++ examples of the OscPack  set.  Each one that I try to run (in Xcode) gives the error:

ZeroLink: unknown symbol '__ZTI9UdpSocket'
Test has exited due to signal 6 (SIGABRT).

The libraries are correctly located there in each project and each one builds correctly, it just gives me that error when trying to run it.  Can anyone point me in the right  direction of getting this running?

Thanks.
Cav.
_______________________________________________
OSC_dev mailing list

_______________________________________________
OSC_dev mailing list


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

_______________________________________________
OSC_dev mailing list
OSC_dev@...
http://www.create.ucsb.edu/mailman/listinfo/osc_dev
LightInTheBox - Buy quality products at wholesale price