realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Ogre dependencies should be built from source #657

Closed cadaver closed 11 years ago

cadaver commented 11 years ago

To not have to rely on prebuilt dependency packages for each compiler, it's better to build Ogre dependencies from source.

The source repository is here: https://bitbucket.org/cabalistic/ogredeps

peterclemenko commented 11 years ago

Should this be Windows only, or should this include Mac/Linux as well?

cadaver commented 11 years ago

Certainly all platforms. On OSX the problem is actually worst as to avoid linker errors, all libraries except Qt need to be built using the same stdlib settings, depending on whether or not Boost is used (-stdlib=libc++ if Boost is NOT used), and this includes Ogre dependencies.

jonnenauha commented 11 years ago

Aren't we already building from source, its just pre-packaged by Ogre folks in that zip. Hmm, seems their repo has cmake support so that could be used to gain more control over the stdlib etc. on Mac?

I don't think we really have any problems on windows building with the pre-packaged sources with the .sln files? Possibly might have something in @Stinkfist0:s x64 efforts though.

cadaver commented 11 years ago

@jonnenauha Indeed, this is actually an OSX-only issue, as Windows already builds Ogre deps and on Linux they are installed through the package manager, which should be OK in most cases.

On Windows, using CMake may in the long run be more convenient than relying on the pre-existing solutions. The Android port already builds Ogre deps using the CMake system and it has been straightforward.

Stinkfist0 commented 11 years ago

I can implement the Windows-side for this.