Basic EOS Programming - Discussion

Welcome to the discussion thread about this lecture section. Here you can feel free to discuss the topic at hand and ask questions.

I keep getting the errors below. Someone please help.

8 errors generated.
Error while processing /tmp/projects/5db7ea85efa97e003e055dab/src/helloworld.cpp.
abigen error
Warning, empty ricardian clause file
Warning, empty ricardian clause file
Warning, action does not have a ricardian contract

What’s the error in the red popup?

Hi mawa I have a similar issue . will post mine in the discussion.
in the meantime . did you manage to sort it out ?

JJ.

Hi Guys,

this is the error I have on the redbox.
Any help is welcome :wink:
thanks.

/project/src/helloworld.cpp:3:20: error: out-of-line definition of ‘hi’ does not match any declaration in ‘helloworld’
ACTION helloworld::hi(name user){

1 error generated.

Error while processing /project/src/helloworld.cpp.
abigen error
Warning, empty ricardian clause file
Warning, empty ricardian clause file
Warning, action does not have a ricardian contract
Warning, action does not have a ricardian contract
Warning, action does not have a ricardian contract

I assume this happens when you compile? Can you share your code here, both the cpp and the hpp file, please :slight_smile:

Hi Filip,

this is sorted
I was using the latest EOS studio version and CDT 1.6.3 ( not 1.6.2 ) like in the course.
The file include/helloworld.hpp has changed between CDT 1.6.2 and 1.6.3.
I am using now exactly the same EOS studio as in the course

Hmm, so you had to rewrite the hpp file? I’m trying to figure out how we can avoid other students facing this issue.