frontend-sdl2 icon indicating copy to clipboard operation
frontend-sdl2 copied to clipboard

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

Open emh789 opened this issue 1 year ago • 1 comments
trafficstars

Please confirm the following points:

  • [X] This report is NOT about the Android apps in the Play Store
  • [X] I have searched the project page to check if the issue was already reported

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.

emh789 avatar May 28 '24 04:05 emh789

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.

kblaschke avatar May 28 '24 07:05 kblaschke