VLCKit Snow Leopard 10.6.5 Error

This forum is about all development around libVLC.
soulless
New Cone
New Cone
Posts: 3
Joined: 08 Dec 2010 02:30

VLCKit Snow Leopard 10.6.5 Error

Postby soulless » 11 Dec 2010 04:29

Hi,

I tried to build VLC and VLCKit in several different ways. I need x86_64 and garbage collection supported. I follow Wiki Page Mac OS X Framework but I don't know what I do wrong.

I use git

Code: Select all

$ git clone git://git.videolan.org/vlc.git
- I open ./vlc/projects/macosx/framework/VLCKit.xcodeproj
- I make sure the VLCKit target is selected. I found "Build Everything" target selected (Image 1).

Image

- I select "VLCKit" (Image 2). (when I tried "Build Everything" I found errors too)

Image

- I rightclick on target and build

Image

I found 4 error:

Image

Image

What's wrong? Thank!

Technologicat
Blank Cone
Blank Cone
Posts: 53
Joined: 13 Dec 2010 02:12
VLC version: 1.1.5, 1.2-git
Operating System: Mac OS, Linux

Re: VLCKit Snow Leopard 10.6.5 Error

Postby Technologicat » 16 Dec 2010 06:33

I have the same OS version.

I got the "Ls ... /plugins-*.dat: No such file or directory" error, too. That one seems harmless - it won't cause the build process to fail.

The last error is probably caused by the earlier ones. Linking to libvlccore fails, because libvlccore hasn't been built successfully.

As for getting rid of the other two errors, things to try:
  • The "Build Everything" target should first build VLC, which creates libvlccore. Check that the "Make VLC" target builds successfully before building VLCKit. (If it finishes immediately without compiling, then there might be a problem even if it says it's successful.)
  • Try this, which fixed VLCKit compilation problems for me: viewtopic.php?f=12&t=85362. That is, go into the VLC source tree in the Terminal, and run "make distclean" on the top level (i.e. in the directory that git created when you downloaded the source; in your case, this seems to be "/Users/Fernando/vlc"). Then go back to Xcode and try the "Build Everything" target again. This way it should reconfigure and recompile everything. The problem was that I had first compiled VLC from the command line, which caused the "Make VLC" target in the Xcode project to fail.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 1 guest