Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Getting Started Building on Windows  (Read 313 times)

STRd6

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 1
    • View Profile
Getting Started Building on Windows
« on: June 21, 2011, 11:17:55 PM »

Hi,

I'm using OIS to create a browser plugin to handle joystick input and pass it through to JavaScript. Everything builds fine in Linux when I follow the build instructions, but I can't seem to figure out how to get it building in WindowsXP.

I've installed the latest DirectX, and opened ois.sln in Visual C++ 2010 Express but I'm getting the error: LINK : fatal error LNK1181: cannot open input file 'dxguid.lib'

Any tips on getting started with building on windows, preferably a step by step getting started guide.

Thanks in advance.
« Last Edit: June 21, 2011, 11:29:35 PM by STRd6 »
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +1/-0
  • Posts: 2661
    • View Profile
    • http://www.wreckedgames.com
Re: Getting Started Building on Windows
« Reply #1 on: June 22, 2011, 06:30:55 PM »

After installing DirectX SDK, you have to setup your paths in the IDE's directories settings. I'm pretty sure in Visual Studio it is: Tools -> Options -> Projects and Solutions -> VC++ Directories (Though, seems to be slightly different in VC2010).

Anyway, you need to not only add include paths, but also lib paths.
Logged