Skip to content

day253/hmm-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hmm-cpp

Build Status

依赖

  • cmake
  • googletest
  • visual studio code

ubuntu

sudo apt-get install cmake g++ gdb

Googletest安装

git clone --depth=1 https://github.com/google/googletest.git
cd googletest
mkdir build
cd build
cmake ..
make
sudo make install

update cmake

wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get upgrade

使用步骤

1.cmake

使用ext install ms-vscode.cpptools安装Microsoft C/C++ 插件

使用ext install twxs.cmake安装CMake 语言插件

使用ext install ms-vscode.cmake-tools安装CMake 工具插件

使用>cmake: Configure生成编译命令

2.本地调试

执行>Cmake: Run Tests测试代码。

3.Segmentation fault (core dumped)

ulimit -c unlimited

sudo sysctl -w kernel.core_pattern=core.%e.%p

参考文档

UMDHMM

Releases

No releases published

Packages

No packages published