zfp/1.0.1

Compressed numerical arrays that support high-speed random access
Recipe info
2023-12-21

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
zfp/1.0.1

Using zfp

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
zfp/1.0.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("zfp/1.0.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): zfp
  • CMake target name(s): zfp::cfp
  • cfp => zfp::cfp
    _zfp => zfp::zfp
    
  • pkg-config file name(s): zfp.pc
  • cfp => zfp-cfp.pc
    _zfp => zfp-_zfp.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(zfp REQUIRED)
# ...
target_link_libraries(YOUR_TARGET zfp::cfp)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the zfp homepage listed above:

#include "zfp.h"
#include "zfp.hpp"
#include "zfp/array.h"
#include "zfp/array.hpp"
#include "zfp/array1.hpp"
#include "zfp/array2.hpp"
#include "zfp/array3.hpp"
#include "zfp/array4.hpp"
#include "zfp/bitstream.h"
#include "zfp/bitstream.inl"
#include "zfp/codec/gencodec.hpp"
#include "zfp/codec/zfpcodec.hpp"
#include "zfp/constarray1.hpp"
#include "zfp/constarray2.hpp"
#include "zfp/constarray3.hpp"
#include "zfp/constarray4.hpp"
#include "zfp/factory.hpp"
#include "zfp/index.hpp"
#include "zfp/internal/array/cache.hpp"
#include "zfp/internal/array/cache1.hpp"
#include "zfp/internal/array/cache2.hpp"
#include "zfp/internal/array/cache3.hpp"
#include "zfp/internal/array/cache4.hpp"
#include "zfp/internal/array/exception.hpp"
#include "zfp/internal/array/handle1.hpp"
#include "zfp/internal/array/handle2.hpp"
#include "zfp/internal/array/handle3.hpp"
#include "zfp/internal/array/handle4.hpp"
#include "zfp/internal/array/header.hpp"
#include "zfp/internal/array/iterator1.hpp"
#include "zfp/internal/array/iterator2.hpp"
#include "zfp/internal/array/iterator3.hpp"
#include "zfp/internal/array/iterator4.hpp"
#include "zfp/internal/array/memory.hpp"
#include "zfp/internal/array/pointer1.hpp"
#include "zfp/internal/array/pointer2.hpp"
#include "zfp/internal/array/pointer3.hpp"
#include "zfp/internal/array/pointer4.hpp"
#include "zfp/internal/array/reference1.hpp"
#include "zfp/internal/array/reference2.hpp"
#include "zfp/internal/array/reference3.hpp"
#include "zfp/internal/array/reference4.hpp"
#include "zfp/internal/array/store.hpp"
#include "zfp/internal/array/store1.hpp"
#include "zfp/internal/array/store2.hpp"
#include "zfp/internal/array/store3.hpp"
#include "zfp/internal/array/store4.hpp"
#include "zfp/internal/array/traits.hpp"
#include "zfp/internal/array/view1.hpp"
#include "zfp/internal/array/view2.hpp"
#include "zfp/internal/array/view3.hpp"
#include "zfp/internal/array/view4.hpp"
#include "zfp/internal/cfp/array1d.h"
#include "zfp/internal/cfp/array1f.h"
#include "zfp/internal/cfp/array2d.h"
#include "zfp/internal/cfp/array2f.h"
#include "zfp/internal/cfp/array3d.h"
#include "zfp/internal/cfp/array3f.h"
#include "zfp/internal/cfp/array4d.h"
#include "zfp/internal/cfp/array4f.h"
#include "zfp/internal/cfp/header.h"
#include "zfp/internal/codec/genheader.hpp"
#include "zfp/internal/codec/zfpheader.hpp"
#include "zfp/internal/zfp/inline.h"
#include "zfp/internal/zfp/macros.h"
#include "zfp/internal/zfp/system.h"
#include "zfp/internal/zfp/types.h"
#include "zfp/version.h"