Search found 268 matches

by TeeEmCee
Jan 11, 2020 12:46
Forum: Linux
Topic: Compile Error On Ubuntu
Replies: 12
Views: 670

Re: Compile Error On Ubuntu

I hardly read the forums and I wasn't very aware of your good work. But I never assumed you didn't know what you were talking about. You could have claimed your expertise without attacking me. Do I really need to refute your bad-faith claim that I don't understand linking? I deal with arcane details...
by TeeEmCee
Jan 04, 2020 7:35
Forum: Linux
Topic: Compile Error On Ubuntu
Replies: 12
Views: 670

Re: Compile Error On Ubuntu

Well, sorry, but I took what you wrote literally. Taken literally, it was wrong, and I think I'm right to point that out. I don't understand why you've taken offence, but it wasn't my intention to cause any.
by TeeEmCee
Dec 28, 2019 2:33
Forum: Linux
Topic: Compile Error On Ubuntu
Replies: 12
Views: 670

Re: Compile Error On Ubuntu

No, that's not correct. What's incorrect? You wrote "If this function is in the library libbig_int.a, you've to DECLARE it in the FB code" and that was what was incorrect. (I assumed you meant "you've got to DECLARE it") Oh, when I said "compile error" I meant specific...
by TeeEmCee
Dec 23, 2019 4:37
Forum: Linux
Topic: Compile Error On Ubuntu
Replies: 12
Views: 670

Re: Compile Error On Ubuntu

No, that's not correct. This is a link error, not a compile error, so isn't caused by a missing declare, and anyway libbig_int is a library written in C, not a FB module. I'm surprised you have a lib/freebasic/linux-x86_64/libbig_int.a file. Was that included with the copy of FB you downloaded, or d...
by TeeEmCee
Dec 23, 2019 4:25
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7156

Re: FreeBASIC 1.08 Development

I finally have a Mac (VM) at home and can work on the Mac port again. SDL 1.2 C headers rename main to SDL_main and SDL provides its own main() function which does some initialisation. You can get away without calling SDL's main on Windows and Linux, but it's mandatory on OSX. SDL 2 does away with t...
by TeeEmCee
Dec 23, 2019 4:17
Forum: Community Discussion
Topic: FreeBASIC interpreter on android
Replies: 4
Views: 384

Re: FreeBASIC interpreter on android

Oh, cool, wasn't expecting to see that! 10,000+ installs. Yes, fbgfx would be missing. One of the reviews also mentions that. If you want to create more than just commandline android programs, you need a lot more. Writing code on a smartphone must be a nightmare. I suppose a tablet may be doable but...
by TeeEmCee
Nov 21, 2019 0:21
Forum: Community Discussion
Topic: Is there any plan to support MAC, iOS or Andriod? like freepascal
Replies: 7
Views: 575

Re: Is there any plan to support MAC, iOS or Andriod? like freepascal

To my knowledge noone has done any work on an iOS port of FB yet. I no longer have access to a Mac, so not doing any work on that port lately. Note that the fbgfx library is not ported to Mac or Android. It only supports Windows, X11 (Unix), DOS (and XBox?). Plus also there is v1ctor's HTML5/Emscrip...
by TeeEmCee
Oct 06, 2019 2:38
Forum: Community Discussion
Topic: PS4? Xbox One? Switch?
Replies: 6
Views: 1105

Re: PS4? Xbox One? Switch?

fbgfx also has a null driver, which should work on all platforms. I have never used it, but I assume that you could use it do everything you need except for drawing to the screen and I/O, and use SDL2 for those. Yes multikey/getmouse/etc are part of fbgfx (though there is also a "console" ...
by TeeEmCee
Oct 05, 2019 12:29
Forum: Community Discussion
Topic: PS4? Xbox One? Switch?
Replies: 6
Views: 1105

Re: PS4? Xbox One? Switch?

I have previously looked into porting a FB game engine (OHRRPGCE) to these three consoles using SDL2. I had another look. So you're using fb's gfxlib (aka fbgfx) + OpenGL for graphics? Summary: Switch and XBox One should be straightforward for me since I'm using SDL2, but fbgfx is a problem for you,...
by TeeEmCee
Sep 13, 2019 4:49
Forum: Community Discussion
Topic: Anonymous Functions in FreeBASIC
Replies: 2
Views: 776

Re: Anonymous Functions in FreeBASIC

FB does not. I really really wish FB supported nested functions and/or lambda expressions (anonymouse functions). Why? So that I could write code like this: dbg.add_button(scF2, "Quick-save (F2)", Function() savegame 0, "quick" gam.showtext = "Quick-saved. Press F3 to quick-...
by TeeEmCee
Sep 05, 2019 4:38
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 43
Views: 6860

Re: FreeBASIC 1.07.0 Release Discussion

The release of FB 1.07 took me by surprise, but is welcome.
Is there any kind of schedule for future releases? Or any set of changes that you want to finish before releasing 1.08?
by TeeEmCee
Aug 31, 2019 1:24
Forum: General
Topic: I hate shell
Replies: 8
Views: 3308

Re: I hate shell

I think the difference between cmd.exe and command.com only matters if you're invoking them directly by calling cmd or command. But if you think *that's* bad, it turns out that the winapi OpenProcess() call itself behaves very differently on Win NT and 9X when it comes to console (non-gui) mode prog...
by TeeEmCee
Aug 30, 2019 9:19
Forum: General
Topic: [solved] I need your help for a C to FreeBASIC translation !
Replies: 5
Views: 2971

Re: I need your help for a C to FreeBASIC translation !

What's going on here is that those two lines are duplicate identical declarations of the same function, just written in two different ways. Duplicate declarations are allowed in C and don't give any warning even with "gcc -Wall". The first declaration doesn't name the argument, the second ...
by TeeEmCee
Aug 30, 2019 9:01
Forum: General
Topic: I hate shell
Replies: 8
Views: 3308

Re: I hate shell

If you think it's bad, did you know that cmd.exe (Windows NT) and command.com (Windows 9X) have different rules for how you need to quote/escape filenames when passing them a string to execute? I guess that system() hides that difference. I tried: shell "printcmdline /FI ""IMA...
by TeeEmCee
Aug 29, 2019 5:32
Forum: General
Topic: Sometimes I think the -gen gcc asm code emitter is totaly stupid :-)
Replies: 5
Views: 3907

Re: Sometimes I think the -gen gcc asm code emitter is totaly stupid :-)

Thanks. I'm looking forward to porting a FB program (the OHRRPGCE) to wasm! Has anyone tried yet?

Go to advanced search