Jump to content
  • 0

How do I compile dwfcmd.h


Daniel Rech

Question

2 answers to this question

Recommended Posts

Hi Daniel,

I guess you haven't specified the include and library paths?

Well this is what seems to work here:

# copy to /tmp and cd to it so we are able to write as normal user
$ cp -r /usr/share/digilent/waveforms/samples/dwfcmd /tmp/ && cd /tmp/dwfcmd

# actual compile
$ g++ -o dwfcmd dwfcmd.cpp -I/usr/include/digilent/waveforms/ -ldwf

BTW: Have you seen this github repository? https://github.com/michael-christen/digilent_interface

HTH

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...