• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting example cifxlinuxsample.c on Raspberry Pi
#2
Hi Christian,

the documentation on page 11 says that you have to install the driver package on your target system as well. This package installs the library and missing header files next to the driver in the installation folder

Code:
/usr/include/cifx/

If you later compile the example yourself you have to tell the compiler the location of the header files where to search them. So a command line with GNU compiler could look like


Code:
gcc cifxlinuxsample.c -o cifxlinuxsample -I/usr/include/cifx -lcifx

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: Starting example cifxlinuxsample.c on Raspberry Pi - by Armin@netPI - December-2nd-2019, 11:44 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Raspberry Pi + NetHat_Kommunikation über OPC UA Whatzittoya13 1 93 December-11th-2018, 10:59 AM
Last Post: Simon@netHAT

Forum Jump:


Users browsing this thread: 1 Guest(s)