Skip to content

3rdparty library for development and packaging of color and film applications

Notifications You must be signed in to change notification settings

mikaelsundell/3rdparty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon 3rdparty

3rdparty library for development and packaging of film and color applications.

3rdparty.

3rdparty consists of

  • A set of libraries, viewers and media provided on Mac based platforms.

  • A set of configurations to simplify the process of building 3rdparty support without the knowledge of each individual build system.

  • Up to date support for the latest Mac platforms and versions.

3rdparty can be used to

  • Resolve the most common libraries used for film and color applications.

  • Only build a subset of libraries with a default or non-default configuration.

  • Test new versions of libraries before official releases.

3rdparty is not

  • A package manager, it's a complement.

3rdparty build

Install CMake

CMake version > 3.27.0 is required.

http://www.cmake.org

Build 3rdparty

3rdparty is built using the build.sh script.

Build all - Qt, debug and release:

./build.sh all

Qt will be downloaded and built in qt and 3rdparty in build. Targets will use the product version as CMAKE_OSX_DEPLOYMENT_TARGET obtained using sw_vers -productVersion for compatibility. Build using arguments debug or release individually will not clean the build before starting.

Debug Qt with 3rdparty

Debugging in Qt with hybrid frameworks make uses of the DYLD_IMAGE_SUFFIX environment variable. Set it to _debug to force the linker to use the debug version when the framework.

DYLD_IMAGE_SUFFIX=_debug

3rdparty advanced

The 3rdparty project can be built from the top directory by typing make. Advanced users can use CMake directly, see CMakeLists.txt.

The build directory contains platform, architecture and debug or release versions of projects. After each successful build binaries, libraries and related files will be installed with absolute install names.

Each application using the 3rdparty project should have it's own deployment process to remap install names before distribution.

CMake configuration

Add cmake to path:

export PATH=$PATH:/Applications/CMake.app/Contents/bin

Build configuration

Useful make commands:

make                      Build all projects for development and test in 'build/platform'
make debug                Build all projects with debugging symbols when possible.
make clean                Get rid of all the temporary files in 'build/platform'.
make help                 Print all the make options

Additionally, a few helpful modifiers:

make verbose=0 ...        Show all compilation commands
make build_libs=1 ...     Build libraries
make build_viewers=1 ...  Build viewers
make build_media=1 ...    Build media

Platforms

macOS Monterey x86_64

Darwin Kernel Version 21.6.0: Sun Nov  6 23:31:16 PST 2022; root:xnu-8020.240.14~1/RELEASE_X86_64 x86_64 i386
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0

Xcode 14.3.1
Build version 14E300c

macOS Monterey Apple M1

Darwin Kernel Version 21.6.0: Sun Nov  6 23:31:16 PST 2022; root:xnu-8020.240.14~1/RELEASE_X86_64 x86_64 i386
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0

Xcode 13.3.1
Build version 13E500a

macOS Sonoma Apple M1

Darwin 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0

Xcode 15.0.1
Build version 15A507

macOS Configuration

uname -a
clang --version
xcodebuild -version

Github

Contact

Mikael Sundell - mikael.sundell@gmail.com

License

3rdparty packages and their copyrights:

Icon designed using images from Flaticon.com https://www.flaticon.com/authors/vectaicon

Alembic Copyright (c) 2013, Sony Pictures Imageworks Inc. and Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd

Autoconf Copyright © 1992-1996, 1998-2012 Free Software Foundation, Inc

Automake Copyright © 1992-1996, 1998-2012 Free Software Foundation, Inc

Boost Copyright Beman Dawes, David Abrahams, 1998-2005 Copyright Rene Rivera 2004-2007

bzip2 Copyright Copyright © 1996-2007 Julian Seward

CMake Copyright 2006-2010 Kitware, Inc Copyright 2006 Alexander Neundorf neundorf@kde.org

Draco Copyright 2019 The Draco Authors

FFmpeg Copyright (c) Fabrice Bellard

Freetype David Turner, Robert Wilhelm, and Werner Lemberg

Gettext Copyright © 1992-1996, 1998-2012 Free Software Foundation, Inc

Giflib Copyright (c) 1997 Eric S. Raymond

GLEW Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org> Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org> Copyright (C) 2002, Lev Povalahev

GLM Copyright (c) 2005 - 2013 G-Truc Creation

Harfbuzz Copyright © 2018 Google, Inc.

Imath Copyright (c) 2002, Industrial Light & Magic, a division of Lucas Digital Ltd. LLC

Jasper Copyright (c) 2001-2006 Michael David Adams Copyright (c) 1999-2000 Image Power, Inc Copyright (c) 1999-2000 The University of British Columbia

Jpeg Copyright (C) 1991-1997, Thomas G. Lane

GTest Copyright 2005, Google Inc

HDF5 Copyright by The HDF Group. Copyright by the Board of Trustees of the University of Illinois All rights reserved.

Ilmbase Copyright (c) 2002, Industrial Light & Magic, a division of Lucas Digital Ltd. LLC

Json Licensed under the MIT License http://opensource.org/licenses/MIT. SPDX-License-Identifier: MIT Copyright (c) 2013-2022 Niels Lohmann http://nlohmann.me.

Lcms2 Copyright (c) 1998-2012 Marti Maria Saguer

Libjpeg-turbo Copyright (C) 1994-1997, Thomas G. Lane Modified 2019 by Guido Vollbeding

Libpng Copyright (c) 1998-2009 Glenn Randers-Pehrson (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)

Libtool Copyright © 1992-1996, 1998-2012 Free Software Foundation, Inc

LibWebp Copyright 2010 Google Inc. All Rights Reserved

LLVM Copyright (C) 2022 The llvm project

MaterialX TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.

NanoGUI NanoGUI was developed by Wenzel Jakob wenzel.jakob@epfl.ch.

Nasm 1996-2017 The NASM Authors

Ninja Copyright 2011 Google Inc. All Rights Reserved.

OCIO Copyright (c) 2003-2010 Sony Pictures Imageworks Inc., et al

OIIO Copyright 2008 Larry Gritz and the other authors and contributors. All Rights Reserved.

OneTBB Copyright (c) 2005-2021 Intel Corporation

OpenEXR Copyright (c) 2002, Industrial Light & Magic, a division of Lucas Digital Ltd. LLC

OpenJPEG Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium Copyright (c) 2002-2014, Professor Benoit Macq Copyright (c) 2010-2011, Kaori Hagihara

OpenCV Copyright © 2024 , OpenCV team

OpenSubDiv Copyright 2022 Pixar

Pcre2 Original API code Copyright (c) 1997-2012 University of Cambridge New API code Copyright (c) 2016-2020 University of Cambridge

PTex Copyright 2014 Disney Enterprises, Inc. All rights reserved

Pybind Copyright (c) 2016 Wenzel Jakob wenzel.jakob@epfl.ch, All rights reserved

Pyside2 Copyright (C) 2020 The Qt Company Ltd

Pyside2-tools Copyright (C) 2020 The Qt Company Ltd

Tclap Copyright (c) 2018 Google LLC All rights reserved

Tiff Copyright (c) 1988-1997 Sam Leffler Copyright (c) 1991-1997 Silicon Graphics, Inc.

Usd Copyright 2022 Pixar

x264 Copyright Copyright (C) 2003-2013 x264 project

yasm Copyright Copyright (c) 2001-2007 Peter Johnson

Zlib Copyright Copyright (C) 1995-2004 Jean-loup Gailly.