Hello
I'm posting this for everyone else who has/had problems with it.
I was trying to build 64bit OGRE, but it kept failing, i found out that zlib.lib and zlibd.lib were missing.
Dependencies did build, but zlib was not copied
I found out that if you change zlib project x64 platform configuration IntDir and OutDir from "$(Platform)\$(Configuration)" to "Win32_LIB_$(Configuration)"
I think that its caused by some directory differences in the configuration, OutDir is "$(Platform)\$(Configuration)" but some locations are set to "Win32_LIB_$(Configuration).
BR
Building 64bit Dependencies
-
metsavaht
- Gnoblar
- Posts: 2
- Joined: Sun Feb 15, 2009 10:12 pm
- Location: Estonia
-
Mind Calamity
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Re: Building 64bit Dependencies
Did you build the INSTALL target ? Also where did you get the dependencies from ?
http://www.bitbucket.org/cabalistic/ogredeps
Use CMake to build this (and you must build the INSTALL target in order to install the dependencies, obviously).
BTW - Where the dependencies will be installed depends on the value you set CMAKE_INSTALL_PREFIX to.
http://www.bitbucket.org/cabalistic/ogredeps
Use CMake to build this (and you must build the INSTALL target in order to install the dependencies, obviously).
BTW - Where the dependencies will be installed depends on the value you set CMAKE_INSTALL_PREFIX to.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
notNullGothik
- Gnoblar
- Posts: 13
- Joined: Thu Jul 07, 2011 4:16 pm
Re: Building 64bit Dependencies
Perhaps related, but let me know.
I built 1.8.1 release with VStudio2010 for the x64, it compiled fine.
Running SampleBrowser crashes with the
Another thread mentions a problem with a dependency (zziplib.lib) for an older Ogre version, but i compiled also dependencies using X64 target and the mentioned lib is there, my resources paths look correct.
I got the dependencies from the Ogre page and compiled OK.
Am I missing something?
I built 1.8.1 release with VStudio2010 for the x64, it compiled fine.
Running SampleBrowser crashes with the
Code: Select all
OGRE EXCEPTION(5:ItemIdentityException): Cannot find an archive factory to deal with archive of type Zip in ArchiveManager::load at src/OgreARchiveManager.cpp
I got the dependencies from the Ogre page and compiled OK.
Am I missing something?
-
Kojack
- OGRE Moderator

- Posts: 7157
- Joined: Sun Jan 25, 2004 7:35 am
- Location: Brisbane, Australia
- x 538
Re: Building 64bit Dependencies
I'm not sure where that dependency package came from (as in why was it put on source forge), but it's out of date compared to the standard dependency source we use to build ogre: https://bitbucket.org/cabalistic/ogredeps
The zip contains cg 2.2, freeimage 3.13, freetype 2.3.11, ois 1.2, zlib 1.2.3, zziplib 0.13.57,
while the mercurial repo contains cg 3.1, freeimage 3.15.3, freetype 2.4.9, ois 1.3, zlib 1.2.7, zziplib 0.13.62
That shouldn't affect zip loading, but then again I haven't tried a 64 bit build with that dependency package.
The zip contains cg 2.2, freeimage 3.13, freetype 2.3.11, ois 1.2, zlib 1.2.3, zziplib 0.13.57,
while the mercurial repo contains cg 3.1, freeimage 3.15.3, freetype 2.4.9, ois 1.3, zlib 1.2.7, zziplib 0.13.62
That shouldn't affect zip loading, but then again I haven't tried a 64 bit build with that dependency package.
-
metsavaht
- Gnoblar
- Posts: 2
- Joined: Sun Feb 15, 2009 10:12 pm
- Location: Estonia
Re: Building 64bit Dependencies
I dependencies from Ogre Download page.Mind Calamity wrote:Did you build the INSTALL target ? Also where did you get the dependencies from ?
http://www.bitbucket.org/cabalistic/ogredeps
Use CMake to build this (and you must build the INSTALL target in order to install the dependencies, obviously).
BTW - Where the dependencies will be installed depends on the value you set CMAKE_INSTALL_PREFIX to.
And I think you misunderstand me, when building x64 dependencies from download page, then zlib is not copied to OGRE/Dependencies/(include/lib) directory.
But using dependencies from http://www.bitbucket.org/cabalistic/ogredeps, should fix the problem for me.
Thanks in advanced