title: make ATIDAQ C Library
body: <p>For whatever reason after <a href="http://www.ati-ia.com/library/software/daq_ft/ATIDAQ%20C%20Library.zip" rel="nofollow">download</a>ing the <a href="http://www.ati-ia.com/Products/ft/software/daq_software.aspx" rel="nofollow">ATIDAQ C Library</a> I am not able to even make their stock examples. The file structure looks as such:</p>
  
  <pre><code>├── ATIDAQ
  │   ├── ascii.h
  │   ├── asciitab.h
  │   ├── dom.c
  │   ├── dom.h
  │   ├── events.c
  │   ├── expatls.c
  │   ├── ftconfig.c
  │   ├── ftconfig.h
  │   ├── ftrt.c
  │   ├── ftrt.h
  │   ├── ftsharedrt.h
  │   ├── iasciitab.h
  │   ├── latin1tab.h
  │   ├── nametab.h
  │   ├── node.c
  │   ├── stack.c
  │   ├── stack.h
  │   ├── utf8tab.h
  │   ├── xmldef.h
  │   ├── xmlparse.c
  │   ├── xmlparse.h
  │   ├── xmlrole.c
  │   ├── xmlrole.h
  │   ├── xmltok.c
  │   ├── xmltok.h
  │   ├── xmltok_impl.c
  │   ├── xmltok_impl.h
  │   └── xmltok_ns.c
  ├── readme.txt
  └── Samples
      ├── calinfo.c
      ├── ftconvert.c
      └── makefile
  </code></pre>
  
  <h2>readme file mentions:</h2>
  
  <p>The following files should be compiled as part of your project: ftconfig.c ftrt.c dom.c expatls.c node.c stack.c xmlparse.c xmlrole.c xmltok.c</p>
  
  <p>In addition to the above files, the files "events.c", "xmltok_impl.c", and 
  "xmltok_ns.c" are also included in this library, but are not meant to be
  directly compiled, as they are '#include'd into other library files.</p>
  
  <p>None of these files are intended to be modified.</p>
  
  <p>But there is a makefile already created which looks as such:</p>
  
  <pre><code>#makefile for ftconvert and calinfo
  #use 'make ftconvert' to make ftconvert sample and 'make calinfo' to make calinfo
  #uses gcc, needs modifications for other compilers.
  object_compile = gcc -c
  exe_compile = gcc -o
  remove_command = rm
  ftconvert: ftconvert.o ftconfig.o ftrt.o dom.o expatls.o node.o stack.o xmlparse.o xmlrole.o xmltok.o
      $(exe_compile) ftconvert.exe ftconvert.o ftconfig.o ftrt.o dom.o expatls.o node.o stack.o xmlparse.o xmlrole.o xmltok.o
  ftconvert.o: ftconvert.c ../atidaq/ftconfig.h 
      $(object_compile) ftconvert.c
  ftconfig.o: ../atidaq/ftconfig.c ../atidaq/ftconfig.h
      $(object_compile) ../atidaq/ftconfig.c
  ftrt.o: ../atidaq/ftrt.c ../atidaq/ftrt.h  ../atidaq/ftsharedrt.h
      $(object_compile) ../atidaq/ftrt.c
  dom.o: ../atidaq/dom.c
      $(object_compile) ../atidaq/dom.c
  expatls.o: ../atidaq/expatls.c
      $(object_compile) ../atidaq/expatls.c
  node.o: ../atidaq/node.c
      $(object_compile) ../atidaq/node.c
  stack.o: ../atidaq/stack.c
      $(object_compile) ../atidaq/stack.c
  xmlparse.o: ../atidaq/xmlparse.c
      $(object_compile) ../atidaq/xmlparse.c
  xmlrole.o: ../atidaq/xmlrole.c
      $(object_compile) ../atidaq/xmlrole.c
  xmltok.o: ../atidaq/xmltok.c
      $(object_compile) ../atidaq/xmltok.c
  calinfo: calinfo.o ftconfig.o ftrt.o dom.o expatls.o node.o stack.o xmlparse.o xmlrole.o xmltok.o
      $(exe_compile) calinfo.exe calinfo.o ftconfig.o ftrt.o dom.o expatls.o node.o stack.o xmlparse.o xmlrole.o xmltok.o
  calinfo.o: calinfo.c ../atidaq/ftconfig.h
      $(object_compile) calinfo.c
  clean:
      $(remove_command) *.o *.exe
  </code></pre>
  
  <p>running the command: <code>make ftconvert</code> yields the error:</p>
  
  <pre><code>gcc -c ftconvert.c
  ftconvert.c:35:32: fatal error: ..\atidaq\ftconfig.h: No such file or directory
  compilation terminated.
  make: *** [ftconvert.o] Error 1
  </code></pre>
  
  <p>Not sure what I am missing here or why I can't even get the stock example to work</p>