activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mittler" <nathan.mitt...@gmail.com>
Subject Re: Random.cpp and "always search user path" note
Date Sat, 07 Jul 2007 21:18:49 GMT
I am building fine on os x from the command line.  I don't use the xcode
project, however, so my guess is that it's gotten pretty out of date.  If
you'd like to take a crack at fixing it, I'd be happy to apply the patch.

On 7/1/07, huntc <huntc@internode.on.net> wrote:
>
>
> Actually I spoke too soon. While I managed to successfully build
> Random.cpp
> in another project, I'm having terrible difficulty with the modified
> apachemq-cpp xcode project (still getting things like "::acos not defined"
> etc. Stupid question I'm sure, but has anyone tried building activemq-cpp
> inclusive of Random.cpp on Mac OS X? I haven't tried the command line
> build
> given that I don't have cpp-unit etc. just yet on this particular machine.
> I
> can try this tomorrow built for now I'm wondering if anyone can shed light
> on what I'm seeing.
>
> Here's a full listing of the error I'm getting:
>
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:99: error:
> '::acos' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:116: error:
> '::asin' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:131: error:
> '::atan' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:146: error:
> '::atan2' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:162: error:
> '::ceil' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:177: error:
> '::cos' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:192: error:
> '::cosh' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:207: error:
> '::exp' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:222: error:
> '::fabs' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:237: error:
> '::floor' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:252: error:
> '::fmod' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:262: error:
> '::frexp' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:277: error:
> '::ldexp' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:292: error:
> '::log' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:307: error:
> '::log10' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:322: error:
> '::modf' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:341: error:
> '::pow' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:363: error:
> '::sin' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:378: error:
> '::sinh' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:393: error:
> '::sqrt' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:408: error:
> '::tan' has not been declared
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:423: error:
> '::tanh' has not been declared
> /Applications/activemq-cpp-trunk/src/main/activemq/util/Random.cpp:87:
> error: call of overloaded 'log(double&)' is ambiguous
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:295: note:
> candidates are: float std::log(float)
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:299: note:
> long double std::log(long double)
>
> Cheers,
> -C
> --
> View this message in context:
> http://www.nabble.com/Random.cpp-and-%22always-search-user-path%22-note-tf4007472s2354.html#a11381369
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message