[vlc-devel] Re: osx compile
Derk-Jan Hartman
d.hartman at student.utwente.nl
Thu Jan 16 04:12:36 CET 2003
On woensdag, jan 15, 2003, at 12:42 Europe/Amsterdam, Nicolas Berloquin
wrote:
> Hello ! Bonjour !
>
> I'm very new to building vlc on osx. Compile worked hum ok, but the
> app I get doesn't work properly.
> When I try to play movies (ie mpeg1 muxed), I get lots of 'message:
> message queue overflowed'
This usually happens when you get a lot of dropped frames or errors in
movies. The exact reason is of yet unknown, but for convenience the
message has been turned into a warning as well, so it shouldn't bother
you that much anymore if you get the latest cvs version.
> So I went into the prefs and selected all I could that had "macosX' in
> its title.
> I then had the following errors:
> macosx: thread -1610609172: mutex_lock failed at
> modules/gui/macosx/controls.m:416 (22:Invalid argument)
> macosx: thread -1610609172: mutex_unlock failed at
> modules/gui/macosx/controls.m:418 (22:Invalid argument)
> macosx: thread -1610609172: mutex_lock failed at
> modules/gui/macosx/controls.m:416 (22:Invalid argument)
> macosx: thread -1610609172: mutex_unlock failed at
> modules/gui/macosx/controls.m:418 (22:Invalid argument)
> macosx: thread -1610609172: mutex_lock failed at
> modules/gui/macosx/controls.m:416 (22:Invalid argument)
> macosx: thread -1610609172: mutex_unlock failed at
> modules/gui/macosx/controls.m:418 (22:Invalid argument)
The preferences are not completely tested at the moment. The advice is
not to use them if you don't have to I guess.
But actually i don't think the errors have anything to do with your
preferences. There is one way to test though.
You could remove the ~/.vlc/vlcrc file.
> here's how I compiled the whole thing:
> I grabbed the vlc-snapshot-20030115 tarball.
Did you do the ./bootstrap first?
> I had troubles with compiling with dvd support, so I used ./configure
> --disable-dvd
> for starter.
> I then added --disable-gtk since I had the following problem, and I
> wanted a cocoa version anyway:
> gcc -Winline -Wdisabled-optimization -Wsign-compare -Wall
> -no-cpp-precomp -D_INTL_REDIRECT_MACROS -finline-limit-30000 -pipe
> -o modules/gui/gtk/libgtk_plugin.dylib
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk_interface.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk_support.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-display.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-open.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-control.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-menu.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-playlist.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-modules.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-preferences.o
> modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk_callbacks.o
> -shared -lintl -fPIC -bundle -undefined error -lcc_dynamic -shared
> -lpthread -L/sw/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lgthread
> -lglib -lpthread -ldl -lintl -lXext -lX11 -lm
> gcc: unrecognized option `-shared'
> gcc: unrecognized option `-shared'
> ld: Undefined symbols:
> _libintl_dgettext
> make[2]: *** [modules/gui/gtk/libgtk_plugin.dylib] Error 1
>
> ./configure gave me one error :
> checking Cocoa/Cocoa.h usability... no
> checking Cocoa/Cocoa.h presence... yes
> configure: WARNING: Cocoa/Cocoa.h: present but cannot be compiled
> configure: WARNING: Cocoa/Cocoa.h: check for missing prerequisite
> headers?
> configure: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's
> result
> checking for Cocoa/Cocoa.h... yes
This is not really an issue. vlc should just work fine.
> vlc compiled fine (no error).
> I then used make install, which almost worked, it refused to install
> vlc.app in
I don't need to do make install.
You can simply run vlc from the compile directory.
> /usr/local/bin :
> /bin/sh ./mkinstalldirs /usr/local/bin
> /usr/bin/install -c -m 644 ./vlc.app /usr/local/bin/vlc.app
> /usr/bin/install: ./vlc.app: Inappropriate file type or format
> make[2]: *** [install-vlc_appDATA] Error 71
>
> So I launched the vlc directly from the compile directory:
> open vlc.app
>
> Please note that I had previously installed the following archives:
> libdvdcss2-dev_1.2.2-1_powerpc.deb libdvdcss2_1.2.2-1_powerpc.deb
> macosx-usr-local-include.tar.bz2 and macosx-usr-local-lib.tar.bz2
>
>
> PS I was wondering whether I should have the plugins included with vlc
> or kept
> in their separate directory.
Don't know. I don't do full compiles.
Note btw, that if you want sound with the latest cvs versions for
instance, that you need libmad.
DJ
------------------------------------------------------------------------
---
Universiteit Twente
------------------------------------------------------------------------
---
Derk-Jan 'The DJ' Hartman
ICQnr: 10111559
Mail: mailto:d.hartman at student.utwente.nl
WWW: http://home.student.utwente.nl/d.hartman/
Goto: http://www.student.utwente.nl/~macsatcampus
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list