p4lang / tdi

Table-Driven Interface (TDI) for a P4-programmable backend device.
Apache License 2.0
40 stars 23 forks source link

Error building TDI #84

Closed Dscano closed 2 years ago

Dscano commented 2 years ago

Hi,

I'm trying to build TDI but i get this error, do you have any clue to solve it? Screenshot from 2022-08-08 17-56-04

weiqiand commented 2 years ago

Look like your environment missing the expat lib.

  1. for fedora, dnf install expat-devel.
  2. for ubuntu, apt-get instal libexpat1-dev.

or run the python tools/setup/install_dep.py for all the missing packages in your build machine. Regards, Weiqian

Dscano commented 2 years ago

Thank you so muck, it works!