Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting build errors #1

Closed
jayavanth opened this issue Dec 8, 2019 · 1 comment
Closed

Getting build errors #1

jayavanth opened this issue Dec 8, 2019 · 1 comment

Comments

@jayavanth
Copy link

$ make shiftNet

g++ --std=c++11 -fopenmp -c alu.cpp -ltfhe-spqlios-fma -ltfhe-spqlios-avx -I/home/jay/tfhe/src/include/
alu.cpp: In function ‘void bootsCOPYPointer(LweSample*, LweSample*)’:
alu.cpp:344:16: error: use of deleted function ‘LweSample& LweSample::operator=(const LweSample&)’
      *result= *a;
                ^
In file included from /home/jay/tfhe/src/include/lwe-functions.h:10:0,
                 from /home/jay/tfhe/src/include/tfhe.h:14,
                 from alu.hpp:9,
                 from alu.cpp:1:
/home/jay/tfhe/src/include/lwesamples.h:18:15: note: declared here
    LweSample& operator=(const LweSample&)=delete;
               ^~~~~~~~
Makefile:19: recipe for target 'alu.o' failed
make: *** [alu.o] Error 1
@CodeForeverZou
Copy link

CodeForeverZou commented Dec 20, 2019

just change " *result= *a; "
to " result= a; "

@qianlou qianlou closed this as completed Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants