[hpsdr] Is anyone using cuSDR32 on Linux?

Sid Boyce g3vbv at blueyonder.co.uk
Thu Jul 31 07:16:58 PDT 2014


I have tried Makefile alterations such as  
-I/usr/include/QtMultimediaKit and -I/usr/include/GL to INCPATH, -lGL 
and -lQtMultimdeaiKit to LIBS but still get the errors.

Even added #include <GL/gl.h> where GL_PROJECTION is defined to 
src/GL/cusdr_oglDisplayPanel.cpp
root at odroidu3:/b2/CUSDR_02JUN14/DL3HVH/cuSDR32# grep -r GL_PROJECTION 
/usr/include/*
/usr/include/GL/gl.h:#define GL_PROJECTION                              
0x1701
/usr/include/GL/gl.h:#define GL_PROJECTION_MATRIX                       
0x0BA7
/usr/include/GL/gl.h:#define GL_PROJECTION_STACK_DEPTH 0x0BA4
/usr/include/GLES/gl.h:#define GL_PROJECTION_STACK_DEPTH 0x0BA4
/usr/include/GLES/gl.h:#define GL_PROJECTION_MATRIX 0x0BA7
/usr/include/GLES/gl.h:#define GL_PROJECTION 0x1701
/usr/include/GLES/glext.h:#define 
GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES              0x898E


I am still looking as it seems very odd. Building gnuradio, 
ghpsdr3-alex, etc. have all been quite straightforward.

g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtOpenGL -I/usr/include/QtMultimediaKit 
-I/usr/include/qt4 -I. -Isrc -Isrc/AudioEngine -Isrc/CL -Isrc/DataEngine 
-Isrc/GL -Isrc/QtDSP -Isrc/Util -I/usr/include -I/usr/include/GL 
-I/usr/include/QtMobility -I/usr/X11R6/include -Ibld/moc -o 
bld/o/cusdr_oglDisplayPanel.o src/GL/cusdr_oglDisplayPanel.cpp
In file included from src/GL/cusdr_oglDisplayPanel.h:30:0,
                  from src/GL/cusdr_oglDisplayPanel.cpp:29:
src/GL/cusdr_oglUtils.h: In function 'void 
setProjectionOrthographic(int, int)':
src/GL/cusdr_oglUtils.h:509:18: error: 'GL_PROJECTION' was not declared 
in this scope
      glMatrixMode(GL_PROJECTION);
                   ^
src/GL/cusdr_oglUtils.h:509:31: error: 'glMatrixMode' was not declared 
in this scope
      glMatrixMode(GL_PROJECTION);
                                ^
src/GL/cusdr_oglUtils.h:510:20: error: 'glLoadIdentity' was not declared 
in this scope
      glLoadIdentity();
73 ... Sid.

On 31/07/14 01:46, Richard Koch wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
>
>
> Sid,
>
> I just tried the cuSDR32 build on an i386 debian wheezy machine
> using qt 4.8.2 and it succeeded to build and run just fine.
>
> Comparing the Makefiles that get generated from the qmake cuSDR32.pro,
> one difference is that the arm puts a "-lGLESv2" in the LIBS declaration
> and the i386 puts a "-lGL". And as you know without the usr/include/GL
> and GL LIBS many of the Display glXXX functions are not declared.
>
> -Rick / N1GP
>
>
> _______________________________________________
> HPSDR Discussion List
> To post msg: hpsdr at openhpsdr.org
> Subscription help: http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
> HPSDR web page: http://openhpsdr.org
> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20140731/4174a817/attachment-0003.htm>


More information about the Hpsdr mailing list