Re: Ardour3 on Mac OS X

Elie Richa <[email protected]>
Newsgroups gmane.comp.audio.ardour.devel
Message-ID <CALmN_TdPfz7FzMK6htrAhkMaeTEjJ4qtsrQU_jejtaEG0Te46w@mail.gmail.com>
Hi

On Wed, Mar 20, 2013 at 9:23 PM, Horst Birthelmer <[email protected]>wrote:

> Hello,
>
> I've been on the list for quite some time now but never had anything that
> important to say …
> but then I read the announcement that Ardour3 is released.
> I built it on linux and mac os x 10.8.2 (mountain lion).
> It was actually quite easy with the provided scripts (I have to say I'm a
> software engineer, so building software and porting it to other platforms
> is what I do). Thank you all, for those scripts.
>

I've been trying to build Ardour3 on Mac OS X 10.7.4 and I'm running into
problems, so I was hoping you could give me some pointers since you've
managed to go through it.

I'm still at the stage of building the dependencies listed at
http://ardour.org/current_dependencies.html
I've started with the modified versions of libraries, and I'm currently
stuck with gtk+.

Upon compiling gtkrelocation.c I get a long list of errors, in thousands
(excerpt below). It seems that the compiler ends up in objective-c headers
and can't deal with them because it's not compiling objective-c initially.

I understand the '-x objective-c' argument tells gcc it's should compile
objective-c, but shouldn't that be automatically added by the scripts? I
didn't find anything more than ./configure --enable-relocation && make &&
make install in the documentation.

I'm using the latest Xcode (4.6.1) and the compiler that shipped with it.
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)

Did you encounter such a problem?

For the rest of the (non-modified) dependencies, I've found most of them on
MacPorts.
Can I install them this way or is MacPorts absolutely forbidden?

Thanks.

Elie


--
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_LIBDIR=\"/Users/elie/ardour/deps/gtk+-2.24.18/../../install/lib\"
-DGTK_DATADIR=\"/Users/elie/ardour/deps/gtk+-2.24.18/../../install/share\"
-DGTK_DATA_PREFIX=\"/Users/elie/ardour/deps/gtk+-2.24.18/../../install\"
-DGTK_SYSCONFDIR=\"/Users/elie/ardour/deps/gtk+-2.24.18/../../install/etc\"
-DGTK_VERSION=\"2.24.18\" -DGTK_BINARY_VERSION=\"2.10.0\"
-DGTK_HOST=\"x86_64-apple-darwin11.4.0\" -DGTK_COMPILATION
-DGTK_PRINT_BACKENDS=\"file,cups\" "-DGTK_PRINT_PREVIEW_COMMAND=\"evince
--unlink-tempfile --preview --print-settings %s %f\"" -I.. -I../gtk -I..
-I../gdk -I../gdk -DGTK_DISABLE_DEPRECATED
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED
-D_REENTRANT -I/Users/elie/local/include/glib-2.0
-I/Users/elie/local/lib/glib-2.0/include -I/Users/elie/local/include
-DG_DISABLE_CAST_CHECKS -D_REENTRANT
-I/Users/elie/ardour/deps/cairo-1.12.14/../../install/include/cairo
-I/Users/elie/local/include/glib-2.0
-I/Users/elie/local/lib/glib-2.0/include -I/Users/elie/local/include
-I/Users/elie/local/include/pango-1.0 -I/Users/elie/local/include/pixman-1
-I/Users/elie/local/include/freetype2 -I/Users/elie/local/include/libpng15
-I/Users/elie/local/include/gdk-pixbuf-2.0
-I/Users/elie/local/include/atk-1.0 -DG_DISABLE_SINGLE_INCLUDES
-DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
-DGTK_DISABLE_SINGLE_INCLUDES -I/Users/elie/local/include
-DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gtkrelocation.lo -MD -MP
-MF .deps/gtkrelocation.Tpo -c gtkrelocation.c  -fno-common -DPIC -o
.libs/gtkrelocation.o
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8:0,
                 from gtkrelocation.c:39:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:299:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:299:8:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSString'
...
...

_______________________________________________
ardour-dev mailing list
[email protected]
http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.