Because the version in ports is ancient as a rock and doesn't support SAM4 Processors, I need to build a more recent Version. As usual for Linux- and Windows-centric software, documentation is near to non-existent, especially on how to build it, let alone on FreeBSD....
Apart from some commits stating to have added FreeBSD build support and a few lines in the Makefile, there is absolutely nothing useful (at least for me as a sysadmin and non-Cpp-Programmer) on how to get this thing to build.
If I just try to build the cloned repository:
I've found some hints on how to get GNU make to recognize the include-directory on FreeBSD with --include-dir, but it still fails:
It seems it "forgets" about the include-path halfway through?
As I absolutely don't need the GUI part of bossa, I'm also perfectly fine to get completely rid of it, but I can't find any build-options to only build 'bossac'. The Port actually gives this option, but I couldn't find how it achieves this and gmake doesn't seem to support making a config like with "make config".
Can someone please assist me in how to get bossac built on FreeBSD 12.1-RELEASE (or 11.3-RELEASE) ? As a network/sysadmin with only some very basic C programming experience when it comes to compiled languages (plain bourne shell and pearl are usually my weapons of choice...), I'm completely lost here...
Apart from some commits stating to have added FreeBSD build support and a few lines in the Makefile, there is absolutely nothing useful (at least for me as a sysadmin and non-Cpp-Programmer) on how to get this thing to build.
If I just try to build the cloned repository:
Code:
% gmake
gmake: wx-config: No such file or directory
gmake: wx-config: No such file or directory
CPP BOSSA src/BossaForm.cpp
In file included from src/BossaForm.cpp:8:
src/BossaForm.h:11:10: fatal error: 'wx/artprov.h' file not found
#include <wx/artprov.h>
^~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:260: obj/BossaForm.o] Error 1
I've found some hints on how to get GNU make to recognize the include-directory on FreeBSD with --include-dir, but it still fails:
Code:
% gmake --include-dir=/usr/local/include/wx-3.1/wx/
gmake: wx-config: No such file or directory
gmake: wx-config: No such file or directory
CPP APPLET src/WordCopyArm.cpp
CPP COMMON src/Samba.cpp
CPP COMMON src/Flash.cpp
CPP COMMON src/D5xNvmFlash.cpp
CPP COMMON src/D2xNvmFlash.cpp
CPP COMMON src/EfcFlash.cpp
CPP COMMON src/EefcFlash.cpp
CPP COMMON src/Applet.cpp
CPP COMMON src/WordCopyApplet.cpp
CPP COMMON src/Flasher.cpp
CPP COMMON src/Device.cpp
CPP COMMON src/PosixSerialPort.cpp
CPP COMMON src/BSDPortFactory.cpp
CPP BOSSA src/BossaForm.cpp
In file included from src/BossaForm.cpp:8:
src/BossaForm.h:11:10: fatal error: 'wx/artprov.h' file not found
#include <wx/artprov.h>
^~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:260: obj/BossaForm.o] Error 1
It seems it "forgets" about the include-path halfway through?
As I absolutely don't need the GUI part of bossa, I'm also perfectly fine to get completely rid of it, but I can't find any build-options to only build 'bossac'. The Port actually gives this option, but I couldn't find how it achieves this and gmake doesn't seem to support making a config like with "make config".
Can someone please assist me in how to get bossac built on FreeBSD 12.1-RELEASE (or 11.3-RELEASE) ? As a network/sysadmin with only some very basic C programming experience when it comes to compiled languages (plain bourne shell and pearl are usually my weapons of choice...), I'm completely lost here...