Error building svn revision 1904

General discussion forum - for all that doesn't fit in any other category.
Post Reply
ldkraemer
Posts: 51
Joined: Thu Feb 28, 2013 3:47 am

Error building svn revision 1904

Post by ldkraemer »

I've downloaded SVN 1904 to build a Linux Version (Debian 9 - 64 Bit) of the HxC Software. I'm using the fltk-1.3.3-source.tar.gz file, as I've
previously used this fltk version with success.

I've copied the fltk-1.3.3 files and folders to the "/home/larry/Downloads/HxC/slim/hxcfloppyemu-code/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/thirdpartylibs/fltk/fltk-1.3.x" folder using:

Code: Select all

cp -r /home/larry/Downloads/HxC/slim/fltk-1.3.5/*.* /home/larry/Downloads/HxC/slim/hxcfloppyemu-code/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/thirdpartylibs/fltk/fltk-1.3.x
When I try the "make" command I am getting the following error:

Code: Select all

$make
cd ../sources/gui/microintro/converttools/bmptob8 && make
make[1]: Entering directory '/home/larry/Downloads/HxC/slim/hxcfloppyemu-code/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/gui/microintro/converttools/bmptob8'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/larry/Downloads/HxC/slim/hxcfloppyemu-code/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/gui/microintro/converttools/bmptob8'
cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh sob.bmp -BMP8P
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 94208 bytes, Final data size : 15140 bytes)
Create data_bmp_sob_bmp.h :cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh hxc2001.bmp -BMP8P
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 23418 bytes, Final data size : 2064 bytes)
Create data_bmp_hxc2001_bmp.h :cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh hxc2001_backgnd.bmp -BMP8P
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 158268 bytes, Final data size : 4459 bytes)
Create data_bmp_hxc2001_backgnd_bmp.h :cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh zandax_supplydas_booze.mod -DATA
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 9226 bytes, Final data size : 4993 bytes)
Create data_zandax_supplydas_booze_mod.h :cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh maktone_class_cracktro15.mod -DATA
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 13766 bytes, Final data size : 5875 bytes)
Create data_maktone_class_cracktro15_mod.h :cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh jozz_cognition.mod -DATA
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 21792 bytes, Final data size : 9487 bytes)
Create data_jozz_cognition_mod.h :cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh vim_not_again.mod -DATA
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 27514 bytes, Final data size : 17443 bytes)
Create data_vim_not_again_mod.h :cd ../sources/gui/microintro/data/ && ../converttools/bmptob8/bmptoh COPYING_FULL -DATA
Binary2Header V0.6 - (c)HxC2001
Generate header file... (Pack mode : 2, Source size : 44290 bytes, Final data size : 19767 bytes)
Create data_COPYING_FULL.h :g++ -o main.o -c ../sources/main.cxx -O3 -I../sources -I ../../../libhxcfe/trunk/sources -I ../sources/gui -I ../sources/thirdpartylibs/fltk/fltk-1.3.x/ -I ../../../libusbhxcfe/trunk/sources -I ../../../libhxcadaptor/trunk/sources -I ../sources/gui/microintro/ -Wall
g++ -o utils.o -c ../sources/utils.cxx -O3 -I../sources -I ../../../libhxcfe/trunk/sources -I ../sources/gui -I ../sources/thirdpartylibs/fltk/fltk-1.3.x/ -I ../../../libusbhxcfe/trunk/sources -I ../../../libhxcadaptor/trunk/sources -I ../sources/gui/microintro/ -Wall
g++ -o main_gui.o -c ../sources/gui/main_gui.cxx -O3 -I../sources -I ../../../libhxcfe/trunk/sources -I ../sources/gui -I ../sources/thirdpartylibs/fltk/fltk-1.3.x/ -I ../../../libusbhxcfe/trunk/sources -I ../../../libhxcadaptor/trunk/sources -I ../sources/gui/microintro/ -Wall
../sources/gui/main_gui.cxx: In function ‘void save_file_image(Fl_Widget*, void*)’:
../sources/gui/main_gui.cxx:468:90: error: ‘USE_FILTER_EXT’ is not a member of ‘Fl_Native_File_Chooser’
 ive_File_Chooser::SAVEAS_CONFIRM|Fl_Native_File_Chooser::NEW_FOLDER|Fl_Native_File_Chooser::USE_FILTER_EXT);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~
Makefile:150: recipe for target 'main_gui.o' failed
make: *** [main_gui.o] Error 1
I'm stuck now until I get a bit of help with this ERROR MESSAGE.

Thanks.

Larry

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

Re: Error building svn revision 1904

Post by Jeff »

Use the 1.3.5 :

https://www.fltk.org/pub/fltk/1.3.5/flt ... rce.tar.gz

btw the sources download and unpacking is now done automatically by the build process.

Kingstener
Posts: 67
Joined: Sat Mar 04, 2017 1:47 pm

Re: Error building svn revision 1904

Post by Kingstener »

great, in the track analyzer the flickering of the screen when the mouse is moved is finally gone :)

ldkraemer
Posts: 51
Joined: Thu Feb 28, 2013 3:47 am

Re: Error building svn revision 1904

Post by ldkraemer »

Jeff,
I finally got the Software built, with no errors. I've posted a [HOWTO] on the Debian Forums for folks trying
to build on Debian or Raspbian Pi.

http://forums.debian.net/viewtopic.php?f=16&t=144670

Thanks.

Larry

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

Re: Error building svn revision 1904

Post by Jeff »

Why do you need install the kernel headers ?

ldkraemer
Posts: 51
Joined: Thu Feb 28, 2013 3:47 am

Re: Error building svn revision 1904

Post by ldkraemer »

Jeff,
I don't have to install the headers for this software. I just used the code
from another guide, and did not remove that specific part.

Larry

Post Reply