- Spoiler: Show
Trouble with OSG on Steroids
Trouble with OSG on Steroids
Hi, I'm hoping to contribute to the project but I'm having trouble building on Linux Mint. This is a snippet of the errors I'm getting when I try to make OpenMW:
- AnyOldName3
- Posts: 2676
- Joined: 26 Nov 2015, 03:25
Re: Trouble with OSG on Steroids
If I had to guess, I'd say you're maybe building with half OSG-on-steroids and half stock OSG. The float versions of Quaternion methods are exclusive to our fork as they're doubles in stock OSG. It looks like some things are using floats when doubles are expected.
Re: Trouble with OSG on Steroids
Indeed, looks like you have TWO OSG's installed, and you are using includes from first, libraries from second. Generally you should not use make install - it can mess up your filesystem. Next time if you really need to compile a library, make a package for your distro instead (e.g. via checkinstall).
You can try to remove files which the "make install" added (can be not easy since you removed your build directory, so you can not use "make uninstall".
Re: Trouble with OSG on Steroids
Thanks you two, I didn't know checkinstall was a thing but that seems like a really cool tool!
So I took the nuclear option and reinstalled Mint as didn't have anything special on it, added the OpenMW PPA, and downloaded all the Debian dependencies except for libopenscenegraph-3.4-dev. I cloned the OSGoS repo, made a build dir in the source this time, ran cmake ../ from the build dir, then executed sudo checkinstall -D --install. Then I cloned OpenMW, made a build dir in the source, but cmake ../ fails with the following message:
So clearly I'm still doing something wrong. Is there something I'm missing with checkinstall?
So I took the nuclear option and reinstalled Mint as didn't have anything special on it, added the OpenMW PPA, and downloaded all the Debian dependencies except for libopenscenegraph-3.4-dev. I cloned the OSGoS repo, made a build dir in the source this time, ran cmake ../ from the build dir, then executed sudo checkinstall -D --install. Then I cloned OpenMW, made a build dir in the source, but cmake ../ fails with the following message:
- Spoiler: Show
So clearly I'm still doing something wrong. Is there something I'm missing with checkinstall?