Macaulay2 / mathicgb

Compute (signature) Groebner bases using the fast datastructures from mathic.
2 stars 4 forks source link

'void gb' has incomplete type #36

Closed d-torrance closed 2 years ago

d-torrance commented 2 years ago

I'm getting the following on Ubuntu 18.04 with gcc 7:

libtool: compile:  g++ -DPACKAGE_NAME=\"mathicgb\" -DPACKAGE_TARNAME=\"mathicgb\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"mathicgb 1.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_CXX11=1 -DPACKAGE=\"mathicgb\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./ -I./src/ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 "-fdebug-prefix-map=/build/mathicgb-1.0~git20220311=." -fstack-protector-strong -Wformat -Werror=format-security -c src/mathicgb.cpp  -fPIC -DPIC -o src/.libs/mathicgb.o
src/mathicgb.cpp: In function 'bool mgb::mgbi::internalComputeGroebnerBasis(mgb::GroebnerInputIdealStream&, mgb::mgbi::IdealAdapter&)':
src/mathicgb.cpp:971:10: error: 'void gb' has incomplete type
     auto gb = scheduler.execute([&basis,&conf,&params]{
          ^~
Makefile:1121: recipe for target 'src/mathicgb.lo' failed
make: *** [src/mathicgb.lo] Error 1
d-torrance commented 2 years ago

This may be because 18.04 only has TBB 2017...

d-torrance commented 2 years ago

This may be because 18.04 only has TBB 2017...

I think this is exactly what was going on. There's a TBB 2020 package in the PPA that works just fine. Closing.