RE: [Plib-users] joystick library
Brought to you by:
sjbaker
From: Norman V. <nh...@ca...> - 2001-01-21 22:23:20
|
Steve Baker writes: > >McCracken Ryan wrote: > >> 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? > >Hmmm - I'm a little suprised that something as simple >as: > >g++ js_demo.cxx > >...would compile correctly - but since the JS stuff is just >a single header file - I suppose it could work. This should make a my_js_dem0.exe c++ -o my_js_demo -DWIN32 js_demo.cxx -lwinmm -lplibul I do not like having to define WIN32 to make this work What do folks think of having the make install command create a <plib/config.h> that contains the -Defines used when plib was compiled <plib/config.h> would then be include by our other headers Norman Vine |