gfdittmer / musicip-libofa Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/musicip-libofa
Automatically exported from code.google.com/p/musicip-libofa
Reproduce the problem:
1. download source archive (libofa-0.9.3) :)
2. ./configure
3. make
I get a build error like this:
make[3]: Entering directory `/libofa-0.9.3/lib'
if /bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../include -g -O2 -Wall -g -MT mainprint.lo -MD -MP -MF
".deps/mainprint.Tpo" -c -o mainprint.lo mainprint.cpp; \
then mv -f ".deps/mainprint.Tpo" ".deps/mainprint.Plo"; else rm -f
".deps/mainprint.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -g -MT
mainprint.lo -MD -MP -MF .deps/mainprint.Tpo -c mainprint.cpp -fPIC -DPIC
-o .libs/mainprint.o
JAMA/tnt_math_utils.h: In function 'Real TNT::hypot(const Real&, const
Real&) [with Real = float]':
JAMA/jama_svd.h:73: instantiated from 'JAMA::SVD<Real>::SVD(const
TNT::Array2D<T>&) [with Real = float]'
mainprint.cpp:151: instantiated from here
JAMA/tnt_math_utils.h:34: error: call of overloaded 'abs(const float&)' is
ambiguous
/usr/include/stdlib.h:691: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:174: note: long long int
__gnu_cxx::abs(long long int)
/usr/include/c++/4.2/cstdlib:143: note: long int
std::abs(long int)
make[3]: *** [mainprint.lo] Error 1
make[3]: Leaving directory `/libofa-0.9.3/lib'
make[2]: *** [all-recursive] Error 1
What version of the product are you using? On what operating system?
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
on Ubuntu 8.10
Please provide any additional information below.
The fix: add a "using __gnu_cxx::abs;" in JAMA/tnt_math_utils.h @ line 33;
After this the build works fine
Original issue reported on code.google.com by [email protected]
on 24 Jan 2009 at 6:24
Attached are two patches from Gentoo that fix build problems with gcc-4*
Original issue reported on code.google.com by [email protected]
on 28 Feb 2009 at 11:34
Attachments:
On OS/X 10.4 (and possibly other versions), the generated libtool does not
directly accept the "-
framework Accelerate" option. Instead, it must be invoked as "-XCClinker
-framework -
XCClinker Accelerate". Here's a patch to fix that.
--- configure.in.orig 2006-05-10 11:00:19.000000000 -0700
+++ configure.in 2008-02-12 13:05:40.000000000 -0800
@@ -76,7 +76,7 @@
if test x$os = xdarwin; then
AC_MSG_NOTICE([Using vDSP on OS X])
- LIBS="$LIBS -framework Accelerate"
+ LIBS="$LIBS -XCClinker -framework -XCClinker Accelerate"
FFT_WRAPPER="fftlibvdsp_op.cpp"
AM_CONDITIONAL(FFTW3, false)
AM_CONDITIONAL(VDSP, true)
Original issue reported on code.google.com by [email protected]
on 12 Feb 2008 at 9:09
Since musicip.com move to www.amplifiedmusicservices.com, the forum, the
contact address or the more info link on the project home are dead.
Original issue reported on code.google.com by [email protected]
on 12 Dec 2009 at 10:22
What steps will reproduce the problem?
1. extract libofa-0.9.3-win32.zip
2. open example in visual studio 2005
3. try compile.
What is the expected output? What do you see instead?
I expect it to compile, i get "cannot find expat.h" error
What version of the product are you using? On what operating system?
visual studio 2005 libofa-0.9.3-win32 winxp
Please provide any additional information below.
The problem seems to be in example/protocol.cpp in lines
#include <expat.h>
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
they seem to need to be ..
#include "expat/expat.h"
#include "curl/curl.h"
#include "curl/types.h"
#include "curl/easy.h"
Thanks.
Original issue reported on code.google.com by [email protected]
on 12 Sep 2008 at 3:36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.