Dear all,
I have a working version of ngsolve installed from source on OSX Ventura (and Apple M1). I followed Apple Silicon - #6 by matthiash for the build I am following the tutorial NGSolve Basics — NGS-Py 6.2.2305 documentation to build mylittlengsolve. When running the command “make -j” I get the following error message:
**/Users/alesscon/mylittlengsolve/1_Basic/myngspy.cpp:40:30:** **error:** **expected class name**
class NumProcPyDemo : public NumProc
**^**
**/Users/alesscon/mylittlengsolve/1_Basic/myngspy.cpp:45:29:** **error:** **use of undeclared identifier 'PDE'**
NumProcPyDemo (shared_ptr<PDE> apde, const Flags & flags)
**^**
**/Users/alesscon/mylittlengsolve/1_Basic/myngspy.cpp:46:7:** **error:** **member initializer 'NumProc' does not name a non-static data member or base class**
: NumProc (apde) { ; }
**^~~~~~~~~~~~~~**
**/Users/alesscon/mylittlengsolve/1_Basic/myngspy.cpp:144:8:** **error:** **no template named 'RegisterNumProc'**
static RegisterNumProc<NumProcPyDemo> npinit1("demopy");
**^**
4 errors generated.
make[2]: *** [CMakeFiles/myngspy.dir/myngspy.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/myngspy.dir/all] Error 2
make: *** [all] Error 2
Do you please have any advice on how to solve it?
Thanks a lot,
Alessandro
python version 3.11
make version 3.81
cmake version 3.27.2