projectM-visualizer / frontend-sdl2

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

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

Open ehdocumentdesign opened 4 months ago

ehdocumentdesign commented 4 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 4 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.