[OSC_dev] OscPack
Ross Bencina
rossb-lists at audiomulch.com
Thu Mar 8 15:30:47 PST 2007
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: Cavan Fyans
To: Developer's list for the OpenSound Control (OSC) Protocol
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 at create.ucsb.edu
http://www.create.ucsb.edu/mailman/listinfo/osc_dev
_______________________________________________
OSC_dev mailing list
OSC_dev at create.ucsb.edu
http://www.create.ucsb.edu/mailman/listinfo/osc_dev
------------------------------------------------------------------------------
_______________________________________________
OSC_dev mailing list
OSC_dev at create.ucsb.edu
http://www.create.ucsb.edu/mailman/listinfo/osc_dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/osc_dev/attachments/20070308/faed7d3d/attachment.htm
More information about the OSC_dev
mailing list