Page 1 of 1

libUUID can't be found?

Posted: Sat Aug 01, 2009 6:06 pm
by AlexAdams
I'm trying to use Mark Smith's libUUID in a project. On openStack in the splash stack I am trying to open the library file and then start using it, but I continually get a message saying it can't be found. Where should I put it? I have tried putting it in the same directory as the main project file and in the directory with the Revolution executable. I'm working on a Mac right now.

What's wrong with this code?

on openStack
go to stack "libUUID"
--hide stack "libUUID"
start using stack "libUUID"
end openStack

Thanks,

Posted: Sat Aug 01, 2009 10:35 pm
by Mark Smith
Alex, this may be a filename/stackname issue.

The Stack name is "libUUID", but the filename is probably "libUUID1.0.rev".

So the simplest thing might be to

go to stack "libUUID1.0.rev"
(In fact, you don't need to "go to" it before you "start using" it, so you could just have
start using stack "libUUID1.0.rev"

Once it's been loaded into memory, you can refer to it as stack "libUUID".

(You could also change the file name to just "libUUID", but I think it's better to keep the .rev suffix).

Best,

Mark Smith