Hi, evereyone, i’m trying to build my own app. I follow the steps in Building User Applications — OpenFHE documentation, but when i execute the make comand the output is:
c++: error: unrecognized command line option ‘-fopenmp=libomp’; did you mean ‘-fopenmp-simd’?
c++: error: unrecognized command line option ‘-fopenmp=libomp’; did you mean ‘-fopenmp-simd’?
make[2]: *** [CMakeFiles/test.dir/build.make:63: CMakeFiles/test.dir/demo-simple-example.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/test.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
The installation is correct as I can run the example bin/examples/pke/simple-integers correctly.
This error does not always appear as other times I have tried to run my own application and it has worked correctly.