[EMAIL PROTECTED] wrote:
> In lyx-1.3.0, I added a form in form_preferences.fd and made corresponding
> changes in form_preferences.[hC] and also in xforms/FormPreferences.[hC].
> But when compiling,  0 size form_preferences.C is produced which leads to
> several errors in the final linking stage. form_preferences.h is O.K. Can
> anybody tell me what are the possible mistakes I made?

Usually it makes it easier to diagnose if you send the offending file too...

However, in this particular case I suspect the problem occurs because you 
have added #if ... #endif statements to form_preferences.fd. fdesign does 
not recognise them and exits. So, the solution (as I have told you in the 
past) is to remove them. The automatic dialog generation process will 
create form_preferences.[Ch] with this extra dialog.

Thereafter, add your #if ... #endif statements to FormPreferences.C and only 
CJK-LyX will actually build the new tab.

Regards,
-- 
Angus

Reply via email to