Edin Kadribasic wrote:
> Hi Vlad,
>
> 1. Where can I get includes and libs for MSVC++?
http://aspell.net/win32/files/aspell-dev-0-50-3-3.zip
It has both the headers and the library. Just uncompress it into the
same directory where 'php-src' is located, and then rename the directory
to 'aspell' (I followed example of libxml here - same structure).
This should compile and link fine, but some symbols will be unresolved.
Those can be found in 'aspell-15.dll' which comes in the full installer
- http://aspell.net/win32/files/Aspell-0-50-3-3-Setup.exe
We might want to install that so the tests can run properly. Installer
adds a registry key that is needed by the spellchecker, and gives you
aspell-15.dll, which needs to go into some directory where php will be
able to find it, just like iconv.dll for example.
That's pretty much it. Currently, there are a couple more small tweaks
that are needed for aspell to work properly, especially when built in
Release mode. Nothing major, just annoyances and should be trivial to
fix in aspell's code (aspell is confused about windows newlines in a
couple of its own config files - their win32 port is still far from
perfect). Aspell's author knows about them, and will hopefully fix them
soon. Meanwhile, I'll document them so people won't be too surprised -
for some reason that bug doesn't show in Debug mode, but does show in
Release. Very high WTF.
> 2. Snap builder compiles everything it can automatically :)
Wonderful. I created two targets - Debug_TS and Release_TS. Hopefully,
that's enough.
Thanks!
Vlad