- Posts: 58
- Thank you received: 0
cannot find -lemchal
9 years 4 months ago #94720
by BigDo
cannot find -lemchal was created by BigDo
Hi guys!
I am trying to compile a hal component for my VFD (Telemecanique | Schneider Electric Altivar 28) but I get an error
gcc -o atv_vfd .o/atv_vfd.o .o/modbus.o -Wl,-rpath,/usr/lib -L/usr/lib -lemchal -lglib-2.0
/usr/bin/ld: cannot find -lemchal
What is the equivalent of -lemchal(emchal) for LinuxCNC?
regards
I am trying to compile a hal component for my VFD (Telemecanique | Schneider Electric Altivar 28) but I get an error
gcc -o atv_vfd .o/atv_vfd.o .o/modbus.o -Wl,-rpath,/usr/lib -L/usr/lib -lemchal -lglib-2.0
/usr/bin/ld: cannot find -lemchal
What is the equivalent of -lemchal(emchal) for LinuxCNC?
regards
Please Log in to join the conversation.
9 years 4 months ago #94748
by andypugh
Replied by andypugh on topic cannot find -lemchal
You _might_ be able to use halcompile to compile the component, if it is written in C.
It's probably at least worth a try.
This forum post here is using halcompile:
forum.linuxcnc.org/24-hal-components/289...ivar-vfd-modbus-comp
And that ends up using
in the command line.
It's probably at least worth a try.
This forum post here is using halcompile:
forum.linuxcnc.org/24-hal-components/289...ivar-vfd-modbus-comp
And that ends up using
Code:
-llinuxcnchal
Please Log in to join the conversation.
- christian99x
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
9 years 2 weeks ago #100263
by christian99x
Replied by christian99x on topic cannot find -lemchal
Did you successfully compile the module and is it working? I'm trying to set it up, but only the start(stop command is wokring, not the speed command (spindle always running at lowest speed).
Cheers!
Cheers!
Please Log in to join the conversation.
Time to create page: 0.077 seconds
