Abdelrazak Younes wrote:
Bo Peng wrote:
intl should have its own config.h. Do you see that generated
(intl/config.h)
Yes it is in trunk/intl/config.h which is bad (see my other mail). The
problem lies in the include options I think.
Yes that's an include path problem. With the unpatched version I have
the same prblem:
cl /nologo /Dinline# /D__attribute__(x)# /Duintmax_t=UINT_MAX
-DLOCALEDIR=\"D:\\program\\lyx-msvc\\Resources\\locale\"
-DLOCALE_ALIAS_PATH=\"D:\\program\\lyx-msvc\\Resources\\locale\"
-DLIBDIR=\"D:\\devel\\lyx\\GUI/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1
-DIN_LIBRARY -DINSTALLDIR=\"d:/program/lyx-msvc/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H
/Iintl /ID:\program\GnuWin32\include /ID:\program\Aspell-0.60.4\include
/c "D:\devel\lyx\GUI\intl\bindtextdom.c" /Fomsvc\intl\bindtextdom.obj
If I add /ID:\devel\lyx\GUI\src to it, it compiles fine.
Abdel.