-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
error: "LWS_WITH_EXTERNAL_POLL" redefined [-Werror] #2790
Comments
Could you please give more details - Unable to reproduce on ubuntu 20.04 |
This is produced on a Raspberry PI 4 (2GB RAM) with the image Raspios lite arm64. I ran the commands under root user. |
Can you paste the compiler error? |
Happened on Debian as well with 4.3.3 release, LWS_WITH_EXTERNAL_POLL=ON setting. Complete output: |
It seems to be complaining that the gcc commandline has -DLWS_WITH_EXTERNAL_POLL and lws_config.h is also setting it... to the same thing, it's not normally going to complain. You should be able to avoid it by -DLWS_WITHOUT_TESTAPPS=1 at cmake. |
I have also encountered such a problem, and according to this solution, the problem has been resolved |
When making with the flag
-DLWS_WITH_EXTERNAL_POLL=ON
, you get the error at 98% when running themake
command.error: "LWS_WITH_EXTERNAL_POLL" redefined [-Werror]
To solve this, you have to edit the
lws_config.h
file in the build directory and edit line 169:to
This is my commandline:
The text was updated successfully, but these errors were encountered: