Skip to content

Undefined reference to LZ4_decompress_fast, LZ4_compressHC #804

@translunar

Description

@translunar

I'm building on a Linux machine and getting the following errors:

[ 80%] Built target pcl_add_gaussian_noise
Linking CXX executable ../bin/pcl_boundary_estimation
../lib/libpcl_kdtree.so.1.7.2: undefined reference to `LZ4_decompress_fast'
../lib/libpcl_kdtree.so.1.7.2: undefined reference to `LZ4_compressHC'
collect2: ld returned 1 exit status
make[2]: *** [bin/pcl_boundary_estimation] Error 1
make[1]: *** [tools/CMakeFiles/pcl_boundary_estimation.dir/all] Error 2
make: *** [all] Error 2

I don't see anywhere in the CMakeCache.txt to set the LZ4 directory. I also don't see what in FLANN, but I assume this is a problem with PCL based on where the error is showing up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions