Bo Peng wrote: > I did not try aspell/cvs. I played another a few hours with 0.6.0 and > gave up. It is not only a matter of scons build system since I will > have to patch the source code, and the patch will be obsolete soon > after another release of aspell.
Don't give up! The changes to the 0.60.4 sources are minimal: file_utils.cpp: +#include <asc_ctype.hpp> objstach: - using namespace std; + // using namespace std; affix.hpp, 112: - unsigned char * new_aff = 0, WordAff * * * l = 0, + unsigned char * new_aff2 = 0, WordAff * * * l = 0, And the rest could be done by compiler flags and adding files, all in a separate folder. Attaches my cmake build setup. Have a look at CMakeLists.txt, especial the 'add_definitions' lines which adds the missing symbols to the command line parameter list. I've also added two files from the kdewin32 project (LGPL) which implements the 'dirent.h' functions opendir, closedir, and readdir. BUT BEWARE: Using these functions you MUST NOT mix debug and release versions when using msvc. If you do it anaymay you will get an assert from the runtime library. > Abdel, could you please post your aspell build somewhere? It was from > the very beginning a bad idea trying to build aspell with msvc. I don't think it was such a bad idea, the win-port of is so outdated. Peter
msvc-0.60.4.tar.bz2
Description: BZip2 compressed data