Closed daFish closed 13 years ago
All the errors indicate your boost install is not right. How did you install boost?
I used port to install it.
find out where your boost is installed and change this line of the Makefile CXXFLAGS=-Wall -I/usr/local/include/boost-1_35 -fPIC $(OPTFLAGS)
To yours -- it's probably /opt/local/include/boost-1_46
So, after some fiddling I got it. I wasn't sure if there is any problem with taglib so I recompiled it from the sources and changed the Makefile this way:
diff --git a/src/Makefile b/src/Makefile
index 8a8bba7..faebc92 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,7 +4,7 @@ CC=gcc
ARCH=`uname -m`
#OPTFLAGS=-g -O0
OPTFLAGS=-O3 -DBOOST_UBLAS_NDEBUG -DNDEBUG
-CXXFLAGS=-Wall -I/usr/local/include/boost-1_35 `taglib-config --cflags` -fPIC $(OPTFLAGS)
+CXXFLAGS=-Wall -I/opt/local/var/macports/software/boost/1.46.1_0/opt/local/include -I/opt/local/include -fPIC $(OPTFLAGS)
CFLAGS=-Wall -fPIC $(OPTFLAGS)
LDFLAGS=`taglib-config --libs` -lz -lpthread $(OPTFLAGS)
I adjusted the paths to match my configuration and this did the trick.
great
I'm unable to compile codegen on Mac OS X 10.6.8 using Boost 1.46, TagLib 1.7 & ffmpeg 0.6.3
I get the following error running the make command:
Any suggestions about fixing this?