Building OGRE with Mingw - missed OIS_d.dll

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
An0nym8us
Gnoblar
Posts: 4
Joined: Sat Jul 05, 2014 6:47 pm

Building OGRE with Mingw - missed OIS_d.dll

Post by An0nym8us »

Hello,

I am beginner in C++, but i'm programming a lot of in C# so the C++ learning is easier for me. Anyway...

I wanna make my multiplayer game in OGRE (I was programming under XNA, but it's abandoned project now) in C++. I have lot of errors with OGRE pre-built packages, so i though i must build OGRE from sources. I got some mistakes, mainly with OGRE SDK and Direct3D 11 (i unchecked it in CMake, so i half-fixed it). But when Im building OGRE SDK in CMake, i got OIS_d.dll missed:

Code: Select all

The C compiler identification is GNU 4.8.1
The CXX compiler identification is GNU 4.8.1
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/MinGW/bin/g++.exe
Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Configuring OGRE 1.10.0unstable
Check size of void*
Check size of void* - done
Performing Test OGRE_GCC_HAS_SSE
Performing Test OGRE_GCC_HAS_SSE - Success
Check if the system is big endian
Searching 16 bit integer
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of unsigned short
Check size of unsigned short - done
Using unsigned short
Check if the system is big endian - little endian
Search path: C:/Ogre/built/dependencies;C:/Ogre/test/release/Dependencies;C:/Ogre/src/v1-9/Dependencies;C:/Ogre/test/release/../Dependencies;C:/Ogre/src/v1-9/../Dependencies
Looking for ZLIB...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Found ZLIB: C:/Ogre/built/dependencies/lib/Release/libzlib.a
Looking for ZZip...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Found ZZip: C:/Ogre/built/dependencies/lib/Release/libzziplib.a
Looking for FreeImage...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Found FreeImage: C:/Ogre/built/dependencies/lib/Release/libFreeImage.a
Looking for FREETYPE...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
CMAKE_PREFIX_PATH: C:/Ogre/built/dependencies;C:/Ogre/test/release/Dependencies;C:/Ogre/src/v1-9/Dependencies;C:/Ogre/test/release/../Dependencies;C:/Ogre/src/v1-9/../Dependencies
CMAKE_PREFIX_PATH: C:/Ogre/built/dependencies;C:/Ogre/test/release/Dependencies;C:/Ogre/src/v1-9/Dependencies;C:/Ogre/test/release/../Dependencies;C:/Ogre/src/v1-9/../Dependencies
Found FREETYPE: C:/Ogre/built/dependencies/lib/Release/libfreetype.a
Found OpenGL: opengl32  
Looking for DirectX9...
DirectX9_PREFIX_PATH changed.
Found DirectX9: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib
Looking for DirectX11...
DirectX11_PREFIX_PATH changed.
Found DirectX11: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d11.lib
Looking for Cg...
Cg_PREFIX_PATH changed.
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Found Cg: optimized;C:/Ogre/built/dependencies/lib/Release/cg.lib;debug;C:/Ogre/built/dependencies/lib/Debug/cg.lib
Looking for POCO...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could not locate POCO
Looking for TBB...
Could not locate TBB
Looking for GLSL_Optimizer...
GLSL_Optimizer_PREFIX_PATH changed.
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could not locate GLSL_Optimizer
Looking for HLSL2GLSL...
HLSL2GLSL_PREFIX_PATH changed.
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could not locate HLSL2GLSL
Looking for OIS...
OIS_PREFIX_PATH changed.
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Found OIS: C:/Ogre/built/dependencies/lib/Release/libOIS.dll.a
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
Looking for Softimage...
Softimage_PREFIX_PATH changed.
Could not locate Softimage
Could NOT find TinyXML (missing:  TINYXML_INCLUDE_DIR TINYXML_LIBRARIES) 
Looking for CppUnit...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could not locate CppUnit

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ zlib
+ zziplib
+ freeimage
+ freetype
+ OpenGL
+ OpenGL 3+
+ OpenGL ES 1.x
+ OpenGL ES 2.x
+ OpenGL ES 3.x
+ DirectX9
+ DirectX11
+ cg
+ boost
+ boost-thread
+ boost-date_time
+ boost-system
+ boost-chrono
+ boost-atomic
+ OIS
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ POCO: POCO framework <http://pocoproject.org/>
+ tbb: Threading Building Blocks <http://www.threadingbuildingblocks.org/>
+ GLSL Optimizer: GLSL Optimizer <http://github.com/aras-p/glsl-optimizer/>
+ HLSL2GLSL: HLSL2GLSL <http://hlsl2glslfork.googlecode.com/>
+ Doxygen: Tool for building API documentation <http://doxygen.org>
+ Softimage: Softimage SDK needed for building XSIExporter <FALSE>
+ TinyXML: TinyXML needed for building OgreXMLConverter <FALSE>
+ CppUnit: Library for performing unit tests <http://cppunit.sourceforge.net>
-----------------------------------------------------------------------------

send_errorC:/Ogre/built/dependencies/bin/debug/OIS_d.dll did not exist, can't install!

----------------------------------------------------------------------------
  FEATURE SUMMARY
----------------------------------------------------------------------------

Building components:
  + Paging
  + MeshLodGenerator
  + Property
  + Terrain
  + RTShader System
  + RTShader System Core Shaders
  + RTShader System Extensions Shaders
  + Volume
  + Overlay
Building plugins:
  + BSP scene manager
  + Cg program manager
  + Octree scene manager
  + Portal connected zone scene manager
  + Particle FX
Building rendersystems:
  + Direct3D 9
  + Direct3D 11
  + OpenGL
Building executables:
  + Samples
  + Tools
Building core features:
  + Mesh Lod
  + DDS image codec
  + FreeImage codec
  + ZIP archives

Build type:                      dynamic
Threading support:               background (boost)
Use double precision:            disabled
Assert mode:                     standard
Allocator type:                  nedmalloc (pooling)
STL containers use allocator:    enabled
Strings use allocator:           disabled
Memory tracker (debug):          disabled
Memory tracker (release):        disabled
Use Boost:                       enabled

----------------------------------------------------------------------------

Configuring done
And my one small question: is it good to some options are disabled? Can I enable it?

Anyway. As you can see, CMake configures it successfully. SDK are built successfully too. Any critical errors (I mean errors which make building non-continuable - sorry for my english ;-;). But in C::B i got OIS_d missed. I don't have the OIS_d.dll in "C:\Ogre\built\ogre-sdk\bin\debug". Is it not good, right? How can I fix it? It's my OGRE Dependencies Configuring CMake Log:

Code: Select all

The C compiler identification is GNU 4.8.1
The CXX compiler identification is GNU 4.8.1
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/MinGW/bin/g++.exe
Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for DirectX...
DirectX_PREFIX_PATH changed.
Check size of void*
Check size of void* - done
Found DirectX: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib
DX lib dir: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86
DX lib dir: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86
Check size of void*
Check size of void* - done
Configuring done
And my OGRE Dependencies Building Console Loggs:

log1
http://pastebin.com/guMzwQZZ

log2
http://pastebin.com/pE7WL25k

TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 63

Re: Building OGRE with Mingw - missed OIS_d.dll

Post by TheSHEEEP »

The OIS_d.dll should be in <ogre dependencies>/bin/debug and /release.
My site! - Have a look :)
Also on Twitter - extra fluffy

An0nym8us
Gnoblar
Posts: 4
Joined: Sat Jul 05, 2014 6:47 pm

Re: Building OGRE with Mingw - missed OIS_d.dll

Post by An0nym8us »

Hmm, that's weird.


I think it's CMake or mingw32-make issue. After dependencies building, in built/dependencies/bin/release I got OIS.dll, but in built/dependencies/bin/debug I didn't got OIS_d.dll... but it can be found in building/dep-debug/bin, so I think mingw32-make didn't copied that into CMAKE_INSTALL_PREFIX directory. So - thanks for help :). Problem is solved.

Post Reply