GithubHelp home page GithubHelp logo

dadep88 / rlsfilter Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 61 KB

Header-only C++ Recursive Least Squares (RLS) filter

License: MIT License

CMake 17.75% C++ 82.25%
rlsfilter rls recursive-algorithm identification

rlsfilter's Introduction

rlsfilter's People

Contributors

dadep88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rlsfilter's Issues

building with cmake-3.20.6 the libgtest and libgtest_main left off link command

Building on Ubuntu 21.10 with cmake 3.20.6 and gcc-10.3 for some reason the libgtest and libgtest_main were left off the link command when building the unit test. After adding them manually the resulting executable ran w/o error.
I downloaded the latest and greatest google-test/mock from github and checked out release-1.11.0.
Changing to produced an executable which ran successfully with make test
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index ce34c30..74f34f1 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -10,8 +10,8 @@ add_executable("${PROJECT_NAME}_test" ${test_sources})
target_include_directories("${PROJECT_NAME}_test" PRIVATE include)

#Link test executable against gtest &gtest_main
-target_link_libraries("${PROJECT_NAME}_test" ${GTEST_LIBRARY} ${GTEST_MAIN_LIBRARY})
+target_link_libraries("${PROJECT_NAME}_test" ${GTEST_BOTH_LIBRARIES})
target_link_libraries("${PROJECT_NAME}_test" ${CMAKE_PROJECT_NAME})
target_link_libraries( "${PROJECT_NAME}_test" pthread)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.