Once you've installed it, you should refer to the header files in your source code like this:
Then compile like this:Code:#include <soem/osal.h> #include <soem/oshw.h>
(Note that -l is a lowercase L)Code:gcc yourprog.c -o yourprog -lsoem
Once you've installed it, you should refer to the header files in your source code like this:
Then compile like this:Code:#include <soem/osal.h> #include <soem/oshw.h>
(Note that -l is a lowercase L)Code:gcc yourprog.c -o yourprog -lsoem
A little inaccuracy saves tons of explanation. - H.H. Munro