HxC Floppy Emulator Software on Raspberry Pi

General information and announcements - please read it first before posting.
Post Reply
Jeff
Site Admin
Posts: 8091
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

HxC Floppy Emulator Software on Raspberry Pi

Post by Jeff »

Still some minor things to correct, but the sourceforge trunk can be compiled on the Raspberry Pi:

Image

:D

krupkaj
Posts: 9
Joined: Sun Nov 11, 2012 11:08 pm
Location: Olomouc / Czech
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by krupkaj »

Hi!
how did you compile it? I copied the fltk 1.3.0 to /sources/thirdpartylibs/fltk/fltk-1.3.x and run make in folder build and it ends with error bellow.
What I do wrong.
Thanks

g++ -o hxcfloppyemulator main.o main_gui.o about_gui.o batch_converter_window.o floppy_dump_window.o floppy_infos_window.o license_gui.o log.o rawfile_loader_window.o sdhxcfecfg_window.o usbhxcfecfg_window.o cb_batch_converter_window.o cb_floppy_dump_window.o cb_floppy_infos_window.o cb_rawfile_loader_window.o cb_sdhxcfecfg_window.o cb_usbhxcfecfg_window.o cb_filesystem_generator_window.o filesystem_generator_window.o microintro.o lzw.o pack.o rle.o loader.o soft_cfg_file.o fileselector.o ../sources/thirdpartylibs/fltk/fltk-1.3.x/lib/libfltk.a ../sources/thirdpartylibs/fltk/fltk-1.3.x/lib/libfltk_images.a ../../../build/libhxcfe.so ../../../build/libusbhxcfe.so ../../../build/libhxcadaptor.a -lc -lm -ldl -lpthread -lX11
../sources/thirdpartylibs/fltk/fltk-1.3.x/lib/libfltk.a(Fl_Double_Window.o): In function `Fl_Double_Window::resize(int, int, int, int)':
Fl_Double_Window.cxx:(.text+0xf8): undefined reference to `XdbeDeallocateBackBufferName'
../sources/thirdpartylibs/fltk/fltk-1.3.x/lib/libfltk.a(Fl_Double_Window.o): In function `Fl_Double_Window::flush(int)':
Fl_Double_Window.cxx:(.text+0x304): undefined reference to `XdbeQueryExtension'
Fl_Double_Window.cxx:(.text+0x33c): undefined reference to `XdbeGetVisualInfo'
Fl_Double_Window.cxx:(.text+0x38c): undefined reference to `XdbeFreeVisualInfo'
Fl_Double_Window.cxx:(.text+0x3b8): undefined reference to `XdbeAllocateBackBufferName'
Fl_Double_Window.cxx:(.text+0x4f4): undefined reference to `XdbeSwapBuffers'
collect2: ld returned 1 exit status
make[1]: *** [hxcfloppyemulator] Error 1
make[1]: Leaving directory `/home/pi/hxcfloppyemu/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/build'
make: *** [../HxCFloppyEmulator_software/trunk/build/] Error 2

Jeff
Site Admin
Posts: 8091
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by Jeff »

Hi,

You need to do some apt-get to get the X11 devel library + some other stuff (i don't remember exactly which one.)

krupkaj
Posts: 9
Joined: Sun Nov 11, 2012 11:08 pm
Location: Olomouc / Czech
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by krupkaj »

OK, thanks I made it :)
It looks nice. Just drag & drop files to file browser does not work.

Jeff
Site Admin
Posts: 8091
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by Jeff »

krupkaj wrote:OK, thanks I made it :)
It looks nice. Just drag & drop files to file browser does not work.
Yes. I have to filter the "file://" path style .

Jeff
Site Admin
Posts: 8091
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by Jeff »

Question : Do you have the USB HxC Floppy Emulator ?

krupkaj
Posts: 9
Joined: Sun Nov 11, 2012 11:08 pm
Location: Olomouc / Czech
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by krupkaj »

no I have the SD version

Jeff
Site Admin
Posts: 8091
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by Jeff »

Jeff wrote:
krupkaj wrote:OK, thanks I made it :)
It looks nice. Just drag & drop files to file browser does not work.
Yes. I have to filter the "file://" path style .
The last version on the trunk now solve this issue :wink: .

krupkaj
Posts: 9
Joined: Sun Nov 11, 2012 11:08 pm
Location: Olomouc / Czech
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by krupkaj »

Thanks for info. I will try it :)

krupkaj
Posts: 9
Joined: Sun Nov 11, 2012 11:08 pm
Location: Olomouc / Czech
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by krupkaj »

I have just tried it and it looks like it works OK, even on Raspberry. I will test it more tomorrow. Thanks Jeff

Jeff
Site Admin
Posts: 8091
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by Jeff »

EDIT : Update -> control & upload through a simple web browser :D






https://hxc2001.com/img/hxcfe/USB_HxC_Fl ... Pi_001.jpg

korodit
Posts: 8
Joined: Tue Mar 17, 2015 8:21 am
Location: Hungary

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by korodit »

Hi!

Can You help Me?
I'd like make raspbperry_PI and USB HXC emulator configuration to connect Amada bending machine.
I really like the web control. Unfortunately I can not find a description or the web interface source.
Only find this: https://www.youtube.com/watch?feature=p ... JEekEhZtD8.



Can you give some information?

Thank You!!!!

doctorobelix
Posts: 1
Joined: Wed Apr 15, 2015 6:41 am

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by doctorobelix »

Hi,
I'm trying to setup the USB Hxc RapberryPI web interface, as per the youtube video.
But am strugling to find any info on it.

I've done the following so far.
1. fresh raspbian install, plus number of tools.
2. checked out the code: svn checkout svn://svn.code.sf.net/p/hxcfloppyemu/code/ hxcfloppyemu-code
3. ran a make in the build folder from the above checked out svn.

I can run the command line utility called hxcfe, but otherwise don't see the GUI binary as shown at the start of the post or code that would imply the web interface.

Can someone point me to the web code if its available..... I'm confused : :)

Jeff
Site Admin
Posts: 8091
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by Jeff »

For the web interface i need to push the "proof of concept" work on the repository.

For the GUI, you should be able to compile it. Please note that you need the FLTK library and some X11 devel libraries to compile to the GUI part.

korodit
Posts: 8
Joined: Tue Mar 17, 2015 8:21 am
Location: Hungary

Re: HxC Floppy Emulator Software on Raspberry Pi

Post by korodit »

Hi!

Please help!

I'd like compille usb-hxc software for raspberry. But not working....

" need some X11 dev libraries...." - Please somebody tell me what library I need....

or

Have Anybody got working Raspberry Pi - USB - HXC soft with GUI, and send the image of SD-card to Me????

Thank You!

Post Reply