chipmachine
chipmachine copied to clipboard
CMake compile error
I try to compile the latest release 1.3c using the apone release 1.2 and get the following error:
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
MP3 /usr/lib64/libmpg123.so
CMake Error at /home/swolf/tmp/chipmachine/src/apone/mods/musicplayer/plugins/tedplugin/CMakeLists.txt:11 (add_library):
add_library cannot create target "gmeplugin" because another target with
the same name already exists. The existing target is a static library
created in source directory
"/home/swolf/tmp/chipmachine/src/apone/mods/musicplayer/plugins/gmeplugin".
See documentation for policy CMP0002 for more details.
CMake Error at /home/swolf/tmp/chipmachine/src/apone/mods/musicplayer/plugins/tedplugin/CMakeLists.txt:13 (target_link_libraries):
Attempt to add link library "/usr/lib64/libz.so" to target "gmeplugin"
which is not built in this directory.
I'm on Arch Linux x86_64. Any suggestions?
I had a go at trying to update the Arch PKGBUILD as well on a clean VM and get the same error.
Any news here?