festvox / festival

Festival Speech Synthesis System
Other
386 stars 58 forks source link

Creating CMakeLists.text file to include Festival Text to Speech API in current program #17

Open JSully11 opened 5 years ago

JSully11 commented 5 years ago

I have been working on a project on a Linux Ubuntu 18.04 OS that uses image processing to detect stairs, and i want to take the output (a string) of this project and use Festival Text to Speech directly in my code to send audible output to the user. I am currently using a CMakeList.txt file to run my program, which can be found below.

I have looked over the documentation for Festival and can not figure out how to edit my CMakeLists.txt file to properly include required festival packages so i can run this in my program directly within my code.

Any help on this is greatly appreciated. Thanks in advance! My current CMakeLists.txt file is as follows:

cmake_minimum_required(VERSION 2.8)
project(StairDetect)
find_package(OpenCV REQUIRED)
set(DEPENDENCIES realsense2)
include_directories( ${OpenCV_INCLUDE_DIRS})
add_executable(StairDetect StairDetect.cpp)
target_link_libraries(StairDetect ${OpenCV_LIBS} ${DEPENDENCIES})
SET(CMAKE_CXX_FLAGS "-std=c++0x" CACHE STRING "compile flasgs" FORCE)