Hello World not installing

Moderators: LCMark, LCfraser

Post Reply
trevix
Posts: 454
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Hello World not installing

Post by trevix » Thu Mar 28, 2019 6:31 pm

I managed to follow the lesson for building an extension with LC builder.
OSX 10.14.3 LC 9.0.4(RC1) Indy
The library gets loaded on test and works

library community.livecode.elanorb.helloworld
metadata version is "1.0.0"
public handler SayHello()
return "Hello World!"
end handler
end library

When I try to install the library I get the following:
Schermata 2019-03-28 alle 18.26.36.png
If i remove line 2 I get the following:

Any help? Thanks
Attachments
Schermata 2019-03-28 alle 18.30.10.png
Trevix

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 586
Joined: Fri Feb 06, 2015 4:03 pm

Re: Hello World not installing

Post by LiveCode_Panos » Thu Mar 28, 2019 7:38 pm

Hello Trevix,

I think you need to add some more metadata, for example:

Code: Select all

metadata author is "trevix"
metadata title is "testlib"
However the error should have been more descriptive. If you don't mind, could you file a bug report about this?

Kind regards,
Panos
--

trevix
Posts: 454
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Hello World not installing

Post by trevix » Thu Mar 28, 2019 8:47 pm

You know it all !!

Adding the two lines, works fine. Thanks
Trevix

Post Reply

Return to “LiveCode Builder”