Archive for September, 2008

Build Your Own ARM Cross Compiler Toolchain - Revision

Refer to my article which I failed to compile the GNU ARM toolchain on Ubuntu. Now the problem was resolved by one of our member in the forums (please see the full post here). He created an automatic script called GNU ARM Installer (download gnu-arm-installer.tar.gz here). You can build the cross compiler for ARM [...]

Sphinx II - Speech Recognition on Ubuntu Linux

I just set up CMU Sphinx II on Ubuntu. I just want to test how this Linux Speech Recognition work. I installed the following packages: libsphinx2g0, libsphinx2-dev, sphinx2-bin and sphinx2-hmm-6k. The resource file will be in /usr/share/sphinx2/model/ which contains hmm (Hidden Markov model based-file) and model (Language Model related files). I just type

sphinx2-demo

to [...]

Festival: Text to Speech on Linux

If you are MS$ fan, you are lucky obtained the MS native Text to Speech and Speech Recognition system. Fortunately, for a Unix-like user, Festival provides such a system. I am using the Ubuntu Linux. To enable Speech to Text, I installed these packages: festival and festvox-kallpc16k. Then, I tested by putting these command:

echo [...]

Avimator fixed for Ubuntu

Avimator is open-source animation avatar editor for Second Life. This is very interesting because it may can be integrated with AI tool. However, it fails compiling in Ubuntu due to the name file case sensitive (.h or .H) of FLTK. After I fixed this problem, it work fine. You can download my fixed version for [...]

X3D with H3D API

Starting learning X3D with H3D API is a nice stage in my opinion.
H3D API is an open-source, cross-platform, scene-graph API . H3D is written entirely in C++ and uses OpenGL for graphics rendering and HAPI for haptics rendering. HAPI is an open-source haptic API developed by the team behind H3D API. For more information about [...]

Compiling wxWidgets Application Code

If you are writing a code that links to wxWidgets library, you can use these command to compile the code

g++ `wx-config –cxxflags` `wx-config –libs` myapp.cpp

Compiling wxWidgets with nmake (vc++ 2008)

I’ve succeeded compiling wxWidgets (2.8.7) for Windows (Vista) with the simple things below.
Download:
wxMSW - installer for Windows
then extract it to anywhere i.e., C:\wxWidgets
Run:

C:\Program files\Microsoft Visual Studio 9\Common7\Tools\vsvars32.bat

to get the environment variables set
Change directory to build\msw. Type:

nmake -f makefile.vc

If it succeeds, you will get

lib\vc_lib

Let’s Learn AIML

AI seems to fictitious story. When I think about what project should we do with AI, we sometime have no idea. Recently, there is a development of AIML (Artificial Intelligence Markup Language) which is applicable to chatbot. I have tested chatting with a chatbot like A.L.I.C.E. I’m amazed, it work very well (as we never [...]

Common Lisp as an AI language

Programming AI using standard programming languages, e.g., C/C++ or Java is not a good idea. It’s too general purpose language. I’m considering to select between (Common) Lisp and Prolog which are particularly designed for AI. Finally, I choose Lips as my main AI programming language. I have no reason why Lisp but I know that [...]

Linux without GNOME/KDE

I’m using Fedora Core 5. I don’t like window manager both KDE and GNOME. It consumes too much resource. I removed gnome and kde by using add/remove programe (Pirut) and also gdm.
Then I go to http://www.xfce.org and download xfce 4.4 beta 1 graphical installer. After finishing installation, I create .xsession file in /home/mydir/ directory and [...]