Open titustesche opened 1 year ago
I managed to get a working executable on Linux by relaxing the compiler expectations that came with C++17.
Make the following surgical strikes:
Add -fpermissive
to the compiler flags in
build/Makefile.tbbmalloc
line 54:M_CPLUS_FLAGS := -fpermissive $(subst $(WARNING_KEY),,$(M_CPLUS_FLAGS)) $(DEFINE_KEY)__TBBMALLOC_BUILD=1
CMakeLists.txt
line 60:set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
Remove the exception declaration throw (std::bad_alloc)
in src/tbbmalloc/proxy.cp
lines 234 & 242:
void * operator new(size_t sz) {
void* operator new[](size_t sz) {
I've followed the steps described to build the Application and everything went fine until
make -j 4
. It seems to work just fine at first, but then throws some exceptions and exits.and
Everything that is mentioned to be needed is present on my System.
I'm currently running Garuda Linux Dr460nized 64 Bit