Skip to content

Build error building SuWidgets on Raspberry Pi #271

@InspiringCode

Description

@InspiringCode

Hello Gonzalo José,

I tried to build SigDigger with blsd on a Raspberry Pi Zero 2 W with Raspberry OS Desktop but I get the following error:

Try: make -j 4
CWD: /home/daniel/blsd-dir/build-root/SuWidgets
WaveView.cpp: In member function ‘void WaveView::drawWave(QPainter&)’:
WaveView.cpp:463:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=]
  463 |               "Processing waveform (%ld%% complete)",
      |                                     ~~^
      |                                       |
      |                                       long int
      |                                     %lld
  464 |               100 * m_lastProgressCurr / m_lastProgressMax);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        uint64_t {aka long long unsigned int}
GLWaterfall.cpp: In member function ‘void GLWaterfallOpenGLContext::initialize()’:
GLWaterfall.cpp:304:12: error: ‘GL_MULTISAMPLE’ was not declared in this scope; did you mean ‘GL_MULTIPLY’?
  304 |   glEnable(GL_MULTISAMPLE);
      |            ^~~~~~~~~~~~~~
      |            GL_MULTIPLY
GLWaterfall.cpp:306:12: error: ‘GL_LINE_SMOOTH’ was not declared in this scope; did you mean ‘GL_LINE_WIDTH’?
  306 |   glEnable(GL_LINE_SMOOTH);
      |            ^~~~~~~~~~~~~~
      |            GL_LINE_WIDTH
GLWaterfall.cpp:307:10: error: ‘GL_LINE_SMOOTH_HINT’ was not declared in this scope
  307 |   glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
      |          ^~~~~~~~~~~~~~~~~~~
GLWaterfall.cpp:308:12: error: ‘GL_POINT_SMOOTH’ was not declared in this scope
  308 |   glEnable(GL_POINT_SMOOTH);
      |            ^~~~~~~~~~~~~~~
GLWaterfall.cpp:309:10: error: ‘GL_POINT_SMOOTH_HINT’ was not declared in this scope
  309 |   glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
      |          ^~~~~~~~~~~~~~~~~~~~
GLWaterfall.cpp: In member function ‘void GLWaterfallOpenGLContext::render(int, int, int, int, float, float)’:
GLWaterfall.cpp:620:16: error: ‘GL_ALL_ATTRIB_BITS’ was not declared in this scope; did you mean ‘GL_ALL_BARRIER_BITS’?
  620 |   glPushAttrib(GL_ALL_ATTRIB_BITS); // IMPORTANT TO PREVENT CONFLICTS WITH QPAINTER
      |                ^~~~~~~~~~~~~~~~~~
      |                GL_ALL_BARRIER_BITS
GLWaterfall.cpp:620:3: error: ‘glPushAttrib’ was not declared in this scope
  620 |   glPushAttrib(GL_ALL_ATTRIB_BITS); // IMPORTANT TO PREVENT CONFLICTS WITH QPAINTER
      |   ^~~~~~~~~~~~
GLWaterfall.cpp:626:3: error: ‘glLoadIdentity’ was not declared in this scope
  626 |   glLoadIdentity();
      |   ^~~~~~~~~~~~~~
GLWaterfall.cpp:690:3: error: ‘glPopAttrib’ was not declared in this scope
  690 |   glPopAttrib();
      |   ^~~~~~~~~~~
make[1]: *** [Makefile.Release:799: release/GLWaterfall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:42: release] Error 2

I also tried sudo apt-get install qttools5-dev-tools but it didn't make any difference. I've also attached the stdout file.

I would be really grateful if you could give me a tip or two how to proceed. Would be really eager to try out your software. Thanks!

Best regards,
Daniel

blsd-stdout.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions