Search found 948 matches

by Roland Chastain
Jan 02, 2021 20:37
Forum: Linux
Topic: Why do graphics programs require libtinfo/ncurses?
Replies: 9
Views: 874

Re: Why do graphics programs require libtinfo/ncurses?

@caseih

Thank you for the explanation.

Regards.

Roland
by Roland Chastain
Jan 02, 2021 9:08
Forum: Linux
Topic: Why do graphics programs require libtinfo/ncurses?
Replies: 9
Views: 874

Re: Why do graphics programs require libtinfo/ncurses?

Compile that with -g and then examine the symbols in your binary: Hello! Interesting. I didn't know the nm command. There must be a problem in my configuration, because I see two different versions of GLIBC: [roland@localhost test]$ nm print | grep -i print 0000000000405230 T fb_ConsolePrintBuffer ...
by Roland Chastain
Oct 30, 2020 4:03
Forum: General
Topic: Execution timing of a Sub launched as a thread
Replies: 25
Views: 1110

Re: Execution timing of a Sub launched as a thread

Works perfectly. My test on Linux:

Unordered launch of threads:
1 3 2 8 7 9 10 11 4 5 13 6 15 16 17 18 19 20 21 22 23 24 25 26 27 12 14 28

Ordered launch of threads:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
by Roland Chastain
Oct 22, 2020 9:15
Forum: Libraries
Topic: Tokamak physics SDK V1.2 (Windows/Linux 32/64-bi)
Replies: 12
Views: 726

Re: Tokamak physics SDK V1.2 (Windows/Linux 32/64-bi)

VANYA wrote:Some examples require renderer.bi file. All other examples work.
Linux 64-bit
Same for me (Linux Mageia).

@Joshy
Thank you for your help about library installation.
by Roland Chastain
Oct 21, 2020 21:13
Forum: Libraries
Topic: Tokamak physics SDK V1.2 (Windows/Linux 32/64-bi)
Replies: 12
Views: 726

Re: Tokamak physics SDK V1.2 (Windows/Linux 32/64-bi)

Hello! It sounds very interesting. Thank you for sharing. I tried a first compilation/run test. I cannot run the compiled program: the libray, which is in the same directory, is not found. I will retry tomorrow. Maybe it's too late and my mind is not clear. [roland@localhost tokamak-1.2-c]$ fbc 02_h...
by Roland Chastain
Oct 21, 2020 17:34
Forum: Libraries
Topic: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)
Replies: 19
Views: 1059

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

With the binaries included in the package, the library works, excepted fbs_Set_PlugPath() . With the library compiled by myself, nothing works, even with the binaries in the current directory. I must have done something wrong. It was a stupid error. My app changed directory before I initial...
by Roland Chastain
Oct 21, 2020 17:27
Forum: Libraries
Topic: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)
Replies: 19
Views: 1059

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

With the binaries included in the package, the library works, excepted fbs_Set_PlugPath() . With the library compiled by myself, nothing works, even with the binaries in the current directory. I must have done something wrong. debug: _InitPlugout: can't load 'libfbsound-alsa-32.so...
by Roland Chastain
Oct 21, 2020 17:11
Forum: Libraries
Topic: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)
Replies: 19
Views: 1059

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

D.J.Peters wrote:
Roland Chastain wrote:There is a typo in build scripts: pendantic instead of pedantic.
good find you must be a pedantic person :lol:
Yes. :)

D.J.Peters wrote:I wonder why fbc accept it wrong written ?
Answer here:
viewtopic.php?p=276419#p276419
by Roland Chastain
Oct 21, 2020 16:50
Forum: General
Topic: Execution timing of a Sub launched as a thread
Replies: 25
Views: 1110

Re: Execution timing of a Sub launched as a thread

fxm wrote:Example of 'ThreadInitThenStart' UDT structure:
Great! I will certainly reuse it (and also your previous example).

@SARG
Thank you for explanations.
by Roland Chastain
Oct 21, 2020 15:46
Forum: Libraries
Topic: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)
Replies: 19
Views: 1059

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

There is a typo in build scripts: pendantic instead of pedantic.
by Roland Chastain
Oct 21, 2020 13:43
Forum: Libraries
Topic: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)
Replies: 19
Views: 1059

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

@D.J.Peters Thank you for your work on the library and on the documentation. I can't wait to make a new test. :) How do you setup fbc 32 and 64 bit on the 64-bit PC ? I downloaded a Linux 32 package from /stw/builds , and installed one after one the missing libraries (the dev version). The missing l...
by Roland Chastain
Oct 21, 2020 7:47
Forum: Libraries
Topic: fbsound 1.2 Windows/Linux (sid wav mp3 ogg mod it xm s3m)
Replies: 19
Views: 1059

Re: preview: of fbsound 1.2 (dynamic) Windows/Linuxt (sid wav mp3 ogg mod it xm s3m)

Tested successfully Linux 32 and 64 (both on a 64 machine). Not really important, but fbs_Set_PlugPath() still doesn't work for me. I don't really need it. If it can't be fixed, maybe you could simply remove it? Just a suggestion. I hope you won't take it bad. debug: fbsound-1.2 RuntimeUnloa...
by Roland Chastain
Oct 21, 2020 6:45
Forum: General
Topic: Execution timing of a Sub launched as a thread
Replies: 25
Views: 1110

Re: Execution timing of a Sub launched as a thread

On Windows there is a parameter to not let the new thread running immediately but that requires to execute an extra statement for starting it. So there is no way do that in a multiplatform program? In Free Pascal, you can create a thread with a boolean parameter CreateSuspended, and after that you ...
by Roland Chastain
Oct 20, 2020 5:21
Forum: Projects
Topic: Adapting MINIMAX under FreeBasic
Replies: 16
Views: 5675

Re: Adapting MINIMAX under FreeBasic

Hello! I converted Minimax to a XBoard/WinBoard engine.

Download
by Roland Chastain
Oct 19, 2020 16:40
Forum: General
Topic: Execution timing of a Sub launched as a thread
Replies: 25
Views: 1110

Re: Execution timing of a Sub launched as a thread

Hello fxm!

I don't really understand what is the purpose of the local ptid variable. If I replace

Code: Select all

If ptid = 0 Then
with

Code: Select all

If p = 0 Then
the print isn't executed.

Go to advanced search