Error in pke cases (installation problem)

Hi,
I used MSYS2 on Windows10 and
I encountered the hundreds of “FAILED” in pke case when I ran “make testall”.

I skipped the errors, and went on running the examples.

I would encounter errors when I ran the pke examples like “simple-ckks-bootstrapping.exe”.
However, it’s fine to run the “simple-integers.exe” under pke examples.

I’m not sure if the errors happen due to my negligence.
Does anyone know what the problem is?

Please post the exact series of commands that you ran to install the library. Also, I’m not familiar with MSYS2. Can you use WSL?

1 Like

We are aware of these errors and working on fixing them.. You can see them on MSYS2 only

1 Like

Thanks for your response.

I just followed the installation steps on the website

I will post my commands to install the libraries later.

And I will try WSL. Thanks for the recommendation.

Thanks for your response.

I would change the environment to install the libraries again.

@wuxian The OpenFHE code we release and recommend to use is in the “main” branch. What branch did you link your code from? We do get some errors on MSYS2 using the “dev” branch, but the “main” branch is free from those errors and your errors may be different from what we get.
Please post the commands you executed to install, link and run OpenFHE code, test, examples,etc. to this thread and I will be able to double check them and try to replicate your errors.
Also, did you install MSYS2 recently or long ago?

1 Like

Thanks for your response. I know what happen to my operations.

I found that I used the ‘dev’ branch link.

And I also used “MSYS2” rather than “MSYS2 MINGW64” by mistake. Thus, I encountered many unexpected errors not mentioned on the official website.

Here is my reinstall steps for my successful installation.

  1. download MSYS2
  2. start MSYS2 MINGW64
  3. pacman –Syu
  4. pacman –S mingw-w64-x86_64-gcc
  5. pacman –S mingw-w64-x86_64-cmake (this leads to the errors)
  6. pacman –S make
  7. pcaman –S git
  8. git clone GitHub - openfheorg/openfhe-development: This is the development repository for the OpenFHE library. The current version is 1.0.4 (released on June 19, 2023).
  9. cd openfhe-development
  10. mkdir build
  11. cd build
  12. cmake … (something reports ‘failed’)
  13. pacman –S autoconf
  14. make –j
  15. make install
  16. export PATH=$PATH:lib
  17. make testall

error mentioned in step 5. (I just skipped this error)

‘failed’ mentioned in step 12.
–Performing Test HAVE_POSIX_REGEX – failed to compile
(several ‘failed’ like this one)

@dsuponitskiy-duality

I am new to this environment so I never use ‘MSYS2’ before.

Due to my operation under ‘MSYS2’, it caused many errors.
Do you need the errors I have met before?

I am not sure the exact operations I have done before because I encountered too many errors then. If you need the errors, I could share them as much as possible.

@wuxian As everything works for you now, I do not need those errors anymore as they seem to be related to the installation.