coin3d / simage

Image file loading
ISC License
7 stars 9 forks source link

cmake REMOVE_DUPLICATES issue #53

Closed WizzerWorks closed 2 years ago

WizzerWorks commented 3 years ago

I am seeing the following error when running "cmake -Hsimage -Bsimage_build -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DSIMAGE_BUILD_DOCUMENTATION=OFF"

-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Sndfile: /usr/lib/x86_64-linux-gnu/libsndfile.so
-- Found FLAC: /usr/lib/x86_64-linux-gnu/libFLAC.so
-- Found Ogg: /usr/lib/x86_64-linux-gnu/libogg.so
-- Found Vorbis: /usr/lib/x86_64-linux-gnu/libvorbis.so
-- Could NOT find Opus (missing: OPUS_LIBRARY OPUS_INCLUDE_DIR) -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found GIF: /usr/lib/x86_64-linux-gnu/libgif.so (found version "5.1.4") -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34") -- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9") -- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so -- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found -- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so -- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found -- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so -- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so - found -- Found LibLZMA: /usr/include (found version "5.2.2") -- Found Zstd: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file guile/gh.h -- Looking for include file guile/gh.h - not found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file libguile.h -- Looking for include file libguile.h - not found -- Looking for include file memory.h -- Looking for include file memory.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file windows.h -- Looking for include file windows.h - not found -- Looking for 15 include files assert.h, ..., time.h -- Looking for 15 include files assert.h, ..., time.h - found CMake Error at CMakeLists.txt:779 (list): list sub-command REMOVE_DUPLICATES requires list to be present.

-- Configuring incomplete, errors occurred!

WizzerWorks commented 3 years ago

This is on an Ubuntu 18.04 LTS 64-bit platform.

I installed simage with

git clone --recurse-submodules git@github.com:coin3d/simage.git simage

$ cmake --version cmake version 3.10.2

VolkerEnderlein commented 3 years ago

Thanks for the thourough bug report, Mark. I'll have a look onto the issue.

WizzerWorks commented 2 years ago

I just pulled commit 34b5a77bcf32426e894fa603f2720a0c34f7adae, the recent commit (453ac8efbeb438df94a8e93e3b36522408805e34) appears to fix this issue. Thank you for helping.