I downloaded it and installed it,but it doesn't run. I am using fedora 31. 64 bit. One of the problems was a simple capitalization problem. It couldn't find window9.bi because it was named Window9.bi. Anyway, is it supposed to run under linux, and if so, how do I correctly install it? I notice on sourceforge it shows windows and linux...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the linux version, and installed according to this:
Linux (with standard compiler installation):
1) Put files libwindow9.a, libLinked_Lists.a in the folder: /usr/local/lib/freebasic/linux-x86 OR /usr/local/lib/freebasic/linux-x86_64
2) Put files Linked_Lists.bi , window9.bi , keys.bi in the folder: /usr/local/include/freebasic
In the Linux may have to install dependencies from dev versions: gtk (I suggest GTK2) , zlib, webkitgtk , ...
Now it looks like I should run _createbuildMakefile.bas ? When I try to run it, it compiles without error, but then gives a run time error of: Aborting due to runtime error 6 (out of bounds array access) at line 21 of _createbuildMakefile.bas::()
I would appreciate any help or comments to get past this,
Thanks,
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
file createbuildMakefile.bas need to create makefile. makefile you need to compile the library from source.
You wish to compile the library from source? Then compile the file createbuildMakefile.bas in the folder where all the source codes of the library , then in the terminal run in the same folder should be created makefile. Next, type the command make . And then the compiled library will place in the folder: /usr/local/lib/freebasic/linux-x86 (for x86 system) OR /usr/local/lib/freebasic/linux-x86_64 (for a x86-64 system) .
Now it looks like I should run _createbuildMakefile.bas ? When I try to run it, it compiles without error, but then gives a run time error of: Aborting due to runtime error 6 (out of bounds array access) at line 21 of _createbuildMakefile.bas::()
I don't know what you are doing ... You just use the standard compiler , and not some third-party Assembly? Are you sure You have not made corrections to the file createbuildMakefile.bas ? this error can only occur if the file createbuildMakefile.bas variable nFiles less Lbound array or more Ubound array.
Try to comment out all the excess and leave in the file only this code:
constFBC_PATHasstring="fbc"constFBC_FLAGasstring="-w pedantic -lib"ChDirExePath()redimasstringfiles()dimasstringfile=dir("*.bas")dimasintegernFileswhilelen(file)ifleft(file,1)="_"then' ignore all files with "_"elseredimpreservefiles(nFiles)?file,nFilesfiles(nFiles)=filenFiles+=1endiffile=dir()wendsleep
And put the result of the work here
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am sorry, that is my mistake. I am not trying to recompile it. I was wandering around trying to get something to run. I cannot get the sample program below to run.
Include "window9.bi"
Dim As HWND hwnd
hwnd=OpenWindow("1",30,30,100,100)
UpdateInfoXServer ' only for Linux
CenterWindow(hwnd)
Do
var event=WaitEvent()
If event=EventClose Then End
Loop
When I compile this I get:
ld: cannot find -lwebkitgtk-1.0
ld. cannot find -lgtkgl-2.0
Fedora 31 has webkitgtk-4.0 installed,
gtkgl appears to be an include file for freebasic, but it is present.
I have installed gtkglext and gtkglext-devel and gtkglext-libs to my system but apparently not the same.
so I am trying to find the right versions to make this work.
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm counting on you linux not new, just chosen the not easiest Linux distribution. For example, distributions based on Debian , required packages are available for installation directly from synaptic.
Well , let me explain: you need the packages provided FEDORA31 no, but you can them find\install. For example, the package webkitgtk-1.0-devel can be found on the website : pkgs.org (for Fedora version 30 , but it should work ). Also the package libgtkgl-2 you can take from this site , but from the opensuse (download source package, unzip , make build and put libgtkgl-2.0.so.1.0.1 in folder /usr/lib64 and create a symbolic link libgtkgl-2.0.so )
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am a long time user of linux and Fedora. I didn't find the versions your software needs at pksg.org or rpmbone.org. Fedora 30 has webkitgtk-2.4. Fedora 15 has webkitgtk-1.4 Finding 1.0 has been a problem. I am guessing it comes from about 2011? I have found the libgtk-gl-2. It is fairly old too, Is there a possibility of the software being updated to more modern dependencies soon? If not I guess I will keep looking. Thanks for your help, John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
suggest to download Source Package and build library from sources. I already wrote how, but I'll explain again:
1) download
2) unzip and go to folder: gtkglarea-2.0.1
3) ./configure
4) go to folder gtkgl
5) make
6) in a hidden folder .libs will need a library : libgtkgl-2.0.so.1.0.1
7) put it in /usr/lib64
8) create her symbolic links: libgtkgl-2.0.so and libgtkgl-2.0.so.1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I got the gtkgl2 problem resolved, but installing the Fed 30 rpm doesn't work. I did get it installed, but it is not liking several other libraries it is seeing. The libicudata versions it needs are older that what is on the computer. And the compile error still remains. (ld:cannot find -lwebkitgtk-1.0)
Anyway I did get things working in a Ubuntu 18.04 LTS virtualbox, so I can now see how the software works at least. Thanks for your help. Your software looks interesting.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I did all that and it went smoothly. The error still remained. I then added
dnf install webkitgtk-devel and the errors have finally gone away.
stabud, thank you for your patience and your help. I look forward to learning to use this.
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded it and installed it,but it doesn't run. I am using fedora 31. 64 bit. One of the problems was a simple capitalization problem. It couldn't find window9.bi because it was named Window9.bi. Anyway, is it supposed to run under linux, and if so, how do I correctly install it? I notice on sourceforge it shows windows and linux...
I did find this on the fb forums...
Linux (with standard compiler installation):
1) Put files libwindow9.a, libLinked_Lists.a in the folder: /usr/local/lib/freebasic/linux-x86 OR /usr/local/lib/freebasic/linux-x86_64
2) Put files Linked_Lists.bi , window9.bi , keys.bi in the folder: /usr/local/include/freebasic
In the Linux may have to install dependencies from dev versions: gtk (I suggest GTK2) , zlib, webkitgtk , ...
I did that, but could not find a keys.bi file anywhere in the download.
Hi!
For Windows you need to download the archive: window9.zip (sourceforge.net)
For LINUX you need to download the archive: window9_linux.tar.gz (sourceforge.net)
In the archive window9_linux.tar.gz the file keys.bi present
Last edit: stabud 2020-03-14
Thank you. For some reason sourceforge was only showing me the windows version. Your link did it. Thanks,
John
I downloaded the linux version, and installed according to this:
Linux (with standard compiler installation):
1) Put files libwindow9.a, libLinked_Lists.a in the folder: /usr/local/lib/freebasic/linux-x86 OR /usr/local/lib/freebasic/linux-x86_64
2) Put files Linked_Lists.bi , window9.bi , keys.bi in the folder: /usr/local/include/freebasic
In the Linux may have to install dependencies from dev versions: gtk (I suggest GTK2) , zlib, webkitgtk , ...
Now it looks like I should run _createbuildMakefile.bas ? When I try to run it, it compiles without error, but then gives a run time error of: Aborting due to runtime error 6 (out of bounds array access) at line 21 of _createbuildMakefile.bas::()
I would appreciate any help or comments to get past this,
Thanks,
John
file createbuildMakefile.bas need to create makefile.
makefile you need to compile the library from source.
You wish to compile the library from source? Then compile the file createbuildMakefile.bas in the folder where all the source codes of the library , then in the terminal run in the same folder should be created makefile. Next, type the command make . And then the compiled library will place in the folder: /usr/local/lib/freebasic/linux-x86 (for x86 system) OR /usr/local/lib/freebasic/linux-x86_64 (for a x86-64 system) .
I don't know what you are doing ... You just use the standard compiler , and not some third-party Assembly? Are you sure You have not made corrections to the file createbuildMakefile.bas ? this error can only occur if the file createbuildMakefile.bas variable nFiles less Lbound array or more Ubound array.
Try to comment out all the excess and leave in the file only this code:
And put the result of the work here
I am sorry, that is my mistake. I am not trying to recompile it. I was wandering around trying to get something to run. I cannot get the sample program below to run.
Include "window9.bi"
Dim As HWND hwnd
hwnd=OpenWindow("1",30,30,100,100)
UpdateInfoXServer ' only for Linux
CenterWindow(hwnd)
Do
var event=WaitEvent()
If event=EventClose Then End
Loop
When I compile this I get:
ld: cannot find -lwebkitgtk-1.0
ld. cannot find -lgtkgl-2.0
Fedora 31 has webkitgtk-4.0 installed,
gtkgl appears to be an include file for freebasic, but it is present.
I have installed gtkglext and gtkglext-devel and gtkglext-libs to my system but apparently not the same.
so I am trying to find the right versions to make this work.
John
I'm counting on you linux not new, just chosen the not easiest Linux distribution. For example, distributions based on Debian , required packages are available for installation directly from synaptic.
Well , let me explain: you need the packages provided FEDORA31 no, but you can them find\install. For example, the package webkitgtk-1.0-devel can be found on the website : pkgs.org (for Fedora version 30 , but it should work ). Also the package libgtkgl-2 you can take from this site , but from the opensuse (download source package, unzip , make build and put libgtkgl-2.0.so.1.0.1 in folder /usr/lib64 and create a symbolic link libgtkgl-2.0.so )
I am a long time user of linux and Fedora. I didn't find the versions your software needs at pksg.org or rpmbone.org. Fedora 30 has webkitgtk-2.4. Fedora 15 has webkitgtk-1.4 Finding 1.0 has been a problem. I am guessing it comes from about 2011? I have found the libgtk-gl-2. It is fairly old too, Is there a possibility of the software being updated to more modern dependencies soon? If not I guess I will keep looking. Thanks for your help, John
webkit: link
gtkgl2: link
suggest to download Source Package and build library from sources. I already wrote how, but I'll explain again:
1) download
2) unzip and go to folder: gtkglarea-2.0.1
3) ./configure
4) go to folder gtkgl
5) make
6) in a hidden folder .libs will need a library : libgtkgl-2.0.so.1.0.1
7) put it in /usr/lib64
8) create her symbolic links: libgtkgl-2.0.so and libgtkgl-2.0.so.1
Hi,
I got the gtkgl2 problem resolved, but installing the Fed 30 rpm doesn't work. I did get it installed, but it is not liking several other libraries it is seeing. The libicudata versions it needs are older that what is on the computer. And the compile error still remains. (ld:cannot find -lwebkitgtk-1.0)
Anyway I did get things working in a Ubuntu 18.04 LTS virtualbox, so I can now see how the software works at least. Thanks for your help. Your software looks interesting.
On the page which I have indicated, there are instructions. Quote:
Hi,
I did all that and it went smoothly. The error still remained. I then added
dnf install webkitgtk-devel and the errors have finally gone away.
stabud, thank you for your patience and your help. I look forward to learning to use this.
John