Open mbergmann-sh opened 5 years ago
I can't find any inc folder with .bi to copy to /usr/local//freebasic/ in the whole archive. Compiling GladeToBac.bas gives me gladeToBac.bas(47) error 23: File not found, "libintl.bi" in '#INCLUDE ONCE "libintl.bi" '
naturely... Is the archive folder incomplete?
I am facing the same problem.. Is the author still alive?
@agungss I think this is the missing library: https://web.archive.org/web/20201021184111/https://www.freebasic.net/forum/viewtopic.php?t=18395
''' ' This is file libintl.bi ' (FreeBasic binding for libintl version 0.18) ' ' translated with help of h_2_bi.bas by ' Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net. ' ' Licence: ' (C) 2011 Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net ' ' This library binding is free software; you can redistribute it ' and/or modify it under the terms of the GNU Lesser General Public ' License as published by the Free Software Foundation; either ' version 2 of the License, or (at your option) ANY later version. ' ' This binding is distributed in the hope that it will be useful, ' but WITHOUT ANY WARRANTY; without even the implied warranty of ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ' Lesser General Public License for more details, refer to: ' http://www.gnu.org/licenses/lgpl.html ' ' ' Original license text: ' '/* Message catalogs for internationalization. 'Copyright (C) 1995-2002, 2004, 2005 Free Software Foundation, Inc. 'This file is part of the GNU C Library. 'This file is derived from the file libgettext.h in the GNU gettext package.
'The GNU C Library is free software; you can redistribute it and/or 'modify it under the terms of the GNU Lesser General Public 'License as published by the Free Software Foundation; either 'version 2.1 of the License, or (at your option) any later version.
'The GNU C Library is distributed in the hope that it will be useful, 'but WITHOUT ANY WARRANTY; without even the implied warranty of 'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 'Lesser General Public License for more details.
'You should have received a copy of the GNU Lesser General Public 'License along with the GNU C Library; if not, write to the Free 'Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA '02111-1307 USA. */
EXTERN "C" ' (h_2_bi -P_oCD option)
' 001 start from: libintl.h2bi ==> libintl.h
' file not found: features.h
DECLARE FUNCTION gettext(BYVAL AS CONST ZSTRING PTR) AS ZSTRING PTR DECLARE FUNCTION dgettext(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR) AS ZSTRING PTR DECLARE FUNCTION dgettext(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR) AS ZSTRING PTR DECLARE FUNCTION dcgettext(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR, BYVAL AS INTEGER) AS ZSTRING PTR DECLARE FUNCTION dcgettext(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR, BYVAL AS INTEGER) AS ZSTRING PTR DECLARE FUNCTION ngettext(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR, BYVAL AS ULONGINT) AS ZSTRING PTR DECLARE FUNCTION dngettext(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR, BYVAL AS ULONGINT) AS ZSTRING PTR DECLARE FUNCTION dcngettext(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR, BYVAL AS ULONGINT, BYVAL AS INTEGER) AS ZSTRING PTR DECLARE FUNCTION textdomain(BYVAL AS CONST ZSTRING PTR) AS ZSTRING PTR DECLARE FUNCTION bindtextdomain(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR) AS ZSTRING PTR DECLARE FUNCTION bind_textdomain_codeset(BYVAL AS CONST ZSTRING PTR, BYVAL AS CONST ZSTRING PTR) AS ZSTRING PTR
' file not found: locale.h
' 001 back from libintl.h2bi ==> libintl.h
DECLARE FUNCTION setlocale(BYVAL AS INTEGER, BYVAL AS CONST ZSTRING PTR) AS ZSTRING PTR
END EXTERN ' (h_2_bi -P_oCD option) ' 000 start from: libintl.h2bi, section __END_BI__
' Translated at 11-01-28 11:16:38, by h_2_bi (version 0.2.0.1, ' released under GPLv3 by Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net)
' Protocol: libintl.bi ' Parameters: ' Process time [s]: 0.006257920642383397 ' Bytes translated: 2184 ' Maximum deep: 1 ' SUB/FUNCTION names: 11 ' mangled TYPE names: 0 ' files done: 0 ' files missed: 2 ' features.h ' locale.h ' #DEFINE FOLDERS#DEFINE : 0 ' #DEFINE MACROS#DEFINE : 5 ' 1: #define #DEFINE BEGIN_DECLS ' 1: #define #DEFINE END_DECLS ' 11: #define #DEFINE THROW ' 33: #define #DEFINE const const ' 8: #define #DEFINE attribute_format_arg#DEFINE (x) ' #DEFINE HEADERS#DEFINE : 0 ' #DEFINE TYPES#DEFINE : 0 ' #DEFINE POST_REPS#DEFINE : 0 '''
I can't find any inc folder with .bi to copy to /usr/local//freebasic/ in the whole archive. Compiling GladeToBac.bas gives me gladeToBac.bas(47) error 23: File not found, "libintl.bi" in '#INCLUDE ONCE "libintl.bi" '
naturely... Is the archive folder incomplete?