Nevermind, fixed the "update" part and libmodbus installed.

Went back and tried sudo halcompile --install x200_vfd.comp

And same prob.  It's looking for stuff in the libmodbus's modbus.h but it's not seeing it somehow.

Danny

On 4/6/2022 7:31 PM, Danny Miller wrote:
OK I get:

Err:1 http://deb.debian.org/debian buster/main amd64 libmodbus-dev amd64 3.1.4-2 404 Not Found [IP: 151.101.50.132 80]

E: Failed to fetch http://deb.debian.org/debian/pool/main/libm/libmodbus/libmodbus-dev_3.1.3-2_amd64.deb 404 Not Found [IP: 151.101.50.132 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Danny

On 4/6/2022 9:29 AM, andy pugh wrote:
On Wed, 6 Apr 2022 at 03:09, Danny Miller <dan...@austin.rr.com> wrote:

https://github.com/stephane/libmodbus IS the correct one.
wj_200_vfd.comp is a "comp" file, which means that it should compile
and install with just "sudo halcompile --install filename.comp"

it contains "#include <modbus.h>"  which will be looking in
/usr/include on your system.

I think that what you probably need to do is install libmodbus:

sudo apt-get install libmodbus-dev



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to