I downloaded digilent.waveforms_3.2.6_armhf.deb and installed it on my system.
The "dwfcmd" command is working fine and the python examples also work.
Now I want to compile the C examples and I keep getting errors:
analogin_trigger.c:(.text+0x74): undefined reference to `FDwfDeviceOpen'
analogin_trigger.c:(.text+0x9c): undefined reference to `FDwfGetLastErrorMsg'
analogin_trigger.c:(.text+0xd4): undefined reference to `FDwfAnalogInFrequencySet'
analogin_trigger.c:(.text+0xec): undefined reference to `FDwfAnalogInBufferSizeSet'
analogin_trigger.c:(.text+0x110): undefined reference to `FDwfAnalogInChannelEnableSet'
analogin_trigger.c:(.text+0x128): undefined reference to `FDwfAnalogInChannelRangeSet'
analogin_trigger.c:(.text+0x13c): undefined reference to `FDwfAnalogInTriggerAutoTimeoutSet'
analogin_trigger.c:(.text+0x154): undefined reference to `FDwfAnalogInTriggerSourceSet'
analogin_trigger.c:(.text+0x168): undefined reference to `FDwfAnalogInTriggerTypeSet'
analogin_trigger.c:(.text+0x17c): undefined reference to `FDwfAnalogInTriggerChannelSet'
analogin_trigger.c:(.text+0x190): undefined reference to `FDwfAnalogInTriggerLevelSet'
analogin_trigger.c:(.text+0x1a4): undefined reference to `FDwfAnalogInTriggerConditionSet'
analogin_trigger.c:(.text+0x1f4): undefined reference to `FDwfAnalogInConfigure'
analogin_trigger.c:(.text+0x208): undefined reference to `FDwfAnalogInStatus'
analogin_trigger.c:(.text+0x248): undefined reference to `FDwfAnalogInStatusData'
analogin_trigger.c:(.text+0x2dc): undefined reference to `FDwfDeviceCloseAll'
I used clang and gcc to build the analogin_trigger.c sample:
Question
Daniel Rech
Hi everyone,
I downloaded digilent.waveforms_3.2.6_armhf.deb and installed it on my system.
The "dwfcmd" command is working fine and the python examples also work.
Now I want to compile the C examples and I keep getting errors:
I used clang and gcc to build the analogin_trigger.c sample:
clang analogin_trigger.c
Where is my mistake?
Link to comment
Share on other sites
18 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.