Page 1 of 1

Mysterious VLC/VLCKit build problem [SOLVED]

Posted: 16 Dec 2010 00:43
by Technologicat
Hi all,

A quick note just in case someone else runs into this. Environment: OS X 10.6.5, Xcode 3.2.5, and VLC 1.2-git sources from today's HEAD.

Symptoms:
  • Upon building the "Build Everything" target in projects/macosx/framework/VLCKit.xcodeproj, the build fails, and only config.log is created in projects/macosx/framework/build/Debug/vlc_build_dir/x86_64. No other files can be found there. (Assuming a debug build and x86_64 architecture. Adjust as necessary.)
  • However, Xcode is configured correctly (Xcode > Preferences > Building > Place Build Products in: Project directory).
Resolution:
  • Look in the generated config.log. If it suggests (near the end of the file) running a "make distclean" in the source tree, do so (in the Terminal).
  • Then, try again building the "Build Everything" target in Xcode. Now it should work.
Possible cause of problem:
  • Did you attempt to compile this VLC source tree on the command line (as per the OSXCompile wiki instructions, which work for the older 1.1.x) before building the Xcode project? This may cause configure to complain that the source tree is already configured, and the build will fail to start.