Monday, August 23, 2004

DiVX on my Palm

I finally got my TV Shows from my KnoppMyth Linux Box to play on my Palm Tungsten C. I used a program called mmplayer and with a $5 USB 2.0 Card Reader/Writer and a $70 512MB SD Card I am off to the races.

I take the MPEG2 nuv file and encode to mpeg4 with a videorate of 70.
The only problem for my since I have a Tungsten C is the audio since Palm skimped on the audio port (mini mono plug).

Thursday, August 19, 2004

GameBoy Flash Cards

Its just amazing what they can do with GameBoys.
Check out the GameBoy Games site for flash cards which help you emulate 8-bit SNES on a GBA!

The GBA TV Tuner is way cool but the Flash Card tutorial with screenshots is above and beyond.

Qt/Mac Panther Install Problems

Looks like the reboot didn't do anything.
Searched the net and looks like others have been having same issues.
(Google: qmake failed to build Qt/Mac)

Creating qmake. Please wait...
c++ -c -o project.o -DQT_MACOSX_VERSION= -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/Developer/qt/include/qmake -I/Developer/qt/include -I/Developer/qt/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Developer/qt/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP project.cpp
In file included from /Developer/qt/include/qiodevice.h:43,
from /Developer/qt/include/qtextstream.h:42,
from /Developer/qt/include/qtl.h:43,
from /Developer/qt/include/qvaluelist.h:42,
from /Developer/qt/include/qstringlist.h:42,
from project.h:39,
from project.cpp:36:
/Developer/qt/include/qcstring.h:46:20: string.h: No such file or directory
...
make: *** [project.o] Error 1
qmake failed to build. Aborting.

Did a gcc -v in my Mac terminal to determine I dis install gcc 3.3:

Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

Will look later for issues in Building Qt/Mac on 10.3-gcc3.3.

Found another good blog: Racoon Fink

Wednesday, August 18, 2004

Installing Qt/Mac

1. Unpack the archive and move to /Developer
Rename qt-mac-free-3.3.3 to qt to end up with /Developer/qt

2. finger user_id to find out shell
User-Computer:/Developer/qt/bin user$ finger user
Login: user Name: user
Directory: /Users/user Shell: /bin/bash

The variables that you must set are:

QTDIR - wherever you installed Qt
PATH - to locate the moc program and other Qt tools
DYLD_LIBRARY_PATH - for the shared Qt library

I did this using emacs .profile at $home like this:

In .profile (if your shell is bash), add the following lines:

QTDIR=/Developer/qt
PATH=$QTDIR/bin:$PATH
DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH

export QTDIR PATH DYLD_LIBRARY_PATH

3. Make a symbolic link from $QTDIR/doc/man to $QTDIR/man by typing the following:

ln -s $QTDIR/doc/man $QTDIR/man

This will give you the man pages for the commandline Qt programs.

5. Building.

This is where I got stuck with errors.
This step compiles the Qt library, and builds the example programs,
the tutorial, and the tools (e.g. Qt Designer, etc.).

Type:

cd $QTDIR
./configure

This will configure the Qt library for your machine. Run ./configure -help
to get a list of configuration options.

To create the library and compile all the examples and the
tutorial, type:

/usr/bin/make

I'll try after rebooting.

Downloading the latest Qt/Mac

Downloaded QT/Mac Free Edition which is at v3.3.3 (15.5MB) from
Trolltech

Old XCode 1.0

Looks like this installed XCode 1.0 in /Developer/Applications as Xcode.app

Installed XCode

Executed the following package to install gcc:
Applications/Installers/Developer Tools/Packages/DeveloperTools.pkg

Finally joined the bloggers

Dear Diary,

Today I created my blog.
I did it after attending an MDA Seminar and having nothing to do but surf the web.

I'm also installing XCode 1.5 on my iBook G4.

- cobject