From: Norman V. <nh...@ca...> - 2001-05-30 00:49:54
|
Michael Basler writes: > >I tried again today and still does not get the calibration >program to work. I used fgjs-0.02 + your modified jssuper.h, >and while I can build fgjs, it still reports "Found 0 joysticks". > >This is under Windows, build with Cygwin. Any idea? Yes it still needs to be linked with the appropriate Win32 libraries >(Besides, I tried including fgjs into the compilation of >FlightGear via your Makefile.am + automake -a against the most >recent CVS, but it is not build. It actually creates the *.o >files but does not link them.) Hmm... This is strange, if it figured out how to build the .o files it should have figured out how to link them. Just in case I left a line out here is the Makefile.am that I use It works for me === cut here === noinst_LIBRARIES = libJoystick.a libJoystick_a_SOURCES = joystick.cxx joystick.hxx noinst_PROGRAMS = js_demo fgjs js_demo_SOURCES = js_demo.cxx js_demo_LDADD = $(audio_LIBS) INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src fgjs_SOURCES = fgjs.cxx jsinput.cxx jssuper.cxx fgjs_LDADD = $(audio_LIBS) === cut here ==== after putting this into the Joystick directory as Makefile.am from bash cd to $FG_SRC % aclocal % automake -a % autoconf % ./configure % cd src/Joystick % make clean % make % fgjs Please let me know if this works or not ! FWIW - I believe it should, if you have installed Cygwin with the standard Cygwin setup program Cheers Norman |