Phidget Spatial Data Logging in excel

C, C++, and Visual C++
Post Reply
deep3694
Fresh meat
Posts: 1
Joined: Wed Jun 07, 2017 11:30 am
Contact:

Phidget Spatial Data Logging in excel

Post by deep3694 »

Hello guys,
I am trying to follow the steps shown on the website for C++ for phidget spatial data logging.
I am using windows 10 64 bit and I have installed all the necessary drivers and libraries.
I am trying to compile using latest version of Cygwin.

However when I am trying to compile it I am getting following error:
Deep@DESKTOP-ILBUL8L ~
$ cd "/cygdrive/c/Program Files/Phidgets"

Deep@DESKTOP-ILBUL8L /cygdrive/c/Program Files/Phidgets
$ gcc sample_code.c -lphidget21 -o sample_code
sample_code.c:6:0: warning: "__stdcall" redefined
#define __stdcall
^
<built-in>: note: this is the location of the previous definition
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lphidget21
collect2: error: ld returned 1 exit status


I have tried putting a space between l and phidget21 but its not working.
Please help me out in overcoming this error, I am new to this so if you know how to overcome please answer in simple steps. Thank you.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 20 guests