Today, I started a new project using GLADE (GTK3) using the newest and greatest version. I have not done one in awhile.
Code: Select all
CONST PROJ_NAME = "DBE" ' >
CONST PROJ_DESC = "DBeditor" ' >
CONST PROJ_VERS = "0.1" ' >
CONST PROJ_YEAR = "2022" ' >
CONST PROJ_AUTH = "Walter Gazdzik" ' >
CONST PROJ_MAIL = "DesertEdgeRR@gmail.com" ' >
CONST PROJ_WEBS = "" ' >
CONST PROJ_LICE = "GNU General Public License v3" ' >
#DEFINE __USE_GTK3__ ' GTK-3 / GTK-3 Bibliothek >
#INCLUDE "gtk\gtk3.bi" ' GTK+library / GTK+ Bibliothek >
#LibPath "C:\msys64\mingw64\lib"
gtk_init(@__FB_ARGC__, @__FB_ARGV__) ' start GKT / GTK starten >
#INCLUDE "tobac\DBE_tobac.bas" ' Signale & GUI-XML >
gtk_builder_connect_signals(XML, 0) ' Signale anbinden >
gtk_widget_show_all(GTK_WIDGET(Main)) ' Hauptfenster darstellen >
gtk_main() ' main loop / Hauptschleife >
g_object_unref(XML) ' dereference / Referenz abbauen >
This is a version of the code created by GladeToBac that has worked for at least 5 years.
The #Libpath is the same one I used last time than I got the following loader errors from the CRT routines in FBC 1.09
When I tried to copy the error messages from the loader output screen, WinFBE terminated abnormally without placing the selected area in the clipboard (I did a Copy from the menu). At least the loader screen tried to work. Nothing happened until I did a paste into this reply screen and that is when WinFBE aborts and nothing is pasted into this screen.
I cannot copy anything from the compiler output window. Nothing happens when I try to copy and the Copy command in the menu is greyed out.
Need to be able to copy from these windows for error reporting.
Code: Select all
Toolchain reference for 1.09.0...\crt2.0: in function `__tmainCRTStartup`:
and about 15 others like that all for different routines in crt2.0
I ran MSYS with Pacman -Syu three times and the third time it indicated everything is up to date as of today. Same errors both before and after MSYS update.
I tried the following adding the following #Includes at the beginning with no success
Code: Select all
#Include Once "crt.bi"
#Include Once "crt\limits.bi"
#Include Once "crt\math.bi"
#Include Once "crt\String.bi"
#Include Once "String.bi"
#Include Once "dir.bi"
#Include Once "vbcompat.bi"
Any idea of why the FB version of CRT is causing these unknown references in the loader. The last time I use GTK was about a year ago and it worked with an older version of WinFBE and FBC. I have no idea what is happening. I assumed that my version of GTK 3.24 from MSYS was out of sync with the FBC version of the CRT routines? Hence the upgrade by MSYS. Any suggestions to get the loader to work would be greatly appreciated. Or maybe a different version of GTK 3.24 that works with 1.09. The MSYS version of GTK had worked for a number of years.
Thank you in advance.
Wally