Skip to content
Inho Oh edited this page Sep 29, 2022 · 6 revisions

Install

Install packages at once using dependencies

It can take a long time.

brew install nugulinux/sdk/libnugu-examples

Install packages step by step

Install dependency packages

brew install jsoncpp openssl gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad

Add NUGU SDK Tap

brew tap nugulinux/sdk

Install KWD/EPD libraries

brew install libnugu-kwd libnugu-epd

Install NUGU SDK

brew install libnugu libnugu-plugins libnugu-examples

Setup

GStreamer plugin

export GST_PLUGIN_SYSTEM_PATH=/opt/homebrew/lib/gstreamer-1.0

NUGU server setting

export NUGU_REGISTRY_SERVER=https://stg-reg-http.sktnugu.com/

NUGU token(OAuth2 token) setting

export NUGU_TOKEN=...

Run

$ nugu_sample
=======================================================
NUGU SDK Command (Disconnected)
=======================================================
[ i] : initialize
[ d] : deinitialize
[ q] : quit
-------------------------------------------------------
Select Command >

With debug log

$ nugu_sample -d

Uninstall

brew uninstall libnugu libnugu-plugins libnugu-examples libnugu-kwd libnugu-epd
brew untap nugulinux/sdk
Clone this wiki locally