Re: [opencbm-user] Errors compiling opencbm on Linux.
Brought to you by:
strik
|
From: Spiro T. <cb...@tr...> - 2007-10-28 17:05:14
|
Hello Luca, Wolfgang, Wolfgang, I added you to the Cc: although I know you are reading this ML via some other means. * On Sun, Oct 28, 2007 at 01:22:05PM +0100 Wolfgang Moser wrote: > gr...@gm... schrieb: > >thanks for the help, with you help and the one of Spiro I am making some > >step towards a successful compilation,although I get still some errors, > >about the lack of xu1541_types.h file. > > this sounds fine. For the xu1541 related file check the > xu1541 module from CVS, too. This is the upcoming USB > support. The OpenCBM API dll/so already supports libusb > calls and therefore requires that header file that can > be found in the other subproject. Well, on the one hand, you are right - on the other hand, it should not be necessary to have the xu1541 files (and libusb) if you are not compiling with xu1541 support. I found that the documentation website is wrong: Instead of issuing "make -f LINUX/Makefile" you must issue "make -f LINUX/Makefile opencbm plugin-xa1541" The first command will compile both plugins for the XA1541 (and XM1541, btw) and for the XU1541, while the later will leave out the support for the XU1541. This, no libusb is needed anymore, and neither the xu1541 files. Additionally, instead of issuing "make -f LINUX/Makefile install" you must issue "make -f LINUX/Makefile install install-plugin-xa1541" Additionally, if you want the documentation, issue a "make -f LINUX/Makefile install-doc" In fact, the documentation is for an earlier version, where this was different. I forgot to update the documentation. > For the Windows build environment Spiro defined some > environment variable that can be set to define the > location of that header file. I don't know, if the > Linux makefiles also know such a variable or if the > header file needs to be placed into some special > location (relative to the OpenCBM root). I believe > the latter one is the case. It is there, in LINUX/config.make, variable XU1541_DIR. Anyway, as I told, it is not necessary to set it if you do not want xu1541 support. > >Btw, have you sent the email only to me and not to the mailing list on > >purpose? Could I answer you extensively on the ML too? I think it could > >be useful to other people too. > > I never registered for the OpenCBM user mailing list, > therefore I'm not allowed to post. This is not true. You can send to the mailing list. I have to approve the posting by hand, though. Anyway, it would be good if you include the ML in the Cc: Wolfgang, additionally, I can put you in the "allow" list (or subscribe you with the "nomail" option), so you can post there without my having to approve it by hand. What do you think about this? Regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ |