Search found 553 matches

by Oz
Jun 28, 2022 19:09
Forum: Libraries & Headers
Topic: fbJSON - JSON Parser for FreeBASIC
Replies: 16
Views: 10484

Re: fbJSON - JSON Parser for FreeBASIC

I know this is an old post - hopefully you can still help me with it. I am trying to compile your fbjson-master.zip files and am getting an error. I unzipped the fbjson-master files into a folder called fbjson-master. Then I opened a CMD window and ran the following. ...\fbjson-master\fbc test.bas ...
by Oz
Nov 19, 2014 13:51
Forum: Community Discussion
Topic: Tangent post regarding QBasic and AllExperts.com
Replies: 0
Views: 1196

Tangent post regarding QBasic and AllExperts.com

Hello Everyone, It's been a while since I've posted anything new, but that's beside the point. I have volunteered as a web expert for QBasic for a while on AllExperts.com (I think since 2005?), but lately, time constraints like marriage, family, and work, I don't have the sort of free time I used to...
by Oz
Oct 10, 2014 18:39
Forum: Linux
Topic: Arch Linux package is missing many of the includes
Replies: 8
Views: 3179

Re: Arch Linux package is missing many of the includes

Hah - I seem to encounter piles of C headers with inline functions, but maybe I just translate headers from crazy people :P
by Oz
Oct 10, 2014 18:30
Forum: Linux
Topic: Arch Linux package is missing many of the includes
Replies: 8
Views: 3179

Re: Arch Linux package is missing many of the includes

Once fbfrog can handle inline functions in a sane way, that could be neat! :)
by Oz
Oct 10, 2014 14:54
Forum: Linux
Topic: Arch Linux package is missing many of the includes
Replies: 8
Views: 3179

Re: Arch Linux package is missing many of the includes

The issue is that the Arch package automagically decides on this, and maybe it should be forked off into a 32-bit and a 64-bit version, since I run 64-bit linux, but often use 32-bit applications, and really don't want to have to try and manipulate FreeBASIC into copying headers that should just wor...
by Oz
Oct 08, 2014 0:09
Forum: Linux
Topic: Arch Linux package is missing many of the includes
Replies: 8
Views: 3179

Arch Linux package is missing many of the includes

I've had freebasic installed for a while on Arch, but honestly haven't played with it much. I was testing some code with Dr_D, and quickly discovered that I'm missing the OpenGL headers. So, I peek at the package file list, and see that only CUnit/ and crt/ directories were installed, plus a few cor...
by Oz
Jun 12, 2013 14:35
Forum: Libraries & Headers
Topic: fbJSON - JSON Parser for FreeBASIC
Replies: 16
Views: 10484

Re: fbJSON - JSON Parser for FreeBASIC

I don't know why I would use lua to use a c interface through freebasic. Now, if I were doing some lua scripting in a freebasic application, I would definitely consider lua-cjson, but for anything that I'm trying to do with minimal dependencies, I would avoid it. You are absolutly right. I am not a...
by Oz
Jun 12, 2013 11:45
Forum: Libraries & Headers
Topic: fbJSON - JSON Parser for FreeBASIC
Replies: 16
Views: 10484

Re: fbJSON - JSON Parser for FreeBASIC

Do you know this thread? Header for libjson-glib Parser / generator and utf8 character encoding are ready to use. And: it generates a tree of GObjects from a JSON-stream and vice versa. (Ie transfering an XML file is just a few lines of code.) Nope, but then again, I haven't been too active in the ...
by Oz
Jun 12, 2013 2:38
Forum: Libraries & Headers
Topic: fbJSON - JSON Parser for FreeBASIC
Replies: 16
Views: 10484

Re: fbJSON - JSON Parser for FreeBASIC

Just wanted to bump this - I got caught up in a lot of work, and fbJSON took a place in the back burner for a while, but I have recently started getting back into it. I have moved the code to github, and will try and get some more updates in. In the current state of the repo, I have broken the json ...
by Oz
Nov 08, 2012 14:30
Forum: Libraries & Headers
Topic: Chipmunk 6.x Physics Translation
Replies: 51
Views: 22516

Re: Chipmunk 6.x Physics Translation

Already tried that, and it didn't fix it. Well, apparently in last night's evening stupor, i tried "_data_" which didn't work, but "data_" indeed does, so that has been updated, thanks for the find :) -Oz :: Edit #2 :: Actually, it seems the issue is "cpSpaceGetUserData&quo...
by Oz
Nov 08, 2012 4:45
Forum: Libraries & Headers
Topic: Chipmunk 6.x Physics Translation
Replies: 51
Views: 22516

Re: Chipmunk Physics HowTo guides

Bump, moved to github, few updates, and I'm currently working out some of the latest translation bugs.

:: Edit ::
Worked out bugs, can anyone identify why this produces an error if I uncomment it?
by Oz
Nov 06, 2012 15:39
Forum: Libraries & Headers
Topic: Freebasic enet bindings
Replies: 6
Views: 3416

Re: Freebasic enet bindings

Updated repo and first post, thanks guys!

-Oz
by Oz
Nov 06, 2012 14:38
Forum: Libraries & Headers
Topic: Freebasic enet bindings
Replies: 6
Views: 3416

Re: Freebasic enet bindings

Is there any reason why you didn't place this statement inside the header file (like it's done in all the other FB headers)? None, other than I'm more of a C programmer, and I think adding -l enet to your build commandline or #inclib "enet" to the top of your code isn't a terrible burden,...
by Oz
Nov 05, 2012 22:15
Forum: Libraries & Headers
Topic: Freebasic enet bindings
Replies: 6
Views: 3416

Re: Freebasic enet bindings

You're not linking to enet - try adding:

Code: Select all

#inclib "enet"
To the top of your code :)
by Oz
Oct 30, 2012 13:02
Forum: General
Topic: Bitfields
Replies: 7
Views: 1414

Re: Bitfields

Thanks Gents, I was pretty sure I was doing something silly - I opted to go with the union setup that was suggested a few times. Thanks again!

-Oz