Tao Compilation Fixes

As a follow-up to my previous post about Physical Modeling Synthesis tools, I am presenting the following fixes that I discovered for the Tao library. The source code can be downloaded from here.

While working with Tao for a project at my university, I had some issues with compilation under Ubuntu Linux 9.04. I was able to resolve the issues and wanted to offer the following tips to anyone else who may be having similar problems. Apparently in GCC 4.3 some of the C++ headers were removed for cleanup purposes. Therefore I had to edit a few of the source files to add includes for <cstring> and <cstdlib>.

The requisite files for adding #include <cstring> are:

/taolib/TaoDevice.cc
/taolib/TaoGraphicsEngine.cc
/taolib/TaoInstrument.cc
/taolib/TaoOutput.cc
/taolib/TaoPitch.cc
/taolib/TaoSynthEngine.cc
/taoparse/taoparser.cc

Additionally, add #include<cstring> and #include<cstdlib> to:

/tao2aiff/tao2aiff.cc
tao2wav/tao2wav.cc

Other than that the only issues I had were making sure I had all of the right packages installed. Once all that was resolved, Tao ran fine. Hope this is helpful to prospective Tao users.

Bookmark the permalink.