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

have error when makeing #9

Open
qc20000sj opened this issue Jun 12, 2024 · 3 comments
Open

have error when makeing #9

qc20000sj opened this issue Jun 12, 2024 · 3 comments

Comments

@qc20000sj
Copy link

Hello author, thank you very much for your code, but when I was compiling this program, the following error occurred:
1.error: constraints not satisfied for class template 'ListEnumeration_Meta' [with ListType = Parallel_List_FullElement_T<Element_T<kAryPackedContainer_T<unsigned long, 35, 4>, kAryPackedContainer_T<unsigned long, 30, 4>, FqMatrix<unsigned long, 23, 30, 4>>>, n = 20, q = 4, w = 2]
2.error: constraints not satisfied for class template 'ListEnumeration_Meta' [with ListType = Parallel_List_FullElement_T<Element_T<kAryPackedContainer_T<unsigned long, 35, 4>, kAryPackedContainer_T<unsigned long, 30, 4>, FqMatrix<unsigned long, 23, 30, 4>>>, n = 20, q = 4, w = 2]
Do you know how to solve these two problems? I am looking forward to your reply.thank you.

@FloydZ
Copy link
Owner

FloydZ commented Jun 12, 2024

Hi,
try the dev branch. But please note, that the library is currently rewritten from scratch. So if something is not working, I really appreciate it, if you could open an issue if you find a bug.

@qc20000sj
Copy link
Author

Hello author, I just downloaded the code from the dev branch. But whenever I 'make' when compiling, there will be the following two errors, how can I solve.

1.error: constraints not satisfied for class template 'ListEnumeration_Meta' [with ListType = Parallel_List_FullElement_T<Element_T<kAryPackedContainer_T<unsigned long, 35, 4>, kAryPackedContainer_T<unsigned long, 30, 4>, FqMatrix<unsigned long, 23, 30, 4>>>, n = 20, q = 4, w = 2]
2.error: constraints not satisfied for class template 'ListEnumeration_Meta' [with ListType = Parallel_List_FullElement_T<Element_T<kAryPackedContainer_T<unsigned long, 35, 4>, kAryPackedContainer_T<unsigned long, 30, 4>, FqMatrix<unsigned long, 23, 30, 4>>>, n = 20, q = 4, w = 2]

Looking forward to your reply. Thank you very much.

@FloydZ
Copy link
Owner

FloydZ commented Jun 20, 2024

For me everything works fine. Are you on the 664e831 branch of cryptanalysislib? If not do a: git submodule update --init --recursive.
Please note, that this library is not intended to generate a runable main executable. See the tests directory to find out how to use this library.

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

2 participants