Phidget Spatial Data Logging in excel

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

Phidget Spatial Data Logging in excel

Postby deep3694 » Wed Jun 07, 2017 12:01 pm

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:
$ 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.

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 1 guest