From aa29aa41c6a7fd45f872ebd830553dd92078b27d Mon Sep 17 00:00:00 2001 From: Sebastien F4GRX Date: Thu, 3 Aug 2017 15:38:01 +0200 Subject: [PATCH 1/2] Avoid build failure when liquid-dsp is not in a default libdir --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a65c6b..b55b668 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -672,7 +672,7 @@ IF (NOT BUNDLE_APP) configure_files(${CUBICSDR_HEADER_IMAGE_DIR} ${CMAKE_BINARY_DIR}/${EX_PLATFORM_NAME} ${CUBICSDR_HEADER_IMAGE_FILE}) ENDIF() add_executable(CubicSDR ${cubicsdr_sources} ${cubicsdr_headers} ${RES_FILES}) - target_link_libraries(CubicSDR ${LIQUID_LIB} ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${OTHER_LIBRARIES}) + target_link_libraries(CubicSDR ${wxWidgets_LIBRARIES} ${OPENGL_LIBRARIES} ${OTHER_LIBRARIES}) ENDIF (NOT BUNDLE_APP) IF (MSVC) From 521f62900a249916ba9432957e4bc04cf7b352f6 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sun, 8 May 2022 16:15:28 -0400 Subject: [PATCH 2/2] fix build errors caused by commented parameters in function declarations --- src/visual/TuningCanvas.cpp | 2 +- src/visual/WaterfallCanvas.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/visual/TuningCanvas.cpp b/src/visual/TuningCanvas.cpp index ddd0703..d6b1471 100644 --- a/src/visual/TuningCanvas.cpp +++ b/src/visual/TuningCanvas.cpp @@ -269,7 +269,7 @@ void TuningCanvas::StepTuner(ActiveState state, TuningDirection tuningDir, int d } } -void TuningCanvas::OnIdle(wxIdleEvent & /* event */) { +void TuningCanvas::OnIdle(wxIdleEvent & event) { if (mouseTracker.mouseDown()) { if (downState != TUNING_HOVER_NONE) { dragAccum += 5.0*mouseTracker.getOriginDeltaMouseX(); diff --git a/src/visual/WaterfallCanvas.cpp b/src/visual/WaterfallCanvas.cpp index d375825..4f67ad2 100644 --- a/src/visual/WaterfallCanvas.cpp +++ b/src/visual/WaterfallCanvas.cpp @@ -482,7 +482,7 @@ void WaterfallCanvas::OnKeyDown(wxKeyEvent& event) { } } -void WaterfallCanvas::OnIdle(wxIdleEvent & /* event */) { +void WaterfallCanvas::OnIdle(wxIdleEvent & event) { processInputQueue(); Refresh(); }