AllBASIC Forum
BASIC Developer & Support Resources => Open Forum => Topic started by: John on December 02, 2018, 09:20:44 PM
-
Hi Peter,
I would be happy to host your forum ,(like Charle's O2 project) if you want off ProBoards. The sandbox would make the guys happy. You would have Plesk Onyx control panel admin rights. The server instance runs on AWS + Route53 running CentOS 7.
ProBoards to SMF Converter (http://www.simplemachines.org/community/index.php?topic=188741.0) (link updated)
Without trying to sound biased, I feel BaCon, Scipt BASIC and Oyxgen Basic are the last of the non-Microsoft BASIC survivors. If we unite, we may be able to keep BASIC vibrant for a few more years.
BaCon - Linux / Unix Traditional BASIC to C Translator
Script BASIC - Cross platform traditional BASIC interpreter
OxygenBasic - Hybrid BASIC to ASM self compiling compiler for Windows
-
I have created a sandbox repository for the BaCon open source project. The goal of bringing Bacon, Script BASIC and OxygenBasic together under one roof is to share concepts with the goal of collaborating and making BASIC the language it once was.
-
I tried running the BaConGUI executable from the build directory and recieved the following errors and warnings. The BaCon IDE did come up and seemed to work normally.
Any ideas how to resolve this?
Update:
After installing Gtk2.0 and -dev, I'm still getting this message and the following errors/warnings.
Gtk library for 'gtk2' not found! Trying GTK3...
jrs@jrs-laptop:~/BaCon/bacon-3.8/build$ ./bacongui-gtk
Gtk library for 'gtk2' not found! Trying GTK3...
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:26.646: gtk_source_buffer_new_with_language: assertion 'GTK_SOURCE_IS_LANGUAGE (language)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:26.646: gtk_source_buffer_set_highlight_matching_brackets: assertion 'GTK_SOURCE_IS_BUFFER (buffer)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:26.646: gtk_source_view_new_with_buffer: assertion 'GTK_SOURCE_IS_BUFFER (buffer)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:26.646: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:26.647: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:26.647: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:26.647: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:26.647: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:26.647: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:26.647: gtk_source_view_set_tab_width: assertion 'GTK_SOURCE_VIEW (view)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:26.648: gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:26.648: gtk_text_view_set_editable: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:26.648: gtk_text_view_set_wrap_mode: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:28.089: gtk_source_buffer_new_with_language: assertion 'GTK_SOURCE_IS_LANGUAGE (language)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:28.090: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:28.090: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:28.090: gtk_source_buffer_set_highlight_matching_brackets: assertion 'GTK_SOURCE_IS_BUFFER (buffer)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:28.090: gtk_source_view_new_with_buffer: assertion 'GTK_SOURCE_IS_BUFFER (buffer)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:28.090: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:28.090: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:28.090: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:28.090: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:28.090: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:28.090: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GLib-GObject-WARNING **: 14:02:28.090: invalid (NULL) pointer instance
(bacongui-gtk:5042): GLib-GObject-CRITICAL **: 14:02:28.090: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:28.090: gtk_source_view_set_tab_width: assertion 'GTK_SOURCE_VIEW (view)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:28.092: gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:28.093: gtk_widget_grab_focus: assertion 'GTK_IS_WIDGET (widget)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:28.094: gtk_source_view_set_auto_indent: assertion 'GTK_SOURCE_IS_VIEW (view)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:28.094: gtk_source_view_set_show_line_numbers: assertion 'GTK_SOURCE_IS_VIEW (view)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:28.094: gtk_text_view_set_wrap_mode: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:28.095: gtk_widget_modify_font: assertion 'GTK_IS_WIDGET (widget)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:28.095: gtk_widget_modify_font: assertion 'GTK_IS_WIDGET (widget)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:28.095: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:02:28.097: gtk_source_buffer_set_style_scheme: assertion 'GTK_SOURCE_IS_BUFFER (buffer)' failed
(bacongui-gtk:5042): Gtk-CRITICAL **: 14:02:28.273: gtk_widget_grab_focus: assertion 'GTK_IS_WIDGET (widget)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:06:00.150: gtk_source_buffer_get_style_scheme: assertion 'GTK_SOURCE_IS_BUFFER (buffer)' failed
(bacongui-gtk:5042): GtkSourceView-CRITICAL **: 14:06:00.150: gtk_source_style_scheme_get_id: assertion 'GTK_SOURCE_IS_STYLE_SCHEME (scheme)' failed
jrs@jrs-laptop:~/BaCon/bacon-3.8/build$
-
No problems grabbing from the fossil repository and building/running here. Ubuntu 18.10
-
I downloaded 3.8 from Peter's website. I tried to run bacongui-gtlk from the build directory just after it was built. I didn't run make install first. Strange it can't find Gtk 2.0 after installing it.
Even after running make install the problem still exists.
jrs@jrs-laptop:~/BaCon/bacon-3.8$ sudo make install
[sudo] password for jrs:
mkdir -p /usr/local/bin
mkdir -p /usr/local/share/applications
/usr/bin/install -c bacon.sh /usr/local/bin
/usr/bin/install -c build/bacon /usr/local/bin
/usr/bin/install -c build/bacongui-gtk /usr/local/bin
/usr/bin/install -c -m 644 bacongui-gtk.desktop /usr/local/share/applications
mkdir -p /usr/local/lib
/usr/bin/install -c -m 644 build/libbacon.a /usr/local/lib
/usr/bin/install -c -m 644 build-cpp/libbacon++.a /usr/local/lib
mkdir -p /usr/local/share/man/man1
/usr/bin/install -c -m 644 bacon.1 /usr/local/share/man/man1
mkdir -p /usr/local/share/pixmaps
/usr/bin/install -c -m 644 icons/BaCon.png /usr/local/share/pixmaps
/usr/bin/install -c -m 644 icons/BaCon24.png /usr/local/share/pixmaps
/usr/bin/install -c -m 644 icons/BaConEyes.png /usr/local/share/pixmaps
mkdir -p /usr/share/enscript/hl
/usr/bin/install -c -m 644 syntax/bacon.st /usr/share/enscript/hl
jrs@jrs-laptop:~/BaCon/bacon-3.8$
-
Those warnings are GTKSOURCEVIEW related.
You may have multiple versions, or your lib paths are screwy.
What do you see when you run:
apt list --installed | grep gtksourceview
and:
ldconfig -p | grep gtksourceview
and for your 64bit (I'm assuming that's what you're running, if not change "m64" to "m32" below) lib paths:
gcc -m64 -Xlinker --verbose 2>/dev/null | grep SEARCH | sed 's/SEARCH_DIR("=\?\([^"]\+\)"); */\1\n/g' | grep -vE '^$'
AIR.
-
ldconfig -p | grep gtksourceview
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libgtksourceview-3.0-1/cosmic,now 3.24.9-1 amd64 [installed,automatic]
libgtksourceview-3.0-common/cosmic,cosmic,now 3.24.9-1 all [installed,automatic]
gcc -m64 -Xlinker --verbose 2>/dev/null | grep SEARCH | sed 's/SEARCH_DIR("=\?\([^"]\+\)"); */\1\n/g' | grep -vE '^$'
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu64
/usr/local/lib64
/lib64
/usr/lib64
/usr/local/lib
/lib
/usr/lib
/usr/x86_64-linux-gnu/lib64
/usr/x86_64-linux-gnu/lib
-
May just be a missing syntax file then. You can grab that under the "options" menu.
-
Please excuse my ignorance but what do you mean?
-
Read This.
http://basic-converter.proboards.com/post/6326
-
Thanks AIR I'll give that a try.
EDIT: fixed in the latest beta.
Apparently NOT.
Update
Same problem. :-\
I don't normally use the GUI IDE with BaCon. I'm going to give the IUP example I have a try and see if the same problems occur.
-
Odd thing is that it worked "out of the box" in a VM, but on my laptop I had to pass it the -gtk3 switch ONCE and it was fine after that...
-
Thanks AIR!
That fixed the startup errors but I get the following on exit of the IDE.
(bacongui-gtk:4938): GtkSourceView-CRITICAL **: 17:32:04.181: gtk_source_style_scheme_get_id: assertion 'GTK_SOURCE_IS_STYLE_SCHEME (scheme)' failed
-
Try launching:
bacongui-gtk -gtk3
Then, while in the ide, under the "options" menu select "update syntax file..." and when that's done, in the same "options" menu, click on "Select Theme" and choose any of the themes.
After this, when you relaunch, you should no longer see any of the gtksourceview warnings. You will still see the message about not finding Gtk2, ignore it, since it will use Gtk3 which is the default in regular Ubuntu.
-
If you were a BaCon support person, I would give you a A+.
Works great!
-
If you were a BaCon support person, I would give you a A+.
Works great!
I found the answer on their forum, at the link I provided earlier. So Peter gets the props since he provided the solution....