Hi.
I have reasonable experience in compilation and debugging, but I'm trying to build the from the TechnoBear git repo under Fedora 28.
After following the README & loading the steinburg include files into the tree, I get the following.
Any help is greatly appreciated!!!
$ make
scons: Reading SConscript files ...
platform: linux-x86-64 python: /usr/bin/python
clearing /home/vortex/Development/EigenD/tmp/stage
clearing /home/vortex/Development/EigenD/tmp/pkg
pip: tmp/bin/pip
building release 1.4.12-experimental
scons: done reading SConscript files.
scons: Building targets ...
tmp/obj/lib_alpha2/src/a2dump.o (g++)
In file included from ./picross/pic_functor.h:23,
from ./picross/pic_usb.h:24,
from ./lib_alpha2/alpha2_active.h:24,
from lib_alpha2/src/a2dump.cpp:35:
./picross/pic_weak.h:35:19: error: ‘pic::tracked_t::tinterlock_t’ declared with greater visibility than its base ‘pic::lckobject_t’ [-Werror=attributes]
class tinterlock_t: virtual public pic::atomic_counted_t, virtual public pic::lckobject_t
^~~~~~~~~~~~
lib_alpha2/src/a2dump.cpp:40:8: error: ‘printer_t’ declared with greater visibility than the type of its field ‘printer_t::loop_’ [-Werror=attributes]
struct printer_t: public alpha2::active_t::delegate_t
^~~~~~~~~
lib_alpha2/src/a2dump.cpp:40:8: error: ‘printer_t’ declared with greater visibility than its base ‘alpha2::active_t::delegate_t’ [-Werror=attributes]
In file included from ./picross/pic_weak.h:26,
from ./picross/pic_functor.h:23,
from ./picross/pic_usb.h:24,
from ./lib_alpha2/alpha2_active.h:24,
from lib_alpha2/src/a2dump.cpp:35:
./picross/pic_ref.h: In instantiation of ‘void pic::ref_t::assign(T*) [with T = pic::tracked_t::tinterlock_t]’:
./picross/pic_ref.h:31:24: required from ‘pic::ref_t::~ref_t() [with T = pic::tracked_t::tinterlock_t]’
./picross/pic_weak.h:49:13: required from here
./picross/pic_ref.h:61:70: error: ‘pic_decref’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
void assign(T *p) { if(ptr_ != p) { if(ptr_) { pic_decref(ptr_); } ptr_ = p; if(ptr_) { pic_incref(ptr_); } } }
~~~~~~~~~~^~~~~~
./picross/pic_ref.h:104:13: note: ‘void pic_decref(pic::atomic_counted_t*)’ declared here, later in the translation unit
inline void pic_decref(pic::atomic_counted_t *c) { c->decref(); }
^~~~~~~~~~
./picross/pic_ref.h:61:111: error: ‘pic_incref’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
void assign(T *p) { if(ptr_ != p) { if(ptr_) { pic_decref(ptr_); } ptr_ = p; if(ptr_) { pic_incref(ptr_); } } }
~~~~~~~~~~^~~~~~
./picross/pic_ref.h:103:13: note: ‘void pic_incref(pic::atomic_counted_t*)’ declared here, later in the translation unit
inline void pic_incref(pic::atomic_counted_t *c) { c->incref(); }
^~~~~~~~~~
./picross/pic_ref.h: In instantiation of ‘void pic::ref_t::assign(T*) [with T = pic::msg_t::rep_t]’:
./picross/pic_ref.h:31:24: required from ‘pic::ref_t::~ref_t() [with T = pic::msg_t::rep_t]’
./picross/pic_log.h:53:40: required from here
./picross/pic_ref.h:61:70: error: ‘pic_decref’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
void assign(T *p) { if(ptr_ != p) { if(ptr_) { pic_decref(ptr_); } ptr_ = p; if(ptr_) { pic_incref(ptr_); } } }
~~~~~~~~~~^~~~~~
./picross/pic_ref.h:104:13: note: ‘void pic_decref(pic::atomic_counted_t*)’ declared here, later in the translation unit
inline void pic_decref(pic::atomic_counted_t *c) { c->decref(); }
^~~~~~~~~~
./picross/pic_ref.h:61:111: error: ‘pic_incref’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
void assign(T *p) { if(ptr_ != p) { if(ptr_) { pic_decref(ptr_); } ptr_ = p; if(ptr_) { pic_incref(ptr_); } } }
~~~~~~~~~~^~~~~~
./picross/pic_ref.h:103:13: note: ‘void pic_incref(pic::atomic_counted_t*)’ declared here, later in the translation unit
inline void pic_incref(pic::atomic_counted_t *c) { c->incref(); }
^~~~~~~~~~
cc1plus: all warnings being treated as errors
scons: *** [tmp/obj/lib_alpha2/src/a2dump.o] Error 1
scons: building terminated because of errors.
make: *** [tools/Makefile:7: all] Error 2
$ make stage
scons: Reading SConscript files ...
platform: linux-x86-64 python: /usr/bin/python
clearing /home/vortex/Development/EigenD/tmp/stage
clearing /home/vortex/Development/EigenD/tmp/pkg
pip: tmp/bin/pip
building release 1.4.12-experimental
scons: done reading SConscript files.
scons: Building targets ...
tmp/stage/eigend/DEBIAN/control (action(["tmp/stage/eigend/DEBIAN/control"],)
tmp/obj/lib_alpha2/pystub_alpha_loader.o (g++)
tmp/obj/lib_alpha2/pystub_alpha_loader.cpp: In function ‘int main(int, char**)’:
tmp/obj/lib_alpha2/pystub_alpha_loader.cpp:46:10: error: ‘%s’ directive writing up to 4095 bytes into a region of size 3954 [-Werror=format-overflow=]
"import sys,os\n"
^~~~~~~~~~~~~~~~~
"if '' in sys.path: sys.path.remove('')\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"if os.getcwd() in sys.path: sys.path.remove(os.getcwd())\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"sys.path.insert(0,os.path.join('%s','modules'))\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"sys.path.insert(0,os.path.join('%s','bin'))\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"from lib_alpha2 import alpha_loader\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
escbuffer,escbuffer
~~~~~~~~~
tmp/obj/lib_alpha2/pystub_alpha_loader.cpp:45:14: note: ‘sprintf’ output between 235 and 8425 bytes into a destination of size 4096
sprintf(cmdbuffer,
~~~~~~~^~~~~~~~~~~
"import sys,os\n"
~~~~~~~~~~~~~~~~~
"if '' in sys.path: sys.path.remove('')\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"if os.getcwd() in sys.path: sys.path.remove(os.getcwd())\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"sys.path.insert(0,os.path.join('%s','modules'))\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"sys.path.insert(0,os.path.join('%s','bin'))\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"from lib_alpha2 import alpha_loader\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
escbuffer,escbuffer
~~~~~~~~~~~~~~~~~~~
);
~
cc1plus: all warnings being treated as errors
scons: *** [tmp/obj/lib_alpha2/pystub_alpha_loader.o] Error 1
scons: building terminated because of errors.
make: *** [tools/Makefile:27: stage] Error 2