Advertisement
Guest User

Post

a guest
Jul 25th, 2014
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.17 KB | None | 0 0
  1. Hello,
  2.  
  3. I am beginner in C++, but i'm programming a lot of in C# so the C++ learning is easier for me. Anyway...
  4.  
  5. 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:
  6.  
  7. [code]
  8. The C compiler identification is GNU 4.8.1
  9. The CXX compiler identification is GNU 4.8.1
  10. Check for working C compiler: C:/MinGW/bin/gcc.exe
  11. Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
  12. Detecting C compiler ABI info
  13. Detecting C compiler ABI info - done
  14. Check for working CXX compiler: C:/MinGW/bin/g++.exe
  15. Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
  16. Detecting CXX compiler ABI info
  17. Detecting CXX compiler ABI info - done
  18. Configuring OGRE 1.10.0unstable
  19. Check size of void*
  20. Check size of void* - done
  21. Performing Test OGRE_GCC_HAS_SSE
  22. Performing Test OGRE_GCC_HAS_SSE - Success
  23. Check if the system is big endian
  24. Searching 16 bit integer
  25. Looking for sys/types.h
  26. Looking for sys/types.h - found
  27. Looking for stdint.h
  28. Looking for stdint.h - found
  29. Looking for stddef.h
  30. Looking for stddef.h - found
  31. Check size of unsigned short
  32. Check size of unsigned short - done
  33. Using unsigned short
  34. Check if the system is big endian - little endian
  35. 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
  36. Looking for ZLIB...
  37. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  38. Found ZLIB: C:/Ogre/built/dependencies/lib/Release/libzlib.a
  39. Looking for ZZip...
  40. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  41. Found ZZip: C:/Ogre/built/dependencies/lib/Release/libzziplib.a
  42. Looking for FreeImage...
  43. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  44. Found FreeImage: C:/Ogre/built/dependencies/lib/Release/libFreeImage.a
  45. Looking for FREETYPE...
  46. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  47. 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
  48. 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
  49. Found FREETYPE: C:/Ogre/built/dependencies/lib/Release/libfreetype.a
  50. Found OpenGL: opengl32
  51. Looking for DirectX9...
  52. DirectX9_PREFIX_PATH changed.
  53. Found DirectX9: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib
  54. Looking for DirectX11...
  55. DirectX11_PREFIX_PATH changed.
  56. Found DirectX11: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d11.lib
  57. Looking for Cg...
  58. Cg_PREFIX_PATH changed.
  59. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  60. Found Cg: optimized;C:/Ogre/built/dependencies/lib/Release/cg.lib;debug;C:/Ogre/built/dependencies/lib/Debug/cg.lib
  61. Looking for POCO...
  62. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  63. Could not locate POCO
  64. Looking for TBB...
  65. Could not locate TBB
  66. Looking for GLSL_Optimizer...
  67. GLSL_Optimizer_PREFIX_PATH changed.
  68. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  69. Could not locate GLSL_Optimizer
  70. Looking for HLSL2GLSL...
  71. HLSL2GLSL_PREFIX_PATH changed.
  72. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  73. Could not locate HLSL2GLSL
  74. Looking for OIS...
  75. OIS_PREFIX_PATH changed.
  76. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  77. Found OIS: C:/Ogre/built/dependencies/lib/Release/libOIS.dll.a
  78. Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  79. Looking for Softimage...
  80. Softimage_PREFIX_PATH changed.
  81. Could not locate Softimage
  82. Could NOT find TinyXML (missing: TINYXML_INCLUDE_DIR TINYXML_LIBRARIES)
  83. Looking for CppUnit...
  84. Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  85. Could not locate CppUnit
  86.  
  87. -----------------------------------------------------------------------------
  88. -- The following external packages were located on your system.
  89. -- This installation will have the extra features provided by these packages.
  90. + zlib
  91. + zziplib
  92. + freeimage
  93. + freetype
  94. + OpenGL
  95. + OpenGL 3+
  96. + OpenGL ES 1.x
  97. + OpenGL ES 2.x
  98. + OpenGL ES 3.x
  99. + DirectX9
  100. + DirectX11
  101. + cg
  102. + boost
  103. + boost-thread
  104. + boost-date_time
  105. + boost-system
  106. + boost-chrono
  107. + boost-atomic
  108. + OIS
  109. -----------------------------------------------------------------------------
  110. -- The following OPTIONAL packages could NOT be located on your system.
  111. -- Consider installing them to enable more features from this software.
  112. + POCO: POCO framework <http://pocoproject.org/>
  113. + tbb: Threading Building Blocks <http://www.threadingbuildingblocks.org/>
  114. + GLSL Optimizer: GLSL Optimizer <http://github.com/aras-p/glsl-optimizer/>
  115. + HLSL2GLSL: HLSL2GLSL <http://hlsl2glslfork.googlecode.com/>
  116. + Doxygen: Tool for building API documentation <http://doxygen.org>
  117. + Softimage: Softimage SDK needed for building XSIExporter <FALSE>
  118. + TinyXML: TinyXML needed for building OgreXMLConverter <FALSE>
  119. + CppUnit: Library for performing unit tests <http://cppunit.sourceforge.net>
  120. -----------------------------------------------------------------------------
  121.  
  122. send_errorC:/Ogre/built/dependencies/bin/debug/OIS_d.dll did not exist, can't install!
  123.  
  124. ----------------------------------------------------------------------------
  125. FEATURE SUMMARY
  126. ----------------------------------------------------------------------------
  127.  
  128. Building components:
  129. + Paging
  130. + MeshLodGenerator
  131. + Property
  132. + Terrain
  133. + RTShader System
  134. + RTShader System Core Shaders
  135. + RTShader System Extensions Shaders
  136. + Volume
  137. + Overlay
  138. Building plugins:
  139. + BSP scene manager
  140. + Cg program manager
  141. + Octree scene manager
  142. + Portal connected zone scene manager
  143. + Particle FX
  144. Building rendersystems:
  145. + Direct3D 9
  146. + Direct3D 11
  147. + OpenGL
  148. Building executables:
  149. + Samples
  150. + Tools
  151. Building core features:
  152. + Mesh Lod
  153. + DDS image codec
  154. + FreeImage codec
  155. + ZIP archives
  156.  
  157. Build type: dynamic
  158. Threading support: background (boost)
  159. Use double precision: disabled
  160. Assert mode: standard
  161. Allocator type: nedmalloc (pooling)
  162. STL containers use allocator: enabled
  163. Strings use allocator: disabled
  164. Memory tracker (debug): disabled
  165. Memory tracker (release): disabled
  166. Use Boost: enabled
  167.  
  168. ----------------------------------------------------------------------------
  169.  
  170. Configuring done
  171. [/code]
  172.  
  173. And my one small question: is it good to some options are disabled? Can I enable it?
  174.  
  175. 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:
  176.  
  177. [code]
  178. The C compiler identification is GNU 4.8.1
  179. The CXX compiler identification is GNU 4.8.1
  180. Check for working C compiler: C:/MinGW/bin/gcc.exe
  181. Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
  182. Detecting C compiler ABI info
  183. Detecting C compiler ABI info - done
  184. Check for working CXX compiler: C:/MinGW/bin/g++.exe
  185. Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
  186. Detecting CXX compiler ABI info
  187. Detecting CXX compiler ABI info - done
  188. Looking for DirectX...
  189. DirectX_PREFIX_PATH changed.
  190. Check size of void*
  191. Check size of void* - done
  192. Found DirectX: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib
  193. DX lib dir: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86
  194. DX lib dir: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86
  195. Check size of void*
  196. Check size of void* - done
  197. Configuring done
  198. [/code]
  199.  
  200. And my OGRE Dependencies Building Console Loggs:
  201.  
  202. log1
  203. [url]http://pastebin.com/guMzwQZZ[/url]
  204.  
  205. log2
  206. [url]http://pastebin.com/pE7WL25k[/url]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement