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

Compilation fails on Ubuntu >=20.04 #2

Open
gutjuri opened this issue May 26, 2023 · 0 comments
Open

Compilation fails on Ubuntu >=20.04 #2

gutjuri opened this issue May 26, 2023 · 0 comments

Comments

@gutjuri
Copy link

gutjuri commented May 26, 2023

Hello, I have Ubuntu 22.04 and compilation with bash build on master branch fails with

#0 89.56 + bash build
#0 89.72 In file included from OTExtnsion/BMR.h:16,
#0 89.72                  from OTExtnsion/BMR.cpp:10:
#0 89.72 OTExtnsion/basicSockets.h:10:10: fatal error: stropts.h: No such file or directory
#0 89.72    10 | #include <stropts.h>
#0 89.72       |          ^~~~~~~~~~~
#0 89.72 compilation terminated.
#0 89.87 In file included from OTExtnsion/BMR.h:16,
#0 89.87                  from OTExtnsion/BMR_BGW.h:15,
#0 89.87                  from OTExtnsion/BMR_BGW.cpp:10:
#0 89.87 OTExtnsion/basicSockets.h:10:10: fatal error: stropts.h: No such file or directory
#0 89.87    10 | #include <stropts.h>
#0 89.87       |          ^~~~~~~~~~~
#0 89.87 compilation terminated.
#0 90.66 In file included from OTExtnsion/basicSockets.cpp:10:
#0 90.66 OTExtnsion/basicSockets.h:10:10: fatal error: stropts.h: No such file or directory
#0 90.66    10 | #include <stropts.h>
#0 90.66       |          ^~~~~~~~~~~
#0 90.66 compilation terminated.
#0 90.84 In file included from OTExtnsion/../OTExtnsion/BMR.h:16,
#0 90.84                  from OTExtnsion/ottmain.h:23,
#0 90.84                  from OTExtnsion/main.cpp:1:
#0 90.84 OTExtnsion/../OTExtnsion/basicSockets.h:10:10: fatal error: stropts.h: No such file or directory
#0 90.84    10 | #include <stropts.h>
#0 90.84       |          ^~~~~~~~~~~
#0 90.84 compilation terminated.
#0 91.01 In file included from OTExtnsion/../OTExtnsion/BMR.h:16,
#0 91.01                  from OTExtnsion/ottmain.h:23,
#0 91.01                  from OTExtnsion/ottmain.cpp:10:
#0 91.01 OTExtnsion/../OTExtnsion/basicSockets.h:10:10: fatal error: stropts.h: No such file or directory
#0 91.01    10 | #include <stropts.h>
#0 91.01       |          ^~~~~~~~~~~
#0 91.01 compilation terminated.

This is probably due to this error: https://askubuntu.com/questions/1285116/stropts-h-missing-in-ubuntu-20-04

Possible workaound here (I have not tested this): mit-biomimetics/Cheetah-Software#39

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

1 participant