eosiocpp finds eosio.hpp(compile runs perfect), but I can't find eosio.hpp on file-system(using macOS)
1 Answer
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.
-
As you can see from second picture, locate command returns two eosio.hpp But only one exists....– n3wbieCommented Aug 30, 2018 at 3:41
-
1This would be linux/unix specific. try sudo updatedb see: superuser.com/questions/387638/… Commented Aug 30, 2018 at 4:44
eos
? Have you tried searching from the root directory, i.e.sudo find / -name eosio.hpp
?