[Plib-users] joystick library
Brought to you by:
sjbaker
From: McCracken R. <inf...@ya...> - 2001-01-21 20:42:43
|
Hey, I'm trying to break free of the classroom dependencies inflicted on me (college experiences). So, here goes my first question (hopefully not too naive - the subject matter in the archive is pretty intimidating): OK, running Windows '98 (try not to hate me too much for doing this). I installed Cygwin and it seems to work quite well. I downloaded the plib stuff (1.3.1). I did what the readme told me to: ./configure make make install OK, so now I have the example js_demo.cxx file in /usr/local/plib_examples-1.3.1/src/js In this directory there is also a file called 'js_demo.exe'. So I type './js_demo', and -Eureka!- it works for both of my controllers. But now I decide to try running some of my own stuff. There is a problem at the point at which the statement js[0]->notWorking () appears. This statement returns a value of 1 (not working). I attached the js_demo.cxx code for ease of viewing. I figured I might try running js_demo.cxx on my own to see if it was my code. So I type this: g++ js_demo.cxx The executable appears by default in a.exe. I run it and the controllers still don't work. So if the code that created js_demo.exe is js_demo.cxx, is there some sort of option that I'm missing to get an executable that works like the js_demo.exe? Or is the problem more serious/complicated? Any help would be GREATLY appreciated. Thanks, /R __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ |