* Small fixes for macOS build * remove gpu_libs
@ -331,13 +331,13 @@ if GetOption("clazy"):
Export('env', 'qt_env', 'arch', 'real_arch', 'SHARED', 'USE_WEBCAM')
SConscript(['common/SConscript'])
Import('_common', '_gpucommon', '_gpu_libs')
Import('_common', '_gpucommon')
if SHARED:
common, gpucommon = abspath(common), abspath(gpucommon)
else:
common = [_common, 'json11']
gpucommon = [_gpucommon] + _gpu_libs
gpucommon = [_gpucommon]
Export('common', 'gpucommon')
@ -22,13 +22,8 @@ files = [
'visionimg.cc',
]
if arch == "larch64":
_gpu_libs = ["GLESv2"]
_gpu_libs = ["GL"]
_gpucommon = fxn('gpucommon', files, LIBS=_gpu_libs)
Export('_common', '_gpucommon', '_gpu_libs')
_gpucommon = fxn('gpucommon', files)
Export('_common', '_gpucommon')
if GetOption('test'):
env.Program('tests/test_util', ['tests/test_util.cc'], LIBS=[_common])
@ -1,3 +1,4 @@
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#include <cassert>
#include <cstdlib>
@ -1,4 +1,5 @@
#pragma once
#include <DlContainer/IDlContainer.hpp>
#include <DlSystem/DlError.hpp>