Re: [petsc-users] Some question about compiling c++ program including PETSc using cmake

2023-12-13 Thread Pierre Jolivet
> On 14 Dec 2023, at 4:13 AM, 291--- via petsc-users > wrote: > > Dear SLEPc Developers, > > I a am student from Tongji University. Recently I am trying to write a c++ > program for matrix solving, which requires importing the PETSc library that > you have developed. However a lot of

[petsc-users] Some question about compiling c++ program including PETSc using cmake

2023-12-13 Thread 2111191--- via petsc-users
Dear SLEPc Developers, I a am student from Tongji University. Recently I am trying to write a c++ program for matrix solving, which requires importing the PETSc library that you have developed. However a lot of errors occur in the cpp file when I use #include directly. I also try to use