I installed OpenFHE on Windows 11, with msys2, according to this
I have followed every command, and every test with the “make testall” worked fine
I then created another repo, outside the openfhe-development repo, and build it like this
But when I’m trying to run a simple test on my other repo in which I linked OpenFHE, it gives me no return, and no error message, just nothing happens.
@HugoJazz Hi, on Windows you should always add the location of your libraries to PATH. This is what to run in the command prompt: “export PATH=${PATH}:full_library_install_location”.
if you installed OpenFHE in /home/hugojazz/local, then you should replace full_library_install_location with /home/hugojazz/local/lib.
Hello sir!. I face the same issue when I try to run an executable file. On Windows, how exactly do I have to run .exe file with the absolute location of libraries?
Those are not the correct directory names for the binaries. I would suggest installing the binaries somewhere in your home directory in MinGW, as it is easier to specify their location. Personally, I never use any location that starts with ‘C:/’.
If you want to leave the libraries in “c:/Program FIles” then your path should start with:
/c/“Program Files”/.
Thank you, sir. I am posting this just for the record so others can get some hints in the future. If openfhe does not install inside MinGW (installed somewhere else), add the absolute path (.dll containing bin folder path) inside the msys64/etc/profile like this.
//
Alternatively, add the path(s) to ORIGINAL_PATH variable in c:/msys64/etc/profile to make this change permanent. (Follow this as mentioned in standard documentation)