You need to install developer packages into "gtk" directory, they can be found at http://www.gimp.org/~tml/gimp/win32/downloads.html
These packages are needed: glib-dev-2.12.13.zip gtk+-dev-2.10.14.zip pango-dev-1.16.4.zip atk-dev-1.12.3.zip cairo-dev-1.4.8.zip gettext-dev-0.14.5.zip Zlib 1.2.3
Just extract them into "mvsc\gtk" is OK.
Then download libsigc++ and compile it. Copy sigc-2.0d.lib to "mvsc\gtk\lib". libsigc++ have static link problem on vs2005 presently.
For stardict_powerword_parsedata.cpp, you need to add a UTF-8 BOM in its head to fix the compile problem. Just use the notepad to open it then save. For wordnet plugin files, they are the same.
For sapi-tts plugin, you need to install Microsoft Speech SDK at C:\Programe Files\ and fix these compile error of sphelper.h:
- line 2560 SPPHONEID* pphoneId = (SPPHONEID*)((WCHAR *)dsPhoneId);
- line 2634 pphoneId += wcslen((const wchar_t *)pphoneId) + 1;
- line 2372 and 2373 const WCHAR *psz; for (psz = (const WCHAR *)lParam; *psz; psz++) {}
- add to the top of the file to prevent all the other errors... #pragma warning( disable : 4430 ) #pragma warning( disable : 4996 ) =====
There are two crash bug with vs2005, which you need to notice.
- Use my_g_fopen instead of g_fopen. See http://bugzilla.gnome.org/show_bug.cgi?id=476810
- Use fprintf_s instead of fprintf, or it will crash. This is a little strange.
There are two builds in vs2005: Debug and Release, you should choose Release version in most case.
You should can compile and run stardict successfully now.