From 2d909b07dda253d7b6e04215625b56fa6d0c3506 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - ASCEE" Date: Sun, 26 Apr 2020 05:41:11 -0700 Subject: [PATCH] Small fixes for building on Windows. Note, that there are some things hardcoded which should not be hardcoded. --- CMakeLists.txt | 2 +- lasp/lasp_avstream.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af0437b..c96fad9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") link_directories(C:\\mingw\\lib) link_directories(C:\\mingw\\bin) link_directories(..\\rtaudio) - link_directories(C:\\Users\\librewin7\\Miniconda3) + link_directories(C:\\Users\\User\\Miniconda3) else() set(win32 false) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -std=c11 \ diff --git a/lasp/lasp_avstream.py b/lasp/lasp_avstream.py index 168d443..6267e31 100644 --- a/lasp/lasp_avstream.py +++ b/lasp/lasp_avstream.py @@ -3,7 +3,7 @@ """ Description: Read data from image stream and record sound at the same time """ -import cv2 as cv +#import cv2 as cv from .lasp_atomic import Atomic from threading import Thread, Condition, Lock import numpy as np