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

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

1 Answer 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

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.

  • As you can see from second picture, locate command returns two eosio.hpp But only one exists....
    – n3wbie
    Aug 30, 2018 at 3:41
  • 1
    This would be linux/unix specific. try sudo updatedb see: superuser.com/questions/387638/…
    – Lazaridis
    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.