Help please
Simon Wilson
s.wilson at uea.ac.uk
Fri Dec 15 00:01:16 GMT 2000
Hi,
I've just installed OSLib on my computer and I'm having problems getting
anything to compile. I'm not a beginner with C++, but I am a beginner with
C++ on the RISC OS platform. I have got a working installation of GCC
prerelease 3a on my Kinetic RiscPC. I also have the latest version of OSLib.
After setting up the necessary environment variables, I tried compiling the
HelloWorld.c example with:
*gcc -o HelloWorld HelloWorld.c -IOSLib:
I get returned:
HelloWorld.c:1: os.h: No such file or directory
After changing the #include to "oslib/os.h" and compiling again, I get:
Error: The following symbols could not be found:
'os_write0' referenced in 'IDEFS:: etc, etc'
DrLink: Link failed with 1 error
ld fatal error: program drlink returned exit status 2048
gcc: Fatal compiler error: program ld
Can anyone please be of any help?
Many thanks,
Simon Wilson
More information about the oslib-user
mailing list