Skip to content

compile error on Ubuntu 20.04.03 LTS 64Bit #23

Open
@busybeaver42

Description

Scanning dependencies of target nicp_aligner
[ 89%] Building CXX object nicp/nicp/CMakeFiles/nicp_aligner.dir/nicp_aligner.cpp.o
[ 92%] Linking CXX executable ../../../bin/nicp_aligner
/usr/bin/ld: ../../../lib/libnicp.so: undefined reference to LZ4_resetStreamHC' /usr/bin/ld: ../../../lib/libnicp.so: undefined reference to LZ4_setStreamDecode'
/usr/bin/ld: ../../../lib/libnicp.so: undefined reference to LZ4_decompress_safe' /usr/bin/ld: ../../../lib/libnicp.so: undefined reference to LZ4_decompress_safe_continue'
/usr/bin/ld: ../../../lib/libnicp.so: undefined reference to `LZ4_compress_HC_continue'
collect2: error: ld returned 1 exit status
make[2]: *** [nicp/nicp/CMakeFiles/nicp_aligner.dir/build.make:118: ../bin/nicp_aligner] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:135: nicp/nicp/CMakeFiles/nicp_aligner.dir/all] Fehler 2
make: *** [Makefile:103: all] Fehler 2

I have found following hint:
flann-lib/flann#384
---> the lz4 stuff is only included in C_SOURCES, which on Windows is only built into flann_s.
Is it right, is your source code for windows OS, only?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions