Search found 293 matches
- Oct 07, 2022 11:23
- Forum: Libraries & Headers
- Topic: FLTK headers for FreeBasic OOP (no C wrapper)
- Replies: 232
- Views: 26199
Re: FLTK headers for FreeBasic OOP (no C wrapper)
#include once "Fl_Window.bi" #include once "Fl_Clock.bi" dim w as Fl_Window = Fl_Window(940,380,"Window") dim as Fl_Clock fk = Fl_Clock (10,10,200,200) w.end_() w.show fl.run_ Compiles, runs, works. After closing the window: Aborting due to runtime error 12 ("segm...
- Oct 03, 2022 11:17
- Forum: Libraries & Headers
- Topic: newt-freebasic header
- Replies: 19
- Views: 6802
Re: newt-freebasic header
hello, I recompiled the source code of Newt : https://en.wikipedia.org/wiki/Newt_(programming_library) modified configure to compile with -Os optimization, disable python and tcl support (--without-python --without-tcl). i get : libnewt.a size 617,0 Kio libnewt.so size 343,3 Kio with the command : s...
- Sep 03, 2022 9:34
- Forum: Libraries & Headers
- Topic: FLTK headers for FreeBasic OOP (no C wrapper)
- Replies: 232
- Views: 26199
Re: FLTK headers for FreeBasic OOP (no C wrapper)
works perfectly under linux ubuntu 64 bits 20.04 (freeBasic 1.09).
you have done an impressive job. just need some freebasic examples to make it perfect.
you have done an impressive job. just need some freebasic examples to make it perfect.
- Aug 30, 2022 13:40
- Forum: Community Discussion
- Topic: [offtopic] Artificial Life (Simulation & Code)
- Replies: 11
- Views: 1586
Re: [offtopic] Artificial Life (Simulation & Code)
@coolman What code ? angros47's code ? And what version of fbc ? No problem with angros47's code and fbc 1.10 Edit : yes issue when compiling with 1.09 and already fixed in 1.10. If you continue to use 1.09 change SINGLE by DOUBLE, the issue was due to : sqr(dx * dx + dy * dy) Anyway thanks for the...
- Aug 30, 2022 11:16
- Forum: Community Discussion
- Topic: [offtopic] Artificial Life (Simulation & Code)
- Replies: 11
- Views: 1586
Re: [offtopic] Artificial Life (Simulation & Code)
for information for SARG. this code is compiled with : fbc "ArtificialLife00.bas" -gen gcc -Wc -O3 -s gui but not with gas64 : fbc "ArtificialLife00.bas" -gen gas64 -w all -s gui ArtificialLife00.asm: Assembler messages: ArtificialLife00.asm:178: Error: no such instruction: `foun...
- Aug 24, 2022 9:35
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 269660
Re: GUI library for Windows \ Linux (window9)
I know. this solution is not for everyone, i give it for information. i would not use the functions of webkitgtk, so this solution suits me. at the beginning i had the idea to modify the makefile to disable this feature completely. To disable webkit, you can write at the beginning of the window9.bi...
- Aug 23, 2022 18:45
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 269660
Re: GUI library for Windows \ Linux (window9)
I know. this solution is not for everyone, i give it for information. i would not use the functions of webkitgtk, so this solution suits me. at the beginning i had the idea to modify the makefile to disable this feature completely.
- Aug 23, 2022 16:37
- Forum: Libraries & Headers
- Topic: GUI library for Windows \ Linux (window9)
- Replies: 1050
- Views: 269660
Re: GUI library for Windows \ Linux (window9)
Today I have a lot of free time. I tried again to test the window9 library. previously I had an error message related to webkitgtk which prevented any compilation. i compiled the library under linux disribution based on unbuntu version 20.04, copied the files libwindow9.a window9.bi keys.bi extwstri...
- Aug 18, 2022 10:38
- Forum: Libraries & Headers
- Topic: FLTK headers for FreeBasic OOP (no C wrapper)
- Replies: 232
- Views: 26199
- Aug 17, 2022 16:11
- Forum: Libraries & Headers
- Topic: FLTK headers for FreeBasic OOP (no C wrapper)
- Replies: 232
- Views: 26199
Re: FLTK headers for FreeBasic OOP (no C wrapper)
tested on linux distribution based on ubuntu 20.04 libfltk1.3-dev - installed test01.bas #include once "Fl_Window.bi" #include once "Fl_Button.bi" dim w as Fl_Window = Fl_Window(940,380,"Window") dim b as Fl_button = Fl_button(10,30,150,30,"This is a button") ...
- Aug 17, 2022 13:20
- Forum: Sources, Examples, Tips and Tricks
- Topic: Pi Chudnovsky
- Replies: 12
- Views: 2855
Re: Pi Chudnovsky
My gmp method, alas, done so long ago I forget the method I used. I used the 64 bit dll from libexec in the latest official build, and renamed it to libgmp.dll #cmdline "-gen gcc -Wc -O3" #Include Once "gmp.bi" Type mpf_t As __mpf_struct Function Pi_ui Overload(places As UIntege...
- Aug 16, 2022 13:02
- Forum: Sources, Examples, Tips and Tricks
- Topic: Pi Chudnovsky
- Replies: 12
- Views: 2855
Re: Pi Chudnovsky
hello Coolman :) I corrected the code as per SARG's suggestion and tested it on Fedora without problems @SARG if you are on Windows and using FB with winlibs gcc then you can find libgmp-10.dll in the topmost folder of bin/libexec you could just copy and rename the dll in the place where your progr...
- Aug 16, 2022 9:06
- Forum: Sources, Examples, Tips and Tricks
- Topic: Pi Chudnovsky
- Replies: 12
- Views: 2855
Re: Pi Chudnovsky
this code generates many errors when compiling with freebasic 1.09 under linux !
- Aug 12, 2022 17:52
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 886
- Views: 128254
Re: VisualFBEditor - IDE for FreeBasic
with the GPL, all distributed programs must be provided with their source code. with the LGPL license, if you don't modify the library you use, you can integrate it in your executable program without having to provide your source code. of course if you modify the library, you have to provide the sou...
- Aug 07, 2022 20:01
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 886
- Views: 128254
Re: VisualFBEditor - IDE for FreeBasic
yes. i hadn't noticed. sorry. i will continue to study raylib which has an unrestricted license. well, thank you for reminding me of the GPL license of VisualFBEditor/mff, which will absolutely drive me run away from VisualFBEditor/mff. hello. no matter how good a development software is, it is ver...