BatchDrake / SigDigger

Qt-based digital signal analyzer, using Suscan core and Sigutils DSP library
https://batchdrake.github.io/SigDigger/
GNU General Public License v3.0
925 stars 91 forks source link

Error building on Ubuntu 22.04 #236

Closed ToontjeM closed 5 months ago

ToontjeM commented 5 months ago
make -f Makefile.Release
make[1]: Entering directory '/opt/build/SuWidgets'
g++ -c -pipe -O2 -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -D_SU_SINGLE_PRECISION -DHAVE_VOLK -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/local/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/Constellation.o Constellation.cpp
In file included from Constellation.h:28,
                 from Constellation.cpp:21:
Constellation.cpp: In member function ‘void Constellation::drawAxes()’:
Constellation.cpp:101:32: error: ‘I’ was not declared in this scope; did you mean ‘PI’?
  101 |     SUCOMPLEX delta = SU_C_EXP(I * angle);
      |                                ^
make[1]: *** [Makefile.Release:558: release/Constellation.o] Error 1
make[1]: Leaving directory '/opt/build/SuWidgets'
make: *** [Makefile:42: release] Error 2
sherdil6 commented 4 months ago

@ToontjeM Hi, I am facing this issue in SuWidgets. Tried to resolve this, however, nothing is working and I always end up in this error. Any idea how to resolve this please?

BatchDrake commented 4 months ago

Are you building from master or develop?

El mié., 21 feb. 2024 4:24, sherdil6 @.***> escribió:

@ToontjeM https://github.com/ToontjeM Hi, I am facing this issue in SuWidgets. Tried to resolve this, however, nothing is working and I always end up in this error. Any idea how to resolve this please?

— Reply to this email directly, view it on GitHub https://github.com/BatchDrake/SigDigger/issues/236#issuecomment-1955810983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVET4WKZZBERLRLUO3ZHTYUVSH5AVCNFSM6AAAAABC6FO2UCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJVHAYTAOJYGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sherdil6 commented 4 months ago

Used your script https://actinid.org/blsd by giving sudo rights. Its resolved now. Thank you