You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am going to try to walk you through the mental steps you should follow to debug C++ builds because it seems like you are pretty new to this.
What does the message <some_variable> was not declared in this scope tell you? This is the kind of error message you would get if your entire program was like this:
some_variable was never defined. When encountering a message like this when building someone else's library (that other people have built successfully) from source, it is safe to assume that the author did not make a mistake and forget to define a variable and this variable is likely defined in a third party library the author is using.
The first result of googling LCCSCF_USE_SSL tells us this variable is from libwebsockets. Looking back at how you modified the makefile, you set libwebsockets_include to /usr/include/. So your mistake is that wherever libwebsockets installed it's include files to is not visible from /usr/include/.
Pretty much the title. I got rasbian on raspberry pi.
i installed libcurl4-openssl-dev and libwebsockets-dev with the apt-get command.
now i included the libraries and header into the makefile looking like this:
Now i Try to run make in the directory and now i get the following errors
with a lot of warnings but lets leave that aside:`
Any ideas what could be the cause?
The text was updated successfully, but these errors were encountered: