Search found 1447 matches

by St_W
Sep 08, 2019 9:08
Forum: Community Discussion
Topic: St_W builds
Replies: 7
Views: 283

Re: St_W builds

The GNU tools binaries (as, ld, gcc) usually don't change for a long period of time,thus you could simply copy over the new FreeBasic build into your existing fbc-nightly installation folder (overwriting existing files) if you have set it up once. What I thought I could be doing to improve the situa...
by St_W
Sep 07, 2019 23:32
Forum: Community Discussion
Topic: St_W builds
Replies: 7
Views: 283

Re: St_W builds

You're right. GCC is not included in the win32 builds, only in the win64 ones (because win32 defaults to gen gas while win64 defaults to gen gcc). No change here in recent months. The main reason for not including GCC is its size, which increases the size of the ZIP und thus the storage space needed...
by St_W
Aug 12, 2019 18:49
Forum: Community Discussion
Topic: [offtopic]What was at Jul 24, 2019 something special ?
Replies: 13
Views: 2133

Re: [offtopic]What was at Jul 24, 2019 something special ?

My birthday as well :-) (but not the 50th)
by St_W
Jun 21, 2019 15:50
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 4659

Re: fb 1.07 tests

Therefore, it seems that only the passing of: ENABLE_STRIPALL=1 was omitted building 1.07.0 DEV. I'm pretty certain that St_W could fix that quickly, for future builds (which restores "old" defaults). That's correct, I didn't add that setting, but I could easily. The question is what will...
by St_W
Jun 16, 2019 13:35
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 5308

Re: FBC's Cairo clock example error

What is the process to get this example (and maybe many more) fixed? Create a GitHub account? I have not worked with GitHub before. ⋅ Prerequisites: - a GitHub account and - a Git client installed on your PC ⋅ Fork the official FreeBasic repository https://github.com/freebasic/f...
by St_W
May 26, 2019 21:34
Forum: Windows
Topic: How can I add auto-completion in fbedit?
Replies: 3
Views: 1198

Re: How can I add auto-completion in fbedit?

There's a tool "MakeApi" that comes with FreeBasic and is intended to generate ".api" files from FreeBasic source code/headers. However tended to be a bit unstable or broken for certain source files, so you may need to tweak it (and/or your input files) a bit.
by St_W
Apr 14, 2019 20:13
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 429
Views: 64764

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Previously dkl prepared the build information and related things right after the release for the next one. See e.g.: https://github.com/freebasic/fbc/commit/cf5119532ed35edf77cfc7f6da1570aeeeae58e3 counting_pine (or other FB devs) didn't do that after the 1.06 release, that's why it still shows 1.06...
by St_W
Mar 29, 2019 17:31
Forum: General
Topic: HTTPS Requests in FreeBasic
Replies: 3
Views: 512

Re: HTTPS Requests in FreeBasic

There's also a library-version of curl, libcurl, which provides an API that you can use directly in your application instead of running external applications. Dealing with SSL yourself can get quite complicated, so I strongly advice to use some library that handles this for you (like the one I menti...
by St_W
Mar 24, 2019 19:42
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 429
Views: 64764

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Status update: The automatic package upload was broken, thus no new builds were uploaded recently. I fixed the problem today, so the latest builds should be uploaded this night. Additionally the FreeBSD 32-bit build is broken currently and also the 64-bit tests on Windows, will have a look at these ...
by St_W
Mar 19, 2019 22:39
Forum: Beginners
Topic: Compiling the runtime library
Replies: 16
Views: 1669

Re: Compiling the runtime library

Mixing different versions of GCC and/or its runtime libraries may always cause troubles, but after short googling it looks like specific versions of MSYS2 also had a problem that could cause that error (for example this bug report describes that the error was fixed by updating MSYS2: https://github....
by St_W
Feb 17, 2019 19:01
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 1720

Re: Dpi awareness functions not included?

A desktop environment that by default stretches a fullscreen OpenGL game out of the screen, now that's what I call bad design. There's no good solution from a OS's perspective in that case: not scaling makes the application unusable because of unreadable tiny texts and controls and scaling may also...
by St_W
Feb 17, 2019 18:29
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 1720

Re: Dpi awareness functions not included?

@Tourist Trap: The recommended way (according to Microsoft) to make your application dpi-aware (or explicitly dpi-unaware, which is the default when you specify nothing) is to add an entry to your application manifest. That's a better method than calling the API methods you mentioned. It should not ...
by St_W
Feb 04, 2019 22:25
Forum: Hardware Interfaces / Communication
Topic: How can I listen and serve information over a TCP port? [Windows]
Replies: 4
Views: 1625

Re: How can I listen and serve information over a TCP port? [Windows]

If you want to really implement something yourself, have a look at the Winsock documentation (which works quite similar to Unix sockets). You'll also find an example there: https://docs.microsoft.com/en-us/windows/desktop/winsock/complete-server-code If you want to have a little bit less work take a...
by St_W
Jan 28, 2019 22:17
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1786

Re: [Freebasic 32 vs 64]

why not harmonize freebasic 32 and 64 so that it generates only C code with the default compilation enabled with the option -O2. it would be more logical. and it will optimize the c-generated code in both versions. You can use the gcc backend also for 32-bit freebasic by passing "-gen gcc"...
by St_W
Jan 28, 2019 18:46
Forum: Beginners
Topic: Unicode and files
Replies: 10
Views: 1249

Re: Unicode and files

Yes; Linux does not provide separate APIs for Unicode, like Windows does for UTF-16, but supports UTF-8 in existing APIs instead.

Go to advanced search