Taking this route since I've seen talk lately that the autotools will be abandoned soon by this project, with builds on all Unix-like systems relying on cmake.
I think cmake is being stupid. It doesn't find things even if you point them to it. The error messages contradict each other. See my current stage:
Code: Select all
++ Using Internal Boost
++ OpenGL found : /System/Library/Frameworks/AGL.framework;/System/Library/Frameworks/OpenGL.framework
++ GLUT found : -framework GLUT;-framework Cocoa
++ Found OpenAL
++ SDL Found
Found Vorbis: /usr/local/lib/libvorbis.dylib;/usr/local/lib/libvorbisfile.dylib;/usr/local/lib/libogg.dylib
checking for module 'libavcodec'
package 'libavcodec' not found
CMake Error at /Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
FindFFMPEG.cmake:25 (pkg_check_modules)
CMakeLists.txt:826 (find_package)
checking for module 'libavformat'
package 'libavformat' not found
CMake Error at /Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
FindFFMPEG.cmake:72 (pkg_check_modules)
CMakeLists.txt:826 (find_package)
checking for module 'libavutil'
package 'libavutil' not found
CMake Error at /Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
FindFFMPEG.cmake:120 (pkg_check_modules)
CMakeLists.txt:826 (find_package)
checking for module 'libswscale'
package 'libswscale' not found
Found FFmpeg: /usr/local/lib/libavcodec.a;/usr/local/lib/libavformat.a;/usr/local/lib/libavutil.a
-- FFMpeg's libswscale not found... depending on your ffmpeg version, VS might not build.
checking for module 'OGRE>=1.2.0'
package 'OGRE>=1.2.0' not found
Ogre not found
-- Ogre Not Found: compiling without
checking for module 'cairo'
package 'cairo' not found
CMake Error at /Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/Applications/CMake 2.8-4.app/Contents/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
FindGTK2.cmake:155 (pkg_check_modules)
setup/CMakeLists.txt:15 (find_package)
Found GTK2: /sw/lib/libgtk-x11-2.0.dylib;/sw/lib/libgdk-x11-2.0.dylib;/sw/lib/libgdk_pixbuf-2.0.dylib;/sw/lib/libgmodule-2.0.dylib;/sw/lib/libgthread-2.0.dylib;/sw/lib/libgobject-2.0.dylib;/sw/lib/libpango-1.0.dylib;/sw/lib/libcairo.dylib;/sw/lib/libatk-1.0.dylib;/sw/lib/libgtkglext-x11-1.0.dylib
-- Compiling mesh_tool without OgreMesh support: Ogre not found
Default build type is Release, no cpu opts enabled.
Configuring incomplete, errors occurred!
I'm out of ideas. I have a nice writeup on getting VS to compile from scratch on OSX, but I don't seem able to get past this last hurdle.
(FWIW I installed ffmpeg from source, and all of GTK2 packages via Fink)
Below attached my install notes so far