Incorrect statement in Release_Linux Makefile
Brought to you by:
darksylinc
The Makefile present in %OgreMeshyFolder%/bin/Release_Linux/ contains a bug on the install routine.
Line 11 to be more exact: cp *.so* /opt/ogremeshy
For me, there were no .so library files present in the directory, and as such the above statement fails with the error cp: cannot stat „.so”: No such file or directory
This line should be replaced with something like this:
shopt -s nullglob
for LIB in *.so*; do
cp "$LIB" /opt/ogremeshy/
done
Interesting. I thought I added instructions in COMPILING.txt to copy those .so files too (like the ones in the Plugins); but of course this isn't needed for OgreMain.so & OgreOverlay if you already have them
I admit the hand-made Makefile is suboptimal. Ideally a CMake or autoconf should detect the plugin locations and autogenerate the plugins.cfg file, thus avoiding the useless need to do so many steps.
I'll try your snippet change and see how it goes.