[CM] testing osc pack/building latest cm
Heinrich Taube
taube at illinois.edu
Fri Aug 9 05:34:39 PDT 2013
ok so I'm doing something wrong with linking. here is a test premake4 that will make a static oscpack library -- can you please try this for me inside your cm/oscpack/ folder to see if it build ocspack's lib and example apps? Ive named it oscpackpremake4.lua so you don't confuse it with cm;s premake
do this:
cp oscpackpremake4.lua cm/oscpack
cd cm/oscpack
premake4 --file=oscpackpremake4.lua
make
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oscpackpremake4.lua
Type: application/octet-stream
Size: 1537 bytes
Desc: not available
Url : http://ccrma-mail.stanford.edu/mailman/private/cmdist/attachments/20130809/73543213/attachment.obj
-------------- next part --------------
On Aug 9, 2013, at 7:13 AM, Antoine Daurat <antoinedaurat at googlemail.com> wrote:
> 1. I am on an iMac with Osx 10.7.5 and Xcode 4.6.3
> 2. I thougth that I had it, but I didn't, now I'm sure that I do have it.
> 3. I deleted all the cm folder and made a clean install
> 4. ok
> 5. the linking stays the same :
> ...
> OscPack.cpp
> Linking Grace
> Undefined symbols for architecture x86_64:
> "IpEndpointName::GetHostByName(char const*)", referenced from:
> IpEndpointName::IpEndpointName(char const*, int) in OscPack.o
> "SocketReceiveMultiplexer::AsynchronousBreak()", referenced from:
> UdpListeningReceiveSocket::AsynchronousBreak() in OscPack.o
> (it goes on a for while)
>
> and finally :
>
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[1]: *** [bin/Grace.app/Contents/MacOS/Grace] Error 1
> make: *** [Grace] Error 2
>
>
> Le 9 août 2013 à 12:51, Heinrich Taube a écrit :
>
>> Hi antoine,
>>
>> 1 what machine and compiler are you using?
>> 2 you need to use premake4.4-beta4 (not premake4.3). it must be the version with beta4 at the end (http://industriousone.com/premake/download)
>> 3 delete your existing sndlib directory so we are sure it pulls the latest version
>> 4 don't worry about the compiler warning, I've not seen it before but ill fix it.
>> 5 the linking is strange, i wonder if i need to make it a library. i was hoping just to compile the files as part of the project since it should make building much easier.
>>
>>
>> On Aug 9, 2013, at 2:50 AM, Antoine Daurat <antoinedaurat at googlemail.com> wrote:
>>
>>> Dear Rick,
>>>
>>> I'd be glad to be of any help testing Osc-pack with Max but I get a bunch of errors when I try to build the latest cm - (allthough I installed the latest premake4) :
>>>
>>> === Configuring Sndlib ====
>>> premake4 --with-g++
>>> /Users/Monster/cm/sndlib/premake4.lua:95: attempt to call field 'is64bit' (a nil value)
>>> === Making Sndlib ====
>>> make[2]: *** No targets specified and no makefile found. Stop.
>>> s7.cpp
>>> Linking s7
>>> ld: warning: directory not found for option '-Lsndlib/lib'
>>>
>>> also a few .cpp files generate warnings, for instance
>>>
>>> PlotWindow.cpp
>>> In file included from src/PlotWindow.cpp:19:
>>> src/Plot.h:148:18: warning: variable 'f' is used uninitialized whenever 'if'
>>> condition is false [-Wsometimes-uninitialized]
>>> else if (num==4)
>>> ^~~~~~
>>>
>>> and then :
>>>
>>> Linking Grace
>>> ld: warning: directory not found for option '-Lsndlib/lib'
>>> Undefined symbols for architecture x86_64:
>>> "IpEndpointName::GetHostByName(char const*)", referenced from:
>>> IpEndpointName::IpEndpointName(char const*, int) in OscPack.o
>>> "SocketReceiveMultiplexer::AsynchronousBreak()", referenced from:
>>> UdpListeningReceiveSocket::AsynchronousBreak() in OscPack.o
>>> etc…….
>>>
>>>
>>> Best regards,
>>>
>>> Antoine
>>
>
More information about the Cmdist
mailing list