Closed FreeLikeGNU closed 7 years ago
Looking for OGRE... -- Found Ogre Ghadamon (1.9.0) -- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
Is a problem, you need to compile 2.0 and install it before configuring the other scripts. So the script needs to pause / exit after downloading Ogre to allow the user to install it manually.
CMake Error at cmake_modules/FindCEGUI.cmake:176 (MESSAGE): Error(s) during CEGUI detection!
Then is the error that CEGUI hasn't been compiled and installed. So that would also need to be installed by the user before they can continue. As you can see without using sudo the script is quite useless, unless you can somehow detect when the user has built and installed Ogre 2.0 correctly and then continue to the next step.
Edit: I actually notcied that my setup script is also flawed, it too needs to compile Ogre first before continuing. I'll get around to that, sometime.
The user might have ogre 1.9 (or some other 2.x fork/branch) installed to compile or run other applications. It would be nice to detect the Ogre version your script pulls and utilize that without interfering with a users existing installations. I avoid installing libraries that are not part of the distro repository to maintain the stability of my system and development environment.
@FreeLikeGNU you're smart to keep your system clean, it's pretty frustrating for me too. What I've always wanted to do (and have kept putting off (since all I know about it is that it's difficult)) is build our own packages with the version of Ogre, etc that we need; so we don't have to package them all into the release. Maybe someday we'll be in sync with the library versions in the repos, and even that will be unnecessary.
Maybe someday we'll be in sync with the library versions in the repos
That is very unlikely to happen if we want the packages to work on multiple distributions. Like my Fedora installation has an ABI incompatible libstdc++ with Ubuntu stable release.
Although having a package with minimal dependencies and then another with all the libraries would be quite nice. Or the optimal solution of having different packages for all distributions.
OpenMW requires a few libraries to be installed that are not part of the distro. They distribute these libraries via ppa so that they can be installed or removed easily.
https://launchpad.net/~openmw/+archive/ubuntu/openmw
The compiled program is also distributed this way as well.
https://wiki.openmw.org/index.php?title=Development_Environment_Setup
This still needs fixing. @moopli Can you verify the package names and put them into the setup script? I could probably also do that, but I'd have to use a vm.
I'm closing this as we have a new build script, open a new issue if it is still broken.
Installed the following in Ubuntu 16.04:
libbullet-dev libboost-dev build-essential automake libtool libfreetype6-dev libfreeimage-dev libzzip-dev libxrandr-dev libxaw7-dev freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev libois-dev libboost-thread-dev libtinyxml-dev libglm-dev libavutil-dev libopenal-dev libatomic1 cmake make git mercurial subversion libogre-1.9-dev libcegui-mk2-dev libavresample-dev libswscale-dev libpostproc-dev libswresample-dev libavcodec-dev libavformat-dev libavdevice-dev libglm-dev libogg-dev
removed package installation scripts from SetupThrive.sh and saved as SetupThrive-nosudo.sh (attached) SetupThrive-nosudo.sh.zip
Compile encounters errors: