cannot find -lemchal
20 Jun 2017 09:52 - 20 Jun 2017 09:53 #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
Last edit: 20 Jun 2017 09:53 by BigDo.
Please Log in or Create an account to join the conversation.
20 Jun 2017 23:04 #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 usingin 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
-llinuxcnchal
The following user(s) said Thank You: BigDo
Please Log in or Create an account to join the conversation.
- christian99x
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
12 Oct 2017 11:15 #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 or Create an account to join the conversation.
Time to create page: 0.067 seconds