[CM] testing osc pack/building latest cm
Antoine Daurat
antoinedaurat at googlemail.com
Fri Aug 9 05:13:04 PDT 2013
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