Code Monkey home page Code Monkey logo

Comments (2)

alexanderkoumis avatar alexanderkoumis commented on August 16, 2024

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:

#include <cstdio>
int main(int argc, char** argv) {
  printf("%f\n", some_variable);
  return 0;
}

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/.

from binacpp.

AlconDivino avatar AlconDivino commented on August 16, 2024

i updated the libwebsocketspackage and now i compiled everything and i can work with it.

Yes i'm pretty new and thanks for the advice.

Now i'm gonna see how that whole json thing works and I'llbe fine

from binacpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.