Closed braselectron closed 7 years ago
@braselectron You are right, make is panicking because of an extra semicolon after #endif
.
The last commit in master remove it, that should work now.
Dear @vsonnier
We still have errors:
Dev/CubicSDR/build$ make
Scanning dependencies of target CubicSDR
[ 1%] Building CXX object CMakeFiles/CubicSDR.dir/external/rtaudio/RtAudio.cpp.o
[ 2%] Building CXX object CMakeFiles/CubicSDR.dir/src/CubicSDR.cpp.o
In file included from ~/Dev/CubicSDR/external/cubicvr2/math/aabb.h:13:0,
from ~/Dev/CubicSDR/external/cubicvr2/math/cubic_math.h:14,
from ~/Dev/CubicSDR/src/ui/GLPanel.h:10,
from ~/Dev/CubicSDR/src/panel/ScopePanel.h:6,
from ~/Dev/CubicSDR/src/process/ScopeVisualProcessor.h:8,
from ~/Dev/CubicSDR/src/visual/ScopeCanvas.h:13,
from ~/Dev/CubicSDR/src/AppFrame.h:15,
from ~/Dev/CubicSDR/src/CubicSDR.h:22,
from ~/Dev/CubicSDR/src/CubicSDR.cpp:17:
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h: In static member function ‘static CubicVR::__float CubicVR::vec3::length(CubicVR::vec3, CubicVR::vec3)’:
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h:47:22: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
a = ptb[0]-pta[0];
^
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h:33:18: note: candidate 1: CubicVR::__float& CubicVR::vec3::operator[](unsigned int)
__float& operator [] (unsigned i) { return ((__float *)this)[i]; }
^
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h:47:22: note: candidate 2: operator[](CubicVR::__float* {aka float*}, int) <built-in>
a = ptb[0]-pta[0];
^
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h:47:29: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
a = ptb[0]-pta[0];
^
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h:33:18: note: candidate 1: CubicVR::__float& CubicVR::vec3::operator[](unsigned int)
__float& operator [] (unsigned i) { return ((__float *)this)[i]; }
^
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h:47:29: note: candidate 2: operator[](CubicVR::__float* {aka float*}, int) <built-in>
a = ptb[0]-pta[0];
^
~/Dev/CubicSDR/external/cubicvr2/math/vec3.h:48:22: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [enabled by default]
b = ptb[1]-pta[1];
^
(... many more errors...)
In file included from ~/Dev/CubicSDR/external/cubicvr2/math/cubic_math.h:16:0,
from ~/Dev/CubicSDR/src/ui/GLPanel.h:10,
from ~/Dev/CubicSDR/src/panel/ScopePanel.h:6,
from ~/Dev/CubicSDR/src/process/ScopeVisualProcessor.h:8,
from ~/Dev/CubicSDR/src/visual/ScopeCanvas.h:13,
from ~/Dev/CubicSDR/src/AppFrame.h:15,
from ~/Dev/CubicSDR/src/CubicSDR.h:22,
from ~/Dev/CubicSDR/src/CubicSDR.cpp:17:
~/Dev/CubicSDR/external/cubicvr2/math/mat4.h:123:53: note: candidate 2: operator[](CubicVR::__float* {aka float*}, int) <built-in>
return mat4(m[0], m[4], m[8], m[12], m[1], m[5], m[9], m[13], m[2], m[6], m[10], m[14], m[3], m[7], m[11], m[15]);
^
^Cmake[2]: *** [CMakeFiles/CubicSDR.dir/src/CubicSDR.cpp.o] Interrupt
make[1]: *** [CMakeFiles/CubicSDR.dir/all] Interrupt
make: *** [all] Interrupt
I followed this installation framework:
1) First, build liquid-dsp
2) Then build wxWidgets
3) Build CubicSDR
stdout:
My thoughts: must be some makefile bug (in respect to compilers/tools versions used not compatible).
Please notice that I have GRC (ie. GNU Radio Companion) and GQRX (ie. gqrx.dk) working well with my NooElec NESDR Nano 2+ Tiny Black RTL-SDR USB
Help!