Skip to content

Building examples #3789

Answered by securitykernel
yanboti asked this question in Q&A
Nov 1, 2023 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

I am sorry you experience issues with the build system. The examples are currently all-or-nothing, you can not selectively enable or disable single or multiple examples. Some require boost, so all currently require boost, as you noted that in #3790. With #3787 merged yesterday, configure.py checks that now and fails if boost isn't enabled with the examples.

What you could do instead, is do your minimized kyber-only build, and then compile the kyber example on your own, for example:

$ ./configure.py --enable-modules=kyber ... [all your additional options]
$ g++ kyber.cpp -o kyber -L. -lbotan-3 -Ibuild/include -std=c++20

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@lieser
Comment options

lieser Nov 2, 2023
Collaborator

@randombit
Comment options

@lieser
Comment options

lieser Nov 2, 2023
Collaborator

@randombit
Comment options

@yanboti
Comment options

Answer selected by yanboti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants