1

eosiocpp finds eosio.hpp(compile runs perfect), but I can't find eosio.hpp on file-system(using macOS)

enter image description here

enter image description here

1
  • How did you install eos? Have you tried searching from the root directory, i.e. sudo find / -name eosio.hpp? Commented Aug 30, 2018 at 4:53

1 Answer 1

1

Try to formulate a question, like:

"How to find eosio.hpp on the file-system?"

Now, the answer:

I recently used this here:

laz@laz-vb:~$ locate eosio.hpp
/home/laz/eos/contracts/eosiolib/eosio.hpp

To be sure its the filed that eosiocpp uses, just open it with an editor, then type some random chars in it. Using eosiocpp now should result in some errors.

2
  • As you can see from second picture, locate command returns two eosio.hpp But only one exists....
    – n3wbie
    Commented Aug 30, 2018 at 3:41
  • 1
    This would be linux/unix specific. try sudo updatedb see: superuser.com/questions/387638/…
    – Lazaridis
    Commented Aug 30, 2018 at 4:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.