Facing error with Palisade Signature compiling in Mac

Hi there!

I already compiled and installed Palisade v1.11.7 on my Mac without any issues but once I tried to compile and install Palisade Signature lib on Mac but facing the following problem. Could someone in this community help me?


– The CXX compiler identification is AppleClang 13.1.6.13160021
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
***** INSTALL IS AT /usr/local; to change, run cmake with -DCMAKE_INSTALL_PREFIX=/your/path
– Architecture is arm64
– PALISADE_LIBRARIES found: PALISADEcore;PALISADEpke;PALISADEbinfhe;-Xpreprocessor;-fopenmp;-lomp;-Wno-unused-command-line-argument
– BUILD_UNITTESTS: ON
– BUILD_EXAMPLES: ON
– GIT_SUBMOD_AUTO: ON
***** INSTALL IS AT /usr/local; to change, run cmake with -DCMAKE_INSTALL_PREFIX=/your/path
– clean files /Users/xxx/palisade-signature/build/CMakeCache.txt
– Found Git: /usr/bin/git (found version “2.32.1 (Apple Git-133)”)
– Submodule update
Synchronizing submodule url for ‘third-party/google-test’
– Configuring done
– Generating done
– Build files have been written to: /Users/mostafa.hanifineomindtech.com/palisade-signature/build
[ 7%] Building CXX object src/signature/CMakeFiles/signatureobj.dir/lib/gpv-impl.cpp.o
In file included from /Users/xxx/palisade-signature/src/signature/lib/gpv-impl.cpp:26:
/Users/xxx/palisade-signature/src/signature/lib/gpv.cpp:263:27: error: no member named ‘EuclideanNorm’ in ‘lbcrypto::Matrix<lbcrypto::PolyImpl<bigintfxd::BigVectorImpl<BigInteger<integral_dtype, 3500>>>>’
double z_euc_norm = z.EuclideanNorm();
~ ^
/Users/xxx/palisade-signature/src/signature/lib/gpv-impl.cpp:35:16: note: in instantiation of member function ‘lbcrypto::GPVSignatureScheme<lbcrypto::PolyImpl<bigintfxd::BigVectorImpl<BigInteger<integral_dtype, 3500>>>>::Verify’ requested here
template class GPVSignatureScheme;
^
In file included from /Users/xxx/palisade-signature/src/signature/lib/gpv-impl.cpp:26:
/Users/xxx/palisade-signature/src/signature/lib/gpv.cpp:263:27: error: no member named ‘EuclideanNorm’ in ‘lbcrypto::Matrix<lbcrypto::PolyImpl<bigintnat::NativeVector<bigintnat::NativeIntegerT>>>’
double z_euc_norm = z.EuclideanNorm();
~ ^
/Users/xxx/palisade-signature/src/signature/lib/gpv-impl.cpp:42:16: note: in instantiation of member function ‘lbcrypto::GPVSignatureScheme<lbcrypto::PolyImpl<bigintnat::NativeVector<bigintnat::NativeIntegerT>>>::Verify’ requested here
template class GPVSignatureScheme;
^
2 errors generated.
make[2]: *** [src/signature/CMakeFiles/signatureobj.dir/lib/gpv-impl.cpp.o] Error 1
make[1]: *** [src/signature/CMakeFiles/signatureobj.dir/all] Error 2
make: *** [all] Error 2

Regards,
Mostafa

This has nothing to do with Gitlab, ask on appropriate forums, for example Apple or Palisade.

@hanifi Welcome to the GitLab community :slight_smile:

As @iwalker mentioned, we discuss mostly GitLab related questions and problems in our community. For project-specific installation and build problems, I’d suggest asking in the project’s issue tracker directly at PALISADE / PALISADE signature · GitLab

Cheers,
Michael

1 Like