Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Any tutorial on how to install OIS on windows?  (Read 266 times)

aitorman

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 2
    • View Profile
Any tutorial on how to install OIS on windows?
« on: January 08, 2012, 04:07:20 AM »

Hi there, i'm trying to install OIS to use it in some project, but i've no idea where to start. I have recently (yesterday) reinstalled windows 7 so i have only a few things installed like vc++ express trial and dev-c++. I've been looking some tutorials but i can't understand what i have to do. Thanks in advance
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +1/-0
  • Posts: 2661
    • View Profile
    • http://www.wreckedgames.com
Re: Any tutorial on how to install OIS on windows?
« Reply #1 on: January 16, 2012, 09:56:07 PM »

You need to have a recent DirectX SDK. Do not use Dev-C++ (it is old!), Visual C++ Express is fine. You may need to configure your IDE's project directories to point at DirectX's include / lib folders. If you are using 2010, the latest OIS svn trunk has 2010 project files which already set the DirectInput paths.

Open up your IDE, go to build->batch build->select all and then build. You can unselect 64 bit targets (won't build with express).
Logged

aitorman

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 2
    • View Profile
Re: Any tutorial on how to install OIS on windows?
« Reply #2 on: January 27, 2012, 01:16:10 PM »

You need to have a recent DirectX SDK. Do not use Dev-C++ (it is old!), Visual C++ Express is fine. You may need to configure your IDE's project directories to point at DirectX's include / lib folders. If you are using 2010, the latest OIS svn trunk has 2010 project files which already set the DirectInput paths.

Open up your IDE, go to build->batch build->select all and then build. You can unselect 64 bit targets (won't build with express).
Ok, thanks. I'll try it
Logged