ggmorse icon indicating copy to clipboard operation
ggmorse copied to clipboard

issues with running make install

Open grkblood13 opened this issue 2 years ago • 3 comments

Running make install doesn't install libggmorse-common-sdl2.so and libimgui-sdl2.so. Additionally the example executables don't get placed in /usr/local/bin (if they even should?).

The following will fix all of this but you probably have a much cleaner way of doing this.

# build install (optional)
sudo make install
sudo cp examples/libggmorse-common-sdl2.so /usr/local/lib
sudo cp examples/third-party/imgui/libimgui-sdl2.so /usr/local/lib
sudo cp bin/ggmorse-* /usr/local/bin
cd /usr/local/bin
sudo patchelf --set-rpath /lib:/lib64:/usr/local/lib ggmorse-*

grkblood13 avatar Jun 02 '22 19:06 grkblood13