xl4-shiro / excelfore-gptp

gPTP, IEEE 802.1AS-REV implementation
GNU General Public License v2.0
62 stars 38 forks source link

how to get gptp clock values #11

Closed ibpswyz closed 2 years ago

ibpswyz commented 2 years ago

Hello, this project is great and it has run on my machines successfully. Now, I try to get gptp clock values by using function 'gptpmasterclock_getts64()', but failed. I have done these:

  1. in the folder 'excelfore-gptp-master/build', 'make install' has been done
  2. a simple process including 'gptpmasterclock.h', the library file 'libx4gptp2.so' is specied when compiling. here is the result: fatal error: gptpmasterclock.h: no such file or directory Are my steps correct? if right, where is the problem? if not, what should I do next? Thanks a lot