Looking for a decent library for C development? Well,
Jason Tribbeck's
ROVLib has been released under
The Artistic License over at
SourceForge.
Jason's been working on ROVLib for around 7 years, and has been used on many of his projects such as
ArgoNet's
Voyager Internet suite. The API is fully documented in HTML.
As this library has been around for so long Jason's tidied up a few things that he's really embarrassed about, but expect work to start on ROVLib2 for C++ once he's finished tidying up v1.
Link:
http://rovlib.sourceforge.net/
|
Jason Tribbeck's code library released |
|
(12:46 13/2/2002) David Boddie (14:33 13/2/2002) Jason Tribbeck (14:42 13/2/2002) John Hoare (14:57 13/2/2002) David Boddie (16:28 13/2/2002) Jason Tribbeck (16:34 13/2/2002) Jason Tribbeck (00:41 14/2/2002) Guest (15:51 15/2/2002) Jason Tribbeck (17:08 15/2/2002) Peter Naulls (20:24 20/2/2002) Guest (12:28 25/2/2002) tribbles (18:58 20/8/2017) dfeugey (05:36 21/8/2017)
|
|
Jason Tribbeck |
Message #90076, posted at 12:46, 13/2/2002 |
Unregistered user
|
Before anyone complains that it can't be compiled, that's tonight's job to sort out (got some explicit paths to the original source in it which need removing).
Also, I've got to write some tutorials as well. |
|
[ Log in to reply ] |
|
David Boddie |
Message #90077, posted at 14:33, 13/2/2002, in reply to message #90076 |
Unregistered user
|
Nice documentation! Is there an overview available? |
|
[ Log in to reply ] |
|
Jason Tribbeck |
Message #90078, posted at 14:42, 13/2/2002, in reply to message #90077 |
Unregistered user
|
Probably the nearest you'll get to an overview will be the tutorials.
Basically, to create an application:
int main(int argc, char **argv) {
main_init("My Application");
main_poll();
}
That'll end until you tell it to quit. Any more code than that, and people'll complain that there's programming afoot in these hills ;-) |
|
[ Log in to reply ] |
|
John Hoare |
Message #90079, posted at 14:57, 13/2/2002, in reply to message #90078 |
Unregistered user
|
Looks good. Once I've actually finished learning C properly I'll investigate it further. :-) |
|
[ Log in to reply ] |
|
David Boddie |
Message #90080, posted at 16:28, 13/2/2002, in reply to message #90079 |
Unregistered user
|
Jason:
So, presumably there's some sort of callback system for interesting events. I think I'll wait for the tutorial before digging any deeper. |
|
[ Log in to reply ] |
|
Jason Tribbeck |
Message #90081, posted at 16:34, 13/2/2002, in reply to message #90080 |
Unregistered user
|
Yes - you register functions with the library that are called when stuff happens. |
|
[ Log in to reply ] |
|
Jason Tribbeck |
Message #90082, posted at 00:41, 14/2/2002, in reply to message #90081 |
Unregistered user
|
5 tutorials went up a few minutes ago; will do some more tomorrow night. |
|
[ Log in to reply ] |
|
Guest |
Message #90083, posted at 15:51, 15/2/2002, in reply to message #90082 |
Unregistered user
|
May I congratulate you on the professional-looking API reference---rab. |
|
[ Log in to reply ] |
|
Jason Tribbeck |
Message #90084, posted at 17:08, 15/2/2002, in reply to message #90083 |
Unregistered user
|
Many thanks! It's based on JavaDoc if you've ever seen it. |
|
[ Log in to reply ] |
|
Peter Naulls |
Message #90085, posted at 20:24, 20/2/2002, in reply to message #90084 |
Unregistered user
|
Well, I've tried ROVlib, in anger. I'm afraid for me it doesn't really cut the mustard. I'll go back to my old favourite Desklib, which although slightly long in the tooth, offers a bigger range of library facilities. I might even consider updating it for RISC OS > 3.1 |
|
[ Log in to reply ] |
|
Guest |
Message #90086, posted at 12:28, 25/2/2002, in reply to message #90085 |
Unregistered user
|
In what way doesn't it cut the mustard, or have you already communicated your sentiments to Mr Tribbeck? I hope you're not taking his efforts for granted... :-)
As for updating DeskLib for RISC OS releases after 3.1, why bother? If it isn't still the volume market for RISC OS applications, it surely soon will be with the rise of VirtualAcorn. ;-) |
|
[ Log in to reply ] |
|
Jason Tribbeck |
Message #124139, posted by tribbles at 18:58, 20/8/2017, in reply to message #90086 |
Captain Helix
Posts: 929
|
Only 15 and a half years later, I've now released ROVLib as something that compiles with GCCSDK on Linux.
Even runs on a Raspberry Pi.
And, as mentioned above, I have started work on ROVLib2 - I've got as far as task initialisation and Wimp polling (handling exit code). Using it is fairly simple:
#include "task.h"
using namespace rov2;
int main(int argc, char** argv) { CTask* pTask = new CTask("First ROVLib2 app!"); pTask->Poll();
delete(pTask);
return 0; }
|
|
[ Log in to reply ] |
|
David Feugey |
Message #124140, posted by dfeugey at 05:36, 21/8/2017, in reply to message #124139 |
Member
Posts: 40
|
Cool. I hope to see it online soon... and that you'll 32bitted some of your old software Welcome back!
[Edited by dfeugey at 06:37, 21/8/2017] |
|
[ Log in to reply ] |
|
|