Page 1 of 1

Compiling on OSX yields no GUI

Posted: 22 Jan 2013 05:58
by Vaselinessa
I just compiled VLC 2.1 on Mac OSX Lion, yet when I run it, I get no gui. I installed QT 4.8.4 using brew. Any idea what I should do/failed to do?

The following is what I get on the terminal:
$ ./vlc
VLC media player 2.1.0-git Rincewind (revision 1.3.0-git-5381-gecfe166)
[0x10ea0a6e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x10ea909e0] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.0-git Rincewind
Command Line Interface initialized. Type `help' for help.
>

Re: Compiling on OSX yields no GUI

Posted: 22 Jan 2013 10:01
by Jean-Baptiste Kempf
did you make VLC-dep.app ?

Re: Compiling on OSX yields no GUI

Posted: 22 Jan 2013 16:39
by Vaselinessa
No. I just used the single build.sh script (after exporting Xcode variables and cloning the vlc source), as instructed on (http://wiki.videolan.org/OSXCompile).

I don't see any mention of VLC-dep.app on (http://wiki.videolan.org/OSXCompile). Where can I find instructions for making VLC-dep.app? (Thanks.)

Re: Compiling on OSX yields no GUI

Posted: 23 Jan 2013 00:53
by Jean-Baptiste Kempf
make VLC.app
make VLC-dev.app

Re: Compiling on OSX yields no GUI

Posted: 23 Jan 2013 03:43
by Vaselinessa
I made VLC.app as best I understood your instructions, but the result was the same, no gui:
$ make VLC.app
make: `VLC.app' is up to date.
$ make VLC-dev.app
rm -Rf VLC-dev.app
cp -R VLC-tmp VLC-dev.app
/usr/bin/install -c -m 0755 ./bin/.libs/vlc VLC-dev.app/Contents/MacOS/VLC
ln -s -f ../../../modules VLC-dev.app/Contents/MacOS/plugins
$ ./vlc
VLC media player 2.1.0-git Rincewind (revision 1.3.0-git-5381-gecfe166)
[0x7fc183c0a6e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7fc183c90af0] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.0-git Rincewind
Command Line Interface initialized. Type `help' for help.
>
Could it be that my configuration is just not finding Qt4? config.log includes the following:
ENABLE_QT4_FALSE=''
ENABLE_QT4_TRUE='#'
dnl ...
HAVE_QTKIT_FALSE='#'
HAVE_QTKIT_TRUE=''

Re: Compiling on OSX yields no GUI

Posted: 23 Jan 2013 19:50
by Jean-Baptiste Kempf
./VLC-dev.app/Contents/MacOS/VLC

Re: Compiling on OSX yields no GUI

Posted: 26 Jan 2013 05:32
by Vaselinessa
Thank you much.

Re: Compiling on OSX yields no GUI

Posted: 21 Feb 2013 02:08
by lbrianmcgann
I'm having some difficulty compiling vlc 2.1 which you were apparently successful at. Could you give some insight regarding what, if anything had to be changed from the wiki instructions? What version XCode did you use?

Thanks,

Brian