VLCKit for OS X build failed in 10.9.4

This forum is about all development around libVLC.
powerqian
New Cone
New Cone
Posts: 2
Joined: 25 Aug 2014 05:54

VLCKit for OS X build failed in 10.9.4

Postby powerqian » 03 Sep 2014 07:02

Hi,

I tried to build the VLCKit but it fails. I run the xcodebuild from the command line since build from Xcode isn't working.

I exported the PATH:

export CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
export CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
export OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

And then
xcodebuild -project VLCKit.xcodeproj -verbose -target "Fetch libvlc"
xcodebuild -project VLCKit.xcodeproj -verbose -target "Setup VLC contribs" -configuration Release
xcodebuild -project VLCKit.xcodeproj -verbose -target "Run VLC configure" -configuration Release

The above three steps are all successful.

But it fails at the next step:
xcodebuild -project VLCKit.xcodeproj -verbose -target "Make VLC" -configuration Release

It stopped at

In file included from XX/vlc-unstable/modules/codec/jpeg.c:30:
In file included from XX/vlc-unstable/contrib/i686-apple-darwin9/include/jpeglib.h:27:
XX/vlc-unstable/contrib/i686-apple-darwin9/include/jmorecfg.h:263:16: error: expected '}'
typedef enum { FALSE = 0, TRUE = 1 } boolean;
^
#define FALSE 0
^
typedef enum { FALSE = 0, TRUE = 1 } boolean;
^
clang: warning: -O4 is equivalent to -O3
1 error generated.
make[4]: *** [codec/jpeg.lo] Error 1
clang: warning: -O4 is equivalent to -O3
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Showing first 200 notices only
Showing first 200 warnings only

** BUILD FAILED **

I tried to comment out those def, but it fails at another places:

grep: /usr/lib/libiconv.la: No such file or directory
CCLD libflac_plugin.la
sed: /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[4]: *** [libzvbi_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
ld: in XX/vlc-unstable/contrib/i686-apple-darwin9/lib/libogg.a(framing.o), could not parse object file XX/vlc-unstable/contrib/i686-apple-darwin9/lib/libogg.a(framing.o): 'Invalid record', using libLTO version 'LLVM version 3.4svn' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libflac_plugin.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Showing first 200 notices only
Showing first 200 warnings only

My OS X is 10.9.4. Any solutions? Thanks in advance.

sergiu.burlacu
New Cone
New Cone
Posts: 1
Joined: 20 Mar 2015 15:42

Re: VLCKit for OS X build failed in 10.9.4

Postby sergiu.burlacu » 20 Mar 2015 15:46

Hi,

I am confronted with the same problem as above.
Some more information on what I am trying to achieve:
* Trying to build the 32 bit version of VLC Kit.

I managed to build the 64 bit but I cannot use it in the project. I need the 32 bit version and this is an error I cannot find a solution to.
If you have any insights on this I would be grateful.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 39 guests