projectM-visualizer / frontend-sdl-cpp

Standalone application based on libSDL that turns your desktop audio into awesome visuals. Available on most platforms supported by both libprojectM and libSDL.
GNU General Public License v3.0
66 stars 35 forks source link

[DEV BUG] frontend-sdl2 `cmake --target install` error #82

Open emh698 opened 6 months ago

emh698 commented 6 months ago

Please confirm the following points:

Affected Project

projectM Standalone SDL2 Frontend (includes the Steam app)

Affected Version

c53e732

Operating Systems and Architectures

Linux (x86_64)

Build Tools

Compiler: GNU GCC, Build Tool: CMake

Additional Project, OS and Toolset Details

linux debian/ubuntu/Mint

Type of Defect

CMake/CPack issue (configuration, build, install or packaging)

Log Output

CMake Error at cmake_install.cmake:79 (file):
  file INSTALL cannot find
  "/home/xxxx/src/projectm-frontend-sdl2/src/resources/icons/icon_16x16.png":
  No such file or directory.

gmake: *** [Makefile:100: install] Error 1

Describe the Issue

The build succeeds (the imGui interface looks good so far!) but I get an error after the script copies the executable to the install dir.

kblaschke commented 6 months ago

The installation process isn't finished yet on master, some files not properly installed as you're seeing.

I was working on it, but couldn't finish due to being abroad until early June. Linux installation should work in my dev branch though:

https://github.com/kblaschke/frontend-sdl2/tree/installation-and-packaging

It's not based on latest master, so if you're going to try out my branch, remember to rebase it on the master branch of this repository to get the other fixes as well.

I'll keep this issue open until I've merged the branch, as others might run into the same trap.