Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Strange, by default OIS should pick up DirectX and use it. It seems cmake
doesn't
find DirectX, and uses the 'win32native'. The win32native is just a very basic
and
incomplete fallback to do some testing (if DirectX is missing/not found).
Hopefully it is just a matter of fixing the DirectX recognition. Can you
provide some
cmake build log to find out if DirectX was found or out?
Thanks!
Erwin
Original comment by erwin.coumans
on 4 Jan 2010 at 7:54
Charlie, do you have an idea what could be wrong?
Original comment by erwin.coumans
on 4 Jan 2010 at 7:56
I was able to recreate the issue, and it should be fixed now
The OgreKit version of OIS is the most recent 1.2.0
Original comment by snailr...@gmail.com
on 4 Jan 2010 at 9:41
Are those gkInternalWindowSystem.cpp fixes used by both win32native and the
DirectX
OIS version?
>>This library is not using DirectX for windows...
Are we sure that cmake DirectX detection is working fine?
silveira.nestor, can you provide the cmake output?
Original comment by erwin.coumans
on 4 Jan 2010 at 11:42
Yes, both win32native and DirectX versions are effected by the previous commit.
>> Are we sure that cmake DirectX detection is working fine?
It works fine here. It depends on the DXSDK_DIR environment variable, make sure
it's
set if it cannot be found.
This should have been automatically set when the SDK was installed.
Note however, DirectX compiling is broken on MinGW and disabled.
There are unresolved symbols in the X libraries, when linking with msvcrt.dll
provided by MinGW.
Original comment by snailr...@gmail.com
on 5 Jan 2010 at 1:02
>> Are we sure that cmake DirectX detection is working fine?
Yes. It is working fine in my computer too...
This is the cmake output and it look like everything is working fine!
(This output is after I have reinstalled DirectX SDK in my computer!) I think
that
the problem was mine (sorry for the confusion guys!)
Check for working C compiler: cl
Check for working C compiler: cl -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: cl
Check for working CXX compiler: cl -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for DirectX...
DirectX_PREFIX_PATH changed.
Found DirectX: C:/Archivos de programa/Microsoft DirectX SDK (August
2009)/Lib/x86/d3d9.lib
DX lib dir: C:/Archivos de programa/Microsoft DirectX SDK (August 2009)/Lib/x86
Looking for Cg...
Cg_PREFIX_PATH changed.
Could not locate Cg
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ OpenGL
+ DirectX
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ cg: C for graphics shader language
<http://developer.nvidia.com/object/cg_toolkit.html>
-----------------------------------------------------------------------------
Entering D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/bullet
Entering D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletMultiThreaded
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletSoftBody
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletCollision
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletDynamics
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/LinearMath
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Returning to D:/OgreKit/Dependencies/Source/bullet
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/FreeImage
Entering D:/OgreKit/Dependencies/Source/FreeImage/ZLib
Returning to D:/OgreKit/Dependencies/Source/FreeImage
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/OIS
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/ZZipLib
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/FreeType
Returning to D:/OgreKit/Dependencies
Returning to D:/OgreKit
Entering D:/OgreKit/OgreLite
Entering D:/OgreKit/OgreLite/OgreMain
Returning to D:/OgreKit/OgreLite
Entering D:/OgreKit/OgreLite/RenderSystems
Entering D:/OgreKit/OgreLite/RenderSystems/GL
Returning to D:/OgreKit/OgreLite/RenderSystems
Returning to D:/OgreKit/OgreLite
Entering D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/OctreeSceneManager
Returning to D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/BSPSceneManager
Returning to D:/OgreKit/OgreLite/PlugIns
Could not find dependency: Cg
Skipping Plugin_CgProgramManager
Entering D:/OgreKit/OgreLite/PlugIns/ParticleFX
Returning to D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/PCZSceneManager
Returning to D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/OctreeZone
Returning to D:/OgreKit/OgreLite/PlugIns
Returning to D:/OgreKit/OgreLite
Returning to D:/OgreKit
Entering D:/OgreKit/Core
Entering D:/OgreKit/Core/Engine
Returning to D:/OgreKit/Core
Entering D:/OgreKit/Core/bParse
Returning to D:/OgreKit/Core
Returning to D:/OgreKit
Entering D:/OgreKit/Tests/ImplTest
Returning to D:/OgreKit
Entering D:/OgreKit/Tests/OgreKit
Returning to D:/OgreKit
Entering D:/OgreKit/Tests/ScriptTest
Entering D:/OgreKit/Tests/ScriptTest/Lua
Entering D:/OgreKit/Tests/ScriptTest/Lua/lua
Returning to D:/OgreKit/Tests/ScriptTest/Lua
Returning to D:/OgreKit/Tests/ScriptTest
Returning to D:/OgreKit
Configuring done
Looking for DirectX...
DirectX_PREFIX_PATH changed.
Found DirectX: C:/Archivos de programa/Microsoft DirectX SDK (August
2009)/Lib/x86/d3d9.lib
DX lib dir: C:/Archivos de programa/Microsoft DirectX SDK (August 2009)/Lib/x86
Looking for Cg...
Could not locate Cg
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ OpenGL
+ DirectX
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ cg: C for graphics shader language
<http://developer.nvidia.com/object/cg_toolkit.html>
-----------------------------------------------------------------------------
Entering D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/bullet
Entering D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletMultiThreaded
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletSoftBody
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletCollision
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/BulletDynamics
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Entering D:/OgreKit/Dependencies/Source/bullet/src/LinearMath
Returning to D:/OgreKit/Dependencies/Source/bullet/src
Returning to D:/OgreKit/Dependencies/Source/bullet
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/FreeImage
Entering D:/OgreKit/Dependencies/Source/FreeImage/ZLib
Returning to D:/OgreKit/Dependencies/Source/FreeImage
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/OIS
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/ZZipLib
Returning to D:/OgreKit/Dependencies
Entering D:/OgreKit/Dependencies/Source/FreeType
Returning to D:/OgreKit/Dependencies
Returning to D:/OgreKit
Entering D:/OgreKit/OgreLite
Entering D:/OgreKit/OgreLite/OgreMain
Returning to D:/OgreKit/OgreLite
Entering D:/OgreKit/OgreLite/RenderSystems
Entering D:/OgreKit/OgreLite/RenderSystems/GL
Returning to D:/OgreKit/OgreLite/RenderSystems
Returning to D:/OgreKit/OgreLite
Entering D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/OctreeSceneManager
Returning to D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/BSPSceneManager
Returning to D:/OgreKit/OgreLite/PlugIns
Could not find dependency: Cg
Skipping Plugin_CgProgramManager
Entering D:/OgreKit/OgreLite/PlugIns/ParticleFX
Returning to D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/PCZSceneManager
Returning to D:/OgreKit/OgreLite/PlugIns
Entering D:/OgreKit/OgreLite/PlugIns/OctreeZone
Returning to D:/OgreKit/OgreLite/PlugIns
Returning to D:/OgreKit/OgreLite
Returning to D:/OgreKit
Entering D:/OgreKit/Core
Entering D:/OgreKit/Core/Engine
Returning to D:/OgreKit/Core
Entering D:/OgreKit/Core/bParse
Returning to D:/OgreKit/Core
Returning to D:/OgreKit
Entering D:/OgreKit/Tests/ImplTest
Returning to D:/OgreKit
Entering D:/OgreKit/Tests/OgreKit
Returning to D:/OgreKit
Entering D:/OgreKit/Tests/ScriptTest
Entering D:/OgreKit/Tests/ScriptTest/Lua
Entering D:/OgreKit/Tests/ScriptTest/Lua/lua
Returning to D:/OgreKit/Tests/ScriptTest/Lua
Returning to D:/OgreKit/Tests/ScriptTest
Returning to D:/OgreKit
Configuring done
Original comment by silveira.nestor@gmail.com
on 5 Jan 2010 at 8:45
Thank you!
Original comment by erwin.coumans
on 5 Jan 2010 at 7:15
Original issue reported on code.google.com by
silveira.nestor@gmail.com
on 4 Jan 2010 at 3:30