Building 64bit Dependencies

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
metsavaht
Gnoblar
Posts: 2
Joined: Sun Feb 15, 2009 10:12 pm
Location: Estonia

Building 64bit Dependencies

Post by metsavaht » Wed Sep 05, 2012 9:47 am

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
0 x

User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia

Re: Building 64bit Dependencies

Post by Mind Calamity » Wed Sep 05, 2012 11:42 am

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.
0 x
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

notNullGothik
Gnoblar
Posts: 13
Joined: Thu Jul 07, 2011 4:16 pm

Re: Building 64bit Dependencies

Post by notNullGothik » Thu Sep 06, 2012 1:14 am

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

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
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?
0 x

User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7147
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 16

Re: Building 64bit Dependencies

Post by Kojack » Thu Sep 06, 2012 6:38 am

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.
0 x

metsavaht
Gnoblar
Posts: 2
Joined: Sun Feb 15, 2009 10:12 pm
Location: Estonia

Re: Building 64bit Dependencies

Post by metsavaht » Thu Sep 06, 2012 10:03 am

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.
I dependencies from Ogre Download page.

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
0 x

Post Reply